:root {
  --bg: #f6f1e8;
  --surface: #ffffff;
  --text: #171419;
  --muted: #625d69;
  --primary: #0d8c78;
  --primary-dark: #0b6e5f;
  --accent: #cf7f2a;
  --secondary-accent: #123e73;
  --border: rgba(23, 20, 25, 0.08);
  --shadow: 0 24px 70px rgba(31, 26, 20, 0.09);
}

@font-face {
  font-family: "Thmanyah RYN";
  src: url("https://framerusercontent.com/assets/Ej0k3h4Mi5O7TSo2w2JaDCPRgvo.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Thmanyah RYN";
  src: url("https://framerusercontent.com/assets/3XGelYpTgxSxBXN4Oieg9Dt3bc.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Thmanyah RYN";
  src: url("https://framerusercontent.com/assets/JUv6rms2ye2kYL3UI3O9YyExQcQ.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Thmanyah RYN", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  font-size: 15px;
}

body[dir="rtl"] {
  text-align: right;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  background: radial-gradient(circle, rgba(13, 140, 120, 0.18), rgba(13, 140, 120, 0));
  mix-blend-mode: multiply;
  transition: transform 0.08s linear;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.page-orb {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(30px);
  opacity: 0.55;
}

.orb-one {
  top: 90px;
  left: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(13, 140, 120, 0.25), rgba(13, 140, 120, 0));
  animation: floatOrb 11s ease-in-out infinite;
}

.orb-two {
  top: 340px;
  right: -60px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(207, 127, 42, 0.24), rgba(207, 127, 42, 0));
  animation: floatOrb 13s ease-in-out infinite reverse;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(246, 241, 232, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap,
.footer-wrap,
.cta-box,
.hero-grid,
.section-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-wrap {
  min-height: 86px;
}

.brand img,
.site-footer img {
  width: 170px;
  height: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  gap: 24px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--muted);
}

.main-nav a:hover { color: var(--primary); }

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.lang-option {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.lang-option img {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  object-fit: cover;
}

.lang-option.is-active {
  background: linear-gradient(135deg, rgba(13, 140, 120, 0.12), rgba(207, 127, 42, 0.14));
  color: var(--primary);
}

.hero {
  padding: 84px 0 56px;
}

.hero-grid,
.section-grid {
  align-items: stretch;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}

.eyebrow,
.section-label {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(13, 140, 120, 0.12);
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 18px;
}

.hero h1,
.section h2 {
  margin: 0 0 18px;
  line-height: 1.15;
}

.hero h1 { font-size: clamp(2.05rem, 4vw, 3.75rem); }
.section h2 { font-size: clamp(1.55rem, 3vw, 2.35rem); }

.lead-text {
  font-size: 1rem;
}

.hero p,
.section-head p,
.section p,
.info-card p,
.card-copy p,
.cta p,
.site-footer p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.97rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
  font-size: 0.94rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 18px 36px rgba(13, 140, 120, 0.26);
}

.btn-secondary {
  background: #fff;
  border-color: var(--border);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.hero-stats div,
.info-card,
.portfolio-card,
.about-panel,
.cta-box,
.detail-card,
.project-shell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-stats div {
  padding: 18px;
}

.hero-stats strong {
  display: block;
  font-size: 1.55rem;
  color: var(--primary);
}

.hero-stats span {
  font-size: 0.9rem;
}

.hero-media {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.hero-card {
  overflow: hidden;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transform: translateZ(0);
}

.main-shot img { width: 100%; height: 420px; object-fit: cover; }

.hero-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.small-shot img { width: 100%; height: 220px; object-fit: cover; }

.section { padding: 34px 0 74px; }

.section-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; }

.promo-highlight {
  padding-top: 6px;
}

.promo-shell {
  position: relative;
  padding-top: 38px;
}

.promo-banner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 24px;
  overflow: visible;
  padding: 0 56px 0 28px;
  min-height: 500px;
  border-radius: 30px;
  background: #1fb7ad;
  color: #fff;
  border: 0;
  box-shadow: 0 28px 70px rgba(13, 140, 120, 0.18);
}

.promo-visual {
  align-self: stretch;
  display: flex;
  align-items: end;
  justify-content: center;
  height: 100%;
}

.promo-visual img {
  width: min(100%, 420px);
  margin: -72px auto 0;
  height: 570px;
  object-fit: contain;
  object-position: bottom center;
}

.promo-copy {
  padding: 52px 0;
  max-width: 560px;
}

.promo-tag {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 800;
  margin-bottom: 18px;
}

.promo-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 1.18;
  color: #fff;
}

.promo-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  line-height: 1.84;
  max-width: 470px;
}

.promo-points {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}

.promo-points span {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 800;
  font-size: 0.98rem;
}

.promo-points span::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 0 0 4px rgba(31, 183, 173, 0.96);
  flex: 0 0 16px;
}

.promo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.promo-actions .btn-primary {
  background: #fff;
  color: var(--primary);
  min-width: 168px;
}

.promo-actions .btn-secondary {
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  min-width: 168px;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.about-panel,
.cta-box {
  padding: 28px;
}

.bullet-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.bullet-row span {
  width: 10px;
  height: 10px;
  margin-top: 12px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.cards-grid {
  display: grid;
  gap: 18px;
}

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

.info-card,
.portfolio-card {
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.info-card {
  padding: 26px;
}

.info-card h3,
.portfolio-card h3 {
  font-size: 1.12rem;
}

.info-card:hover,
.portfolio-card:hover,
.detail-card:hover,
.project-shell:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(31, 26, 20, 0.14);
  border-color: rgba(13, 140, 120, 0.2);
}

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

.portfolio-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.card-copy {
  padding: 22px;
}

.inline-link,
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 800;
}

.inline-link {
  margin-top: 12px;
}

.portfolio-card:hover .inline-link {
  transform: translateX(-4px);
}

.section-head {
  max-width: 840px;
  margin-bottom: 24px;
}

.site-footer {
  padding: 26px 0 28px;
  border-top: 1px solid rgba(23, 20, 25, 0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.68), rgba(255,255,255,1));
  color: var(--text);
}

.footer-wrap {
  align-items: center;
  padding: 0 0 16px;
  border-bottom: 1px solid rgba(23, 20, 25, 0.08);
}

.footer-brand {
  display: grid;
  gap: 10px;
  max-width: 390px;
}

.footer-brand p {
  margin: 0;
}

.footer-contact {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-bottom {
  padding-top: 16px;
}

.footer-bottom p {
  margin: 0;
}

.whatsapp-float {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.28);
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  min-height: 56px;
  padding: 0 18px;
}

.wa-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  color: #fff;
}

.wa-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.footer-link {
  color: var(--text);
  font-weight: 700;
  opacity: 1;
}

.footer-link:hover {
  color: var(--primary);
}

.site-footer p {
  color: var(--muted);
}

.reveal-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.delay-2 {
  transition-delay: 0.18s;
}

.project-page .hero {
  padding-top: 48px;
}

.project-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  padding: 28px;
}

.project-cover {
  overflow: hidden;
  border-radius: 22px;
}

.project-cover img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.detail-card {
  padding: 28px;
}

.feature-list {
  margin: 0;
  padding-inline-start: 20px;
  color: var(--muted);
  line-height: 2;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(18, 62, 115, 0.08);
  color: var(--secondary-accent);
  font-weight: 700;
}

@keyframes floatOrb {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, 22px, 0); }
}

@media (max-width: 1024px) {
  .hero-grid,
  .section-grid,
  .three-cols,
  .portfolio-grid,
  .detail-grid,
  .project-shell,
  .promo-banner {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid,
  .section-grid,
  .project-shell,
  .promo-banner {
    grid-template-columns: 1fr;
  }

  .promo-visual {
    order: -1;
  }

  .promo-copy {
    padding: 0 0 32px;
    max-width: none;
  }

  .promo-visual img {
    margin-top: -52px;
    height: 500px;
  }

  .nav-wrap {
    flex-wrap: wrap;
    padding: 16px 0;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .lang-switcher {
    margin-inline-start: auto;
  }
}

@media (max-width: 640px) {
  .three-cols,
  .portfolio-grid,
  .hero-stats,
  .hero-stack,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .brand img,
  .site-footer img {
    width: 144px;
  }

  .footer-wrap,
  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-wrap {
    padding: 0 0 14px;
  }

  .footer-contact {
    justify-content: flex-start;
  }

  .project-shell,
  .detail-card {
    padding: 20px;
  }

  .project-cover img,
  .main-shot img {
    min-height: 280px;
    height: 280px;
  }

  .lang-switcher {
    width: 100%;
    justify-content: center;
  }

  .promo-banner {
    border-radius: 26px;
    padding: 0 22px;
    min-height: auto;
  }

  .promo-copy {
    padding: 0 0 24px;
  }

  .promo-copy h2 {
    font-size: 2.05rem;
  }

  .promo-visual {
    overflow: visible;
  }

  .promo-visual img {
    width: min(100%, 320px);
    height: 400px;
    margin-top: -34px;
  }

  .promo-actions .btn {
    width: 100%;
  }

  .whatsapp-float {
    right: 12px;
    left: 12px;
    bottom: 12px;
    justify-content: center;
  }
}
