:root {
  --ink: #101820;
  --ink-soft: #24303a;
  --fog: #f4f6f8;
  --mist: #e4eaee;
  --signal: #146c5f;
  --signal-bright: #1a8a78;
  --signal-deep: #0a5c4d;
  --paper: #fcfcfb;
  --line: rgba(16, 24, 32, 0.1);
  --font-display: "Clash Display", "Segoe UI", sans-serif;
  --font-body: "Satoshi", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body.is-loading {
  overflow: hidden;
}

body.menu-open .nav-shell {
  z-index: 80;
}

body.menu-open .nav-cta {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

::selection {
  background: rgba(20, 108, 95, 0.18);
  color: var(--ink);
}

img {
  max-width: 100%;
  display: block;
}

/* ——— Loader ——— */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(26, 138, 120, 0.18), transparent 60%),
    #0c1218;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.page-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.page-loader-logo {
  width: min(200px, 52vw);
  height: auto;
  animation: loader-logo 1.4s ease-in-out infinite;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.35));
}

.page-loader-bar {
  position: relative;
  width: 88px;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.page-loader-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--signal-bright), transparent);
  animation: loader-bar 1.1s ease-in-out infinite;
}

@keyframes loader-logo {
  0%, 100% { opacity: 0.72; transform: scale(0.97); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes loader-bar {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(280%); }
}

/* ——— Atmosphere ——— */
.bg-soft {
  background:
    radial-gradient(ellipse 90% 55% at 0% 0%, rgba(20, 108, 95, 0.09), transparent 55%),
    radial-gradient(ellipse 70% 45% at 100% 10%, rgba(16, 24, 32, 0.05), transparent 50%),
    linear-gradient(180deg, #f4f6f8 0%, #fcfcfb 100%);
}

.bg-grain {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
}

.section-deep {
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(26, 138, 120, 0.22), transparent 50%),
    linear-gradient(160deg, #0e161c 0%, #152028 55%, #101820 100%);
}

.eyebrow {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--signal);
}

.eyebrow::before {
  content: "";
  width: 1.4rem;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.eyebrow-light {
  color: var(--signal-bright);
}

.philosophy {
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(26, 138, 120, 0.2), transparent 55%),
    linear-gradient(165deg, #0c1218 0%, #141c24 48%, #0e161c 100%);
  color: #fff;
}

.philosophy-glow {
  position: absolute;
  left: 50%;
  top: 30%;
  width: 28rem;
  height: 28rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 138, 120, 0.16), transparent 68%);
  filter: blur(20px);
  pointer-events: none;
}

.quote-block {
  position: relative;
  padding: 1.5rem 1rem 0;
}

.quote-mark {
  display: block;
  margin-bottom: 0.25rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 4.5rem;
  line-height: 0.7;
  color: rgba(26, 138, 120, 0.55);
}

.philosophy-pillars {
  list-style: none;
  margin: 0;
  padding: 0;
}

.philosophy-pillars li {
  position: relative;
  padding: 1.4rem 1.3rem;
  border-radius: 1.15rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease, border-color 0.3s ease;
}

.philosophy-pillars li::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 138, 120, 0.22), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.philosophy-pillars li:hover {
  transform: translateY(-5px);
  background: linear-gradient(160deg, rgba(26, 138, 120, 0.18), rgba(255, 255, 255, 0.04));
  border-color: rgba(26, 138, 120, 0.4);
}

.philosophy-pillars li:hover::after {
  opacity: 1;
}

.pillar-num {
  display: block;
  margin-bottom: 0.65rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--signal-bright);
}

.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
  opacity: 0.55;
}

.orb-a {
  width: 16rem;
  height: 16rem;
  top: 10%;
  right: -4rem;
  background: rgba(26, 138, 120, 0.18);
}

.orb-b {
  width: 22rem;
  height: 22rem;
  bottom: -6rem;
  left: -6rem;
  background: rgba(26, 138, 120, 0.2);
}

.orb-c {
  width: 18rem;
  height: 18rem;
  top: 20%;
  right: -5rem;
  background: rgba(20, 108, 95, 0.12);
}

.media-frame {
  position: relative;
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0.85rem -0.85rem -0.85rem 0.85rem;
  border: 1px solid rgba(20, 108, 95, 0.28);
  border-radius: 1.35rem;
  z-index: 0;
}

.media-frame .tilt-scene {
  position: relative;
  z-index: 1;
}

.media-seal {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(10, 14, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.text-signal-glow {
  position: relative;
  display: inline-block;
  isolation: isolate;
}

.text-signal-glow::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 0.28em;
  background: rgba(26, 138, 120, 0.28);
  z-index: -1;
  transform: skewX(-12deg);
  pointer-events: none;
}

/* Ticker */
.ticker {
  overflow: hidden;
  border-block: 1px solid rgba(16, 24, 32, 0.08);
  background:
    linear-gradient(90deg, rgba(20, 108, 95, 0.06), rgba(243, 226, 176, 0.08), rgba(20, 108, 95, 0.06));
  padding: 0.85rem 0;
}

.ticker-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(16, 24, 32, 0.45);
  animation: ticker-move 28s linear infinite;
}

.ticker-track span:nth-child(odd) {
  color: rgba(20, 108, 95, 0.7);
}

@keyframes ticker-move {
  to { transform: translateX(-50%); }
}

.philosophy-watermark {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.5rem, 14vw, 10rem);
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.035);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.quote-text {
  background: linear-gradient(120deg, #fff 20%, rgba(167, 232, 210, 0.92) 55%, #fff 90%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: quote-shine 6s ease-in-out infinite;
}

@keyframes quote-shine {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.service-stack .service-row {
  position: relative;
  padding-inline: 1rem;
  border-radius: 1rem;
  overflow: hidden;
}

.service-stack .service-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, var(--signal-bright), transparent);
  transform: scaleY(0.4);
  opacity: 0.35;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.service-stack .service-row:hover::before {
  transform: scaleY(1);
  opacity: 1;
}

.service-stack .service-row:hover h3 {
  color: var(--signal-deep);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.45rem;
  min-width: 2rem;
  height: 1.6rem;
  padding: 0 0.45rem;
  border-radius: 0.45rem;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--signal);
  background: rgba(20, 108, 95, 0.1);
  border: 1px solid rgba(20, 108, 95, 0.14);
}

.stat-chip {
  padding: 1.15rem 1rem;
  border-radius: 1.1rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.62));
  border: 1px solid rgba(16, 24, 32, 0.08);
  box-shadow:
    0 12px 30px rgba(16, 24, 32, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.stat-chip:hover {
  transform: translateY(-3px);
  border-color: rgba(20, 108, 95, 0.22);
  box-shadow: 0 18px 36px rgba(16, 24, 32, 0.1);
}

.cta-band {
  position: relative;
  background:
    radial-gradient(ellipse 70% 120% at 10% 50%, rgba(26, 138, 120, 0.1), transparent 55%),
    linear-gradient(180deg, #f7f9fa 0%, #eef3f5 100%);
  border-top: 1px solid rgba(16, 24, 32, 0.06);
  border-bottom: 1px solid rgba(16, 24, 32, 0.06);
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -8%;
  top: 50%;
  width: min(28rem, 55vw);
  height: min(28rem, 55vw);
  transform: translateY(-50%);
  border-radius: 50%;
  border: 1px solid rgba(20, 108, 95, 0.12);
  pointer-events: none;
  animation: cta-ring 14s linear infinite;
}

@keyframes cta-ring {
  to { transform: translateY(-50%) rotate(360deg); }
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  border-radius: 0.7rem;
  padding: 0.9rem 1.3rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.service-idx {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--signal);
}

.service-arrow {
  text-align: right;
  color: rgba(16, 24, 32, 0.25);
  transition: transform 0.3s ease, color 0.3s ease;
}

.service-3d:hover .service-arrow {
  color: var(--signal);
  transform: translateX(4px);
}

.text-link {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.text-link:hover {
  opacity: 0.8;
  transform: translateX(3px);
}

/* Portfolio / Referanslar */
.portfolio-watermark {
  position: absolute;
  right: -2%;
  top: 18%;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4rem, 16vw, 11rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.03);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  pointer-events: none;
  user-select: none;
}

.portfolio-head {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .portfolio-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.portfolio-count {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1.25rem;
  border-radius: 1.1rem;
  background: linear-gradient(145deg, rgba(26, 138, 120, 0.18), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(26, 138, 120, 0.28);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  min-width: 10rem;
}

.portfolio-count-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
}

.portfolio-count-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.4rem;
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.portfolio-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (max-width: 767px) {
  .portfolio-item--featured {
    grid-column: span 2;
  }

  .portfolio-item--featured .ref-card {
    min-height: 14rem;
  }
}

@media (min-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
  }

  .portfolio-item--featured {
    grid-column: span 3;
    grid-row: span 2;
  }

  .portfolio-item:not(.portfolio-item--featured) {
    grid-column: span 3;
  }

  .portfolio-item:not(.portfolio-item--featured):nth-child(n + 4) {
    grid-column: span 2;
  }
}

@media (min-width: 1100px) {
  .portfolio-item--featured {
    grid-column: span 3;
  }

  .portfolio-item:not(.portfolio-item--featured) {
    grid-column: span 3;
  }

  .portfolio-item:not(.portfolio-item--featured):nth-child(n + 4) {
    grid-column: span 2;
  }
}

.ref-card {
  position: relative;
  height: 100%;
  min-height: 11.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.15rem;
  border-radius: 1.25rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(26, 138, 120, 0.16), transparent 50%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.portfolio-item--featured .ref-card {
  min-height: 100%;
  padding: 1.5rem;
  background:
    radial-gradient(ellipse 70% 55% at 90% 10%, rgba(26, 138, 120, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(243, 226, 176, 0.08), transparent 50%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
}

.ref-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, transparent 40%, rgba(255, 255, 255, 0.08) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
  pointer-events: none;
}

.group:hover .ref-card {
  transform: translateY(-6px);
  border-color: rgba(26, 138, 120, 0.45);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(26, 138, 120, 0.12);
}

.group:hover .ref-card::before {
  transform: translateX(120%);
}

.ref-card-index {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.28);
}

.ref-card-tag {
  align-self: flex-start;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(167, 232, 210, 0.9);
  background: rgba(26, 138, 120, 0.16);
  border: 1px solid rgba(26, 138, 120, 0.28);
}

.ref-card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 5.5rem;
  padding: 1rem 0.5rem;
}

.portfolio-item--featured .ref-card-logo {
  min-height: 10rem;
  padding: 1.5rem 1rem;
}

.ref-card-logo img {
  max-width: 72%;
  max-height: 4.8rem;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(1.05) contrast(1.02);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.portfolio-item--featured .ref-card-logo img {
  max-height: 7.5rem;
  max-width: 68%;
}

.group:hover .ref-card-logo img {
  transform: scale(1.06);
  filter: brightness(1.12) contrast(1.05);
}

.ref-card-meta h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.92);
}

.ref-card-meta p {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.48);
}

.portfolio-item--featured .ref-card-meta h3 {
  font-size: 1.35rem;
}

.contact-aside-note {
  margin: 0 0 0.35rem;
  padding-left: 0.15rem;
}

.info-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.15rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(16, 24, 32, 0.07);
  box-shadow: 0 8px 24px rgba(16, 24, 32, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.info-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(16, 24, 32, 0.08);
}

.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.75rem;
  flex-shrink: 0;
  color: var(--signal);
  background: rgba(20, 108, 95, 0.1);
}

.form-panel {
  padding: 1.5rem 1.35rem 1.75rem;
  border-radius: 1.35rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72));
  border: 1px solid rgba(16, 24, 32, 0.08);
  box-shadow:
    0 24px 55px rgba(16, 24, 32, 0.09),
    0 1px 0 rgba(255, 255, 255, 0.75) inset;
  backdrop-filter: blur(12px);
}

.form-panel-title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.field {
  display: block;
}

.field-label {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(16, 24, 32, 0.38);
}

@media (min-width: 768px) {
  .form-panel {
    padding: 2rem 2.1rem 2.25rem;
  }
}

.footer-bar {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bar::before {
  content: "CYBERRAUM";
  position: absolute;
  left: 50%;
  bottom: -0.35em;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  white-space: nowrap;
}

.back-top {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 55;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 0.85rem;
  color: #fff;
  font-size: 1.15rem;
  line-height: 1;
  text-decoration: none;
  background: linear-gradient(145deg, #1a8a78, #146c5f);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 28px rgba(16, 24, 32, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.25s ease;
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.back-top:hover {
  background: linear-gradient(145deg, #1f9b87, #167567);
  transform: translateY(-2px);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  perspective: 1200px;
}

.hero-media {
  position: absolute;
  inset: -4% -12%;
  z-index: 0;
  overflow: hidden;
  will-change: transform;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transform: scale(1.12) translate3d(0, 0, 0);
  will-change: transform;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 12, 16, 0.78) 0%, rgba(8, 12, 16, 0.22) 16%, transparent 34%),
    linear-gradient(105deg, rgba(8, 12, 16, 0.94) 0%, rgba(10, 16, 22, 0.78) 36%, rgba(10, 16, 22, 0.35) 66%, rgba(10, 16, 22, 0.22) 100%),
    linear-gradient(0deg, rgba(8, 12, 16, 0.7) 0%, transparent 42%);
}

.hero-depth {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 72% 58%, rgba(26, 138, 120, 0.22), transparent 60%),
    radial-gradient(ellipse 40% 30% at 18% 70%, rgba(243, 226, 176, 0.08), transparent 55%),
    linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.4));
  mix-blend-mode: soft-light;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 30% 55%, #000 20%, transparent 75%);
}

.hero-side-label {
  display: none;
}

@media (min-width: 1024px) {
  .hero-side-label {
    position: absolute;
    left: 1.6rem;
    top: 50%;
    z-index: 3;
    display: block;
    margin: 0;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: left center;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
    white-space: nowrap;
  }
}

.hero-ornament {
  position: absolute;
  right: 5%;
  top: 20%;
  z-index: 2;
  width: min(38vw, 340px);
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0.85;
  transform-origin: center;
  animation: ornament-pulse 3.4s ease-in-out infinite;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
}

.hero-ring--shine {
  inset: 8%;
  padding: 1.5px;
  background: conic-gradient(
    from 180deg,
    transparent 0%,
    transparent 18%,
    rgba(243, 226, 176, 0.05) 28%,
    #f3e2b0 34%,
    #e8a84a 38%,
    transparent 44%,
    transparent 68%,
    rgba(255, 255, 255, 0.08) 78%,
    #fff6d0 84%,
    transparent 90%,
    transparent 100%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: logo-live-spin 4.8s linear infinite;
  box-shadow: 0 0 28px rgba(243, 226, 176, 0.12);
}

.hero-ring--2 {
  inset: 0;
  border: 1px dashed rgba(26, 138, 120, 0.35);
  animation: ring-spin 42s linear infinite reverse;
}

.hero-greek {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding-left: 0.45em;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  letter-spacing: 0.45em;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.35) 0%,
    rgba(255, 255, 255, 0.35) 38%,
    #fff6d0 46%,
    #f3e2b0 50%,
    #e8a84a 54%,
    rgba(255, 255, 255, 0.35) 62%,
    rgba(255, 255, 255, 0.35) 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 18px rgba(243, 226, 176, 0.28));
  animation: greek-shine 3.6s ease-in-out infinite;
}

@keyframes ring-spin {
  to { transform: rotate(360deg); }
}

@keyframes logo-live-spin {
  to { transform: rotate(-360deg); }
}

@keyframes greek-shine {
  0%, 100% { background-position: 100% center; }
  50% { background-position: 0% center; }
}

@keyframes ornament-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes ornament-pulse-mobile {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.1); }
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.25rem;
  padding: 0.45rem 0.8rem 0.45rem 0.55rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.hero-kicker-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--signal-bright);
  box-shadow: 0 0 0 0 rgba(26, 138, 120, 0.55);
  animation: pulse-dot 2s ease-out infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(26, 138, 120, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(26, 138, 120, 0); }
  100% { box-shadow: 0 0 0 0 rgba(26, 138, 120, 0); }
}

@media (max-width: 900px) {
  .hero-ornament {
    right: auto;
    left: 50%;
    top: 12%;
    width: min(58vw, 220px);
    opacity: 0.55;
    animation-name: ornament-pulse-mobile;
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 7rem 1.25rem 4.75rem;
  transform-style: preserve-3d;
}

@media (min-width: 768px) {
  .hero-content {
    justify-content: center;
    padding: 6.5rem 2rem 5rem;
  }
}

.hero-scroll {
  position: absolute;
  z-index: 3;
  right: 1.25rem;
  bottom: 1.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 767px) {
  .hero-scroll {
    right: 1.25rem;
    width: 3.5rem;
  }
}

.hero-scroll:hover {
  color: #fff;
}

.hero-scroll-cue {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 1.1rem;
  height: 2.4rem;
}

.hero-scroll-stem {
  display: block;
  width: 1px;
  height: 1.55rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.55));
  border-radius: 999px;
}

.hero-scroll-flame {
  display: block;
  width: 7px;
  height: 7px;
  margin-top: 0.35rem;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: radial-gradient(circle at 40% 35%, #f3e2b0 0%, #1a8a78 55%, transparent 72%);
  box-shadow: 0 0 12px rgba(26, 138, 120, 0.55);
  animation: scroll-flame 1.7s ease-in-out infinite;
}

@keyframes scroll-flame {
  0%, 100% {
    opacity: 0.55;
    transform: translateY(0) scale(0.92);
  }
  50% {
    opacity: 1;
    transform: translateY(5px) scale(1.05);
  }
}

@media (min-width: 768px) {
  .hero-scroll {
    right: auto;
    left: 50%;
    bottom: 2rem;
    width: auto;
    transform: translateX(-50%);
  }

  .hero-scroll-cue {
    height: 2.7rem;
  }

  .hero-scroll-stem {
    height: 1.75rem;
  }
}

.hero-stack {
  max-width: 38rem;
  transform: translateZ(40px);
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  font-size: clamp(2.35rem, 7vw, 4.1rem);
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.4);
  min-height: 1.1em;
}

.hero-brand-text {
  white-space: pre;
}

.hero-mark {
  display: block;
  width: 3.25rem;
  height: 3px;
  margin-top: 1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--signal-bright), #f3e2b0);
  transform-origin: left;
  animation: grow-x 0.9s 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  box-shadow: 0 4px 16px rgba(26, 138, 120, 0.45);
}

.hero-lead {
  margin: 1.45rem 0 0;
  max-width: 30rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.2rem, 2.3vw, 1.5rem);
  font-style: italic;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* ——— Nav ——— */
.nav-shell {
  position: relative;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.nav-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 100%;
  min-height: 5.5rem;
  background: linear-gradient(180deg, rgba(8, 12, 16, 0.82) 0%, rgba(8, 12, 16, 0.45) 55%, transparent 100%);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.35s ease;
}

.nav-shell.is-scrolled::before {
  opacity: 0;
}

.nav-shell.is-scrolled {
  background: rgba(16, 24, 32, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.nav-inner {
  position: relative;
  z-index: 1;
  padding-top: 1.35rem;
  padding-bottom: 1.35rem;
  transition: padding 0.35s ease;
}

.nav-shell.is-scrolled .nav-inner {
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

/* Desktop menu */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .nav-end {
    gap: 0.75rem;
  }

  .desktop-nav {
    display: flex;
  }

  .menu-btn {
    display: none !important;
  }

  .mobile-panel {
    display: none !important;
  }
}

.desktop-nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-shell.is-scrolled .desktop-nav-links {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.nav-shell .nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.nav-shell .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.35rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--signal-bright);
  transform: translateX(-50%);
  transition: width 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-shell .nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-shell .nav-link:hover::after,
.nav-shell .nav-link.is-active::after {
  width: 1.1rem;
}

.nav-shell .nav-link.is-active {
  color: #fff;
  background: rgba(26, 138, 120, 0.18);
}

.nav-shell.is-scrolled .nav-link {
  text-shadow: none;
}

.nav-shell .nav-cta.btn-live {
  border-radius: 999px;
  padding: 2px;
  font-size: 0.82rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .nav-shell .nav-cta.btn-live {
    font-size: 0.88rem;
  }
}

.nav-shell .nav-cta.btn-live::after {
  border-radius: 999px;
}

.nav-shell .nav-cta-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  background: linear-gradient(145deg, #1a8a78, #146c5f);
  color: #fff;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .nav-shell .nav-cta-inner {
    padding: 0.65rem 1.15rem;
  }
}

.nav-shell .nav-cta-inner::after {
  content: "→";
  font-weight: 500;
  transition: transform 0.25s ease;
}

.nav-shell .nav-cta.btn-live:hover .nav-cta-inner {
  background: linear-gradient(145deg, #1f9b87, #167567);
}

.nav-shell .nav-cta.btn-live:hover .nav-cta-inner::after {
  transform: translateX(2px);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
}

.nav-logo {
  display: block;
  width: auto;
  height: 2.85rem;
  transition: height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 768px) {
  .nav-logo {
    height: 3.65rem;
  }
}

.nav-shell.is-scrolled .nav-logo {
  height: 2.1rem;
}

@media (min-width: 768px) {
  .nav-shell.is-scrolled .nav-logo {
    height: 2.35rem;
  }
}

.logo-live {
  display: inline-flex;
  text-decoration: none;
}

.logo-live-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-btn {
  display: inline-flex;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
  color: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.menu-btn:hover,
.menu-btn:focus,
.menu-btn:focus-visible,
.menu-btn.is-active {
  border: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
}

.menu-btn-bars {
  position: relative;
  display: block;
  width: 28px;
  height: 20px;
}

.menu-btn-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2.5px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease, top 0.35s ease, width 0.35s ease;
}

.menu-btn-bars span:nth-child(1) {
  top: 0;
}

.menu-btn-bars span:nth-child(2) {
  top: 9px;
  width: 72%;
}

.menu-btn-bars span:nth-child(3) {
  top: 18px;
  width: 88%;
}

.menu-btn.is-active .menu-btn-bars span {
  width: 100%;
}

.menu-btn.is-active .menu-btn-bars span:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}

.menu-btn.is-active .menu-btn-bars span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-btn.is-active .menu-btn-bars span:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
}

/* ——— Mobile menu ——— */
.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  visibility: hidden;
}

.mobile-panel.is-open {
  pointer-events: auto;
  visibility: visible;
}

.mobile-panel-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 14, 0.55);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mobile-panel.is-open .mobile-panel-backdrop {
  opacity: 1;
}

.mobile-panel-sheet {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 22.5rem);
  height: 100%;
  transform: translate3d(104%, 0, 0) rotateY(-18deg);
  transform-origin: left center;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  perspective: 1000px;
}

.mobile-panel.is-open .mobile-panel-sheet {
  transform: translate3d(0, 0, 0) rotateY(0deg);
}

.mobile-panel-inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 5.5rem 1.5rem 2rem;
  background:
    linear-gradient(160deg, rgba(28, 40, 50, 0.96) 0%, rgba(14, 20, 26, 0.98) 55%, rgba(10, 14, 18, 1) 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    -24px 0 60px rgba(0, 0, 0, 0.45),
    inset 1px 0 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transform-style: preserve-3d;
}

.mobile-panel-glow {
  position: absolute;
  top: -20%;
  right: -30%;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 138, 120, 0.35), transparent 68%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

.mobile-panel-label {
  position: relative;
  z-index: 1;
  margin: 0 0 1.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.mobile-nav {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.1rem;
  border-radius: 1rem;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translate3d(28px, 0, 0) rotateY(-12deg);
  opacity: 0;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s ease,
    background 0.25s ease,
    border-color 0.25s ease;
  transition-delay: calc(var(--i, 0) * 0.06s);
}

.mobile-panel.is-open .mobile-nav-link {
  transform: translate3d(0, 0, 0) rotateY(0);
  opacity: 1;
}

.mobile-nav-link:active {
  transform: translate3d(0, 2px, 0) scale(0.98);
}

.mobile-nav-link--accent {
  background: linear-gradient(145deg, rgba(26, 138, 120, 0.35), rgba(20, 108, 95, 0.15));
  border-color: rgba(26, 138, 120, 0.35);
}

.mobile-nav-idx {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
  min-width: 1.5rem;
}

.mobile-panel-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease 0.25s, transform 0.4s ease 0.25s;
}

.mobile-panel.is-open .mobile-panel-foot {
  opacity: 1;
  transform: none;
}

/* ——— 3D pieces ——— */
.btn-3d {
  box-shadow:
    0 10px 24px rgba(20, 108, 95, 0.35),
    0 2px 0 rgba(255, 255, 255, 0.12) inset;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-3d:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 32px rgba(20, 108, 95, 0.4),
    0 2px 0 rgba(255, 255, 255, 0.14) inset;
}

.btn-solid {
  border: 0;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
  box-shadow:
    0 10px 28px rgba(20, 108, 95, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.btn-solid:hover {
  background: #146c5f;
  transform: translateY(-2px);
  box-shadow:
    0 16px 34px rgba(20, 108, 95, 0.5),
    0 0 22px rgba(26, 138, 120, 0.35);
}

.btn-solid-ink {
  border: 0;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
  box-shadow:
    0 10px 28px rgba(16, 24, 32, 0.22),
    0 0 0 1px rgba(16, 24, 32, 0.08);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.btn-solid-ink:hover {
  background: #24303a;
  transform: translateY(-2px);
  box-shadow:
    0 16px 34px rgba(16, 24, 32, 0.28),
    0 0 22px rgba(26, 138, 120, 0.2);
}

/* Dönen canlı border — İletişim */
.btn-live {
  position: relative;
  display: inline-flex;
  isolation: isolate;
  border: 0;
  border-radius: 0.7rem;
  padding: 2px;
  margin: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  box-shadow:
    0 10px 28px rgba(20, 108, 95, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.btn-live::before {
  content: "";
  position: absolute;
  inset: -120%;
  z-index: -1;
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    transparent 35%,
    rgba(255, 255, 255, 0.15) 42%,
    #7dffd2 48%,
    #1a8a78 52%,
    #f3e2b0 56%,
    rgba(255, 255, 255, 0.15) 62%,
    transparent 70%,
    transparent 100%
  );
  animation: btn-live-spin 2.8s linear infinite;
}

.btn-live::after {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -1;
  border-radius: 0.55rem;
  background: #1a8a78;
}

.btn-live-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  transition: background 0.25s ease, transform 0.25s ease;
}

.btn-live:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 34px rgba(20, 108, 95, 0.5),
    0 0 22px rgba(26, 138, 120, 0.35);
}

.btn-live:hover::before {
  animation-duration: 1.6s;
}

@keyframes btn-live-spin {
  to { transform: rotate(360deg); }
}

.tilt-scene {
  perspective: 1000px;
  transform-style: preserve-3d;
}

.tilt-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
  box-shadow:
    0 25px 50px rgba(16, 24, 32, 0.22),
    0 8px 16px rgba(16, 24, 32, 0.12);
}

.tilt-card img {
  transform: translateZ(20px) scale(1.02);
}

.tilt-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.28), transparent 42%, transparent 58%, rgba(0, 0, 0, 0.12));
  mix-blend-mode: soft-light;
  pointer-events: none;
  opacity: 0.7;
}

.service-3d {
  border-radius: 0.75rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  transform: translateZ(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.service-3d:hover {
  background: rgba(20, 108, 95, 0.05);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(16, 24, 32, 0.08);
}

.card-3d {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, background 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.card-3d::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 55%;
  height: 55%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 138, 120, 0.22), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.group:hover .card-3d {
  transform: translateY(-8px) rotateX(4deg) rotateY(-4deg);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.35);
  border-color: rgba(26, 138, 120, 0.35);
}

.group:hover .card-3d::after {
  opacity: 1;
}

/* ——— Motion ——— */
@keyframes grow-x {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.anim-rise {
  animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.anim-rise-2 { animation-delay: 0.12s; }
.anim-rise-3 { animation-delay: 0.24s; }

.anim-fade {
  animation: fade 1s ease both;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

.service-row {
  border-top: 1px solid var(--line);
}

.service-row:last-child {
  border-bottom: 1px solid var(--line);
}

.portfolio-item.is-hidden {
  display: none;
}

.filter-btn {
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.filter-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.filter-btn.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.field-input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 0.7rem 0 0.85rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.field-input:focus {
  border-color: var(--signal);
  box-shadow: 0 1px 0 0 var(--signal);
}

.field-input::placeholder {
  color: rgba(16, 24, 32, 0.32);
}

.scroll-progress {
  transform-origin: left;
  transform: scaleX(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img,
  .anim-rise,
  .anim-fade,
  .hero-mark,
  .reveal,
  .mobile-panel-sheet,
  .mobile-nav-link,
  .hero-scroll-flame,
  .page-loader-logo,
  .page-loader-bar::after,
  .hero-ornament,
  .hero-ring,
  .hero-ring--shine,
  .hero-greek,
  .hero-kicker-dot,
  .btn-live::before,
  .ticker-track,
  .quote-text,
  .cta-band::after {
    animation: none !important;
  }
}
