:root {
  --navy-900: #0a1a33;
  --navy-800: #10294a;
  --navy-700: #1b3a66;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-500: #64748b;
  --gray-800: #1e293b;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
  --shadow-xl: 0 24px 50px rgba(2, 6, 23, 0.16);
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  background: radial-gradient(circle at top right, #f8fbff 0%, var(--white) 38%);
  color: var(--gray-800);
  line-height: 1.65;
}

body.rtl {
  direction: rtl;
  font-family: "Cairo", Arial, sans-serif;
}

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.narrow {
  width: min(760px, 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  transition: background-color 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(148, 163, 184, 0.28);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

body.rtl .navbar {
  flex-direction: row-reverse;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand-logo {
  width: auto;
  height: 58px;
  object-fit: contain;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0;
  margin: 0;
}

.nav-links a {
  position: relative;
  font-weight: 600;
  color: #334155;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  border-radius: 4px;
  background: linear-gradient(90deg, #22d3ee, var(--orange-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

body.rtl .nav-links a::after {
  transform-origin: right;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--navy-800);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.nav-links a.is-active {
  color: var(--navy-900);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #0f172a;
}

.btn {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  padding: 0.68rem 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #fb923c, var(--orange-600));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.25);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--orange-600);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--gray-200);
  color: #334155;
}

.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
  background: transparent;
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.btn-lg {
  padding: 0.9rem 1.2rem;
}

.btn-full {
  width: 100%;
}

.section {
  padding: 82px 0;
}

.section-dark {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
}

.section-light {
  background: var(--white);
}

.section-muted {
  background: var(--gray-50);
}

.section-tag {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--orange-500);
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin-top: 0.7rem;
  margin-bottom: 0.8rem;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 3.4rem);
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2.35rem);
}

.lead {
  color: #334155;
  font-size: 1.1rem;
}

.lead-sm {
  color: #475569;
  margin-bottom: 1.35rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 110px;
  isolation: isolate;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(118deg, rgba(10, 26, 51, 0.93) 18%, rgba(16, 41, 74, 0.76) 56%, rgba(249, 115, 22, 0.32) 100%),
    url("https://images.unsplash.com/photo-1531572753322-ad063cecc140?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -80px -60px auto auto;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.3), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(to top, rgba(10, 26, 51, 0.65), rgba(10, 26, 51, 0));
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
}

.hero-subtext {
  max-width: 62ch;
  color: #dce8fa;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.3rem;
}

.hero-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.1rem 1rem;
  position: relative;
  z-index: 2;
}

.hero-card ul {
  margin: 0.4rem 0 0;
  padding-inline-start: 1rem;
}

.hero-card li {
  margin-bottom: 0.55rem;
}

.hero-visual-wrap {
  perspective: 900px;
}

.hero-visual {
  --move-x: 0deg;
  --move-y: 0deg;
  --growth-progress: 0;
  position: relative;
  transform: rotateY(calc(var(--move-x) * 0.35)) rotateX(calc(var(--move-y) * -0.35));
  transition: transform 180ms ease-out;
}

.hero-svg {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  margin-inline: auto;
  filter: drop-shadow(0 24px 44px rgba(8, 47, 73, 0.3));
}

.orbital-ring {
  fill: none;
  stroke: url(#orbitGrad);
  stroke-width: 2.2;
  opacity: 0.85;
}

.ring-small {
  opacity: 0.45;
}

.leaf-group {
  opacity: calc(1 - var(--growth-progress));
  transform-origin: 280px 200px;
  animation: leafFloat 6s ease-in-out infinite;
}

.growth-group {
  opacity: calc(0.08 + var(--growth-progress));
  transform: translateY(calc(14px - var(--growth-progress) * 14px));
  transition: opacity 0.2s linear, transform 0.2s linear;
}

.coin-shape,
.clock-face,
.doc-shape {
  fill: rgba(255, 255, 255, 0.08);
  stroke: #fb923c;
  stroke-width: 2.2;
}

.coin-mark,
.clock-hands,
.doc-lines {
  fill: none;
  stroke: #fdba74;
  stroke-linecap: round;
  stroke-width: 2.3;
}

.sparkles {
  fill: #7dd3fc;
  opacity: 0.7;
  animation: sparklePulse 4s ease-in-out infinite;
}

.hero-visual .hero-card {
  margin-top: -26px;
  backdrop-filter: blur(4px);
}

.hero-content h1 {
  max-width: 17ch;
}

.turkey-showcase {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.showcase-card {
  position: relative;
  min-height: 210px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.showcase-card img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  display: block;
}

.showcase-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 26, 51, 0.88), rgba(10, 26, 51, 0.16));
}

.showcase-card span {
  position: absolute;
  inset: auto 14px 14px;
  color: #f8fafc;
  font-weight: 700;
  letter-spacing: 0.01em;
}

@keyframes leafFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(-1.2deg);
  }
}

@keyframes sparklePulse {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 0.9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .leaf-group,
  .sparkles {
    animation: none;
  }

  .hero-visual {
    transition: none;
    transform: none;
  }

  .reveal-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.services-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  padding: 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: #fdba74;
  box-shadow: var(--shadow-xl);
}

.service-card .icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffedd5;
  color: var(--orange-600);
  font-weight: 700;
  font-size: 0.86rem;
}

.service-card h3 {
  margin-top: 0.8rem;
  margin-bottom: 0.35rem;
  font-size: 1.02rem;
}

.service-card p {
  margin: 0;
  color: #475569;
  font-size: 0.96rem;
}

.timeline {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.timeline li {
  position: relative;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.timeline li:hover {
  border-color: #fdba74;
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.08);
  transform: translateY(-3px);
}

.timeline li::after {
  content: "";
  position: absolute;
  top: 28px;
  right: -14px;
  width: 28px;
  height: 2px;
  background: var(--orange-500);
}

.timeline li:last-child::after {
  display: none;
}

body.rtl .timeline li::after {
  right: auto;
  left: -14px;
}

.step-index {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--orange-500);
  color: var(--white);
  font-weight: 700;
}

.choose .section-tag {
  color: #fdba74;
}

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

.why-grid article {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 1rem;
  transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.why-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(251, 146, 60, 0.55);
  background: rgba(255, 255, 255, 0.12);
}

.why-grid p {
  color: #dbeafe;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
}

.contact-panel,
.info-panel {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.lead-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  color: #334155;
}

.lead-form label span {
  font-size: 0.9rem;
}

.lead-form input {
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 0.7rem 0.75rem;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lead-form input:focus {
  outline: none;
  border-color: #fb923c;
  box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.2);
}

.lead-form button {
  grid-column: 1 / -1;
  margin-top: 0.35rem;
}

.whatsapp-btn {
  display: inline-flex;
  margin-bottom: 1rem;
  border-radius: var(--radius-full);
  padding: 0.6rem 1rem;
  background: #22c55e;
  color: var(--white);
  font-weight: 700;
}

.social-links {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  color: #334155;
  transition: all 0.2s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: var(--orange-600);
  border-color: #fdba74;
  background: #fff7ed;
  transform: translateY(-2px);
}

.social-icon {
  width: 18px;
  height: 18px;
}

.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.map-wrap iframe {
  width: 100%;
  min-height: 260px;
  border: 0;
}

.site-footer-bottom {
  background: var(--navy-900);
  color: #cbd5e1;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom-inner {
  min-height: 64px;
  display: grid;
  grid-template-columns: 1.2fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.footer-bottom-inner p {
  margin: 0;
  font-size: 0.92rem;
}

.footer-mini-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.footer-mini-nav a {
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-mini-nav a:hover,
.footer-mini-nav a:focus-visible {
  color: #fdba74;
}

.to-top {
  position: fixed;
  inset: auto 20px 20px auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--orange-500);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s ease;
  box-shadow: 0 12px 24px rgba(234, 88, 12, 0.34);
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

@media (max-width: 1080px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .nav-links {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    display: none;
  }

  body.rtl .nav-links {
    align-items: flex-end;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 1rem;
    width: 100%;
  }

  .nav-links a::after {
    bottom: 6px;
  }

  .nav-links.open {
    display: flex;
  }

  .hero-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    margin-top: 0.7rem;
  }

  .footer-bottom-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 0.85rem 0;
  }

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

  .turkey-showcase {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline li::after {
    display: none;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

  .nav-actions .btn-primary {
    display: none;
  }

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

  .services-grid {
    grid-template-columns: 1fr;
  }

  .brand-logo {
    height: 46px;
  }

  .hero-visual .hero-card {
    margin-top: -12px;
  }
}
