:root {
  --ink: #122820;
  --ink-soft: #2a4a40;
  --cream: #e8efe8;
  --mist: #d4e0d6;
  --leaf: #2f6b55;
  --leaf-deep: #1a3a32;
  --gold: #c9a86c;
  --gold-soft: #e2d0a8;
  --white: #f7faf7;
  --font: "Vazirmatn", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.045;
  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)'/%3E%3C/svg%3E");
}

/* —— Header —— */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  background: linear-gradient(180deg, rgba(26, 58, 50, 0.55) 0%, transparent 100%);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(247, 250, 247, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(18, 40, 32, 0.06);
}

.site-header.is-scrolled .brand-name,
.site-header.is-scrolled .nav a {
  color: var(--ink);
}

.site-header.is-scrolled .header-cta {
  background: var(--leaf-deep);
  color: var(--white);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-mark {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50% 50% 50% 0;
  background: var(--gold);
  transform: rotate(-45deg);
  box-shadow: 0 0 0 3px rgba(201, 168, 108, 0.25);
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
  transition: color 0.3s ease;
}

.nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
}

.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(247, 250, 247, 0.88);
  transition: color 0.25s ease, opacity 0.25s ease;
}

.nav a:hover {
  color: var(--gold-soft);
}

.header-cta {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: rgba(247, 250, 247, 0.14);
  color: var(--white);
  border: 1px solid rgba(247, 250, 247, 0.28);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.header-cta:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: transparent;
  transform: translateY(-1px);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: 0 clamp(1.25rem, 4vw, 3rem) clamp(3.5rem, 8vh, 5.5rem);
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(47, 107, 85, 0.55), transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 20%, rgba(201, 168, 108, 0.18), transparent 50%),
    linear-gradient(165deg, #0f2a24 0%, #1a3a32 42%, #245044 78%, #1e4038 100%);
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 35%, rgba(15, 42, 36, 0.55) 72%, rgba(15, 42, 36, 0.92) 100%),
    repeating-linear-gradient(
      -12deg,
      transparent 0,
      transparent 48px,
      rgba(232, 239, 232, 0.02) 48px,
      rgba(232, 239, 232, 0.02) 49px
    );
}

.hero-leaf {
  position: absolute;
  border-radius: 60% 40% 55% 45%;
  background: linear-gradient(145deg, rgba(47, 107, 85, 0.45), rgba(26, 58, 50, 0.1));
  filter: blur(2px);
  animation: drift 18s var(--ease) infinite alternate;
}

.leaf-a {
  width: min(48vw, 420px);
  height: min(55vw, 480px);
  top: -8%;
  left: -6%;
  opacity: 0.55;
}

.leaf-b {
  width: min(36vw, 300px);
  height: min(42vw, 360px);
  bottom: 18%;
  left: 8%;
  opacity: 0.35;
  animation-delay: -6s;
  animation-duration: 22s;
}

.hero-orb {
  position: absolute;
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  top: 8%;
  left: 50%;
  transform: translateX(-20%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(201, 168, 108, 0.22), transparent 62%);
  animation: pulse-orb 10s ease-in-out infinite;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 38rem;
  animation: rise 1.1s var(--ease) both;
}

.hero-brand {
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.85rem;
  color: var(--white);
}

.hero-title {
  font-size: clamp(1.2rem, 2.8vw, 1.65rem);
  font-weight: 400;
  color: var(--gold-soft);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.hero-lead {
  font-size: clamp(0.98rem, 2vw, 1.12rem);
  font-weight: 300;
  color: rgba(247, 250, 247, 0.82);
  max-width: 28rem;
  margin-bottom: 1.75rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

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

.btn-primary {
  background: var(--gold);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--gold-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(247, 250, 247, 0.35);
}

.btn-ghost:hover {
  border-color: var(--gold-soft);
  color: var(--gold-soft);
}

/* —— Sections —— */
.section {
  padding: clamp(4rem, 10vh, 6.5rem) clamp(1.25rem, 4vw, 3rem);
}

.section-inner {
  max-width: 720px;
  margin-inline: auto;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 0.75rem;
}

.section h2 {
  font-size: clamp(1.65rem, 4vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.section-lead {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ink-soft);
  margin-bottom: 2.25rem;
  max-width: 36rem;
}

.about {
  background: var(--white);
}

.about-points {
  display: grid;
  gap: 1.5rem;
}

.about-points li {
  display: grid;
  gap: 0.35rem;
  padding-right: 1.15rem;
  border-right: 2px solid var(--gold);
}

.about-points strong {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}

.about-points span {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.services {
  background:
    linear-gradient(180deg, var(--mist) 0%, var(--cream) 100%);
}

.service-list {
  display: grid;
  gap: 0;
}

.service-list li {
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(18, 40, 32, 0.12);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  transition: padding-right 0.35s var(--ease), color 0.25s ease;
}

.service-list li:first-child {
  border-top: 1px solid rgba(18, 40, 32, 0.12);
}

.service-list li:hover {
  padding-right: 0.65rem;
  color: var(--leaf);
}

.contact {
  background: var(--leaf-deep);
  color: var(--white);
}

.contact .eyebrow {
  color: var(--gold);
}

.contact h2 {
  color: var(--white);
}

.contact .section-lead {
  color: rgba(247, 250, 247, 0.78);
}

.contact-inner {
  text-align: center;
}

.contact-inner .section-lead {
  margin-inline: auto;
}

.phone {
  display: inline-block;
  font-size: clamp(1.85rem, 5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold-soft);
  margin-bottom: 0.75rem;
  transition: color 0.25s ease, transform 0.25s ease;
}

.phone:hover {
  color: var(--gold);
  transform: scale(1.02);
}

.contact-note {
  font-size: 0.95rem;
  color: rgba(247, 250, 247, 0.6);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
  background: #122820;
  color: rgba(247, 250, 247, 0.55);
  font-size: 0.88rem;
}

.footer-brand {
  font-weight: 600;
  color: rgba(247, 250, 247, 0.85);
}

/* —— Motion —— */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: translate(0, 0) rotate(0deg);
  }
  to {
    transform: translate(18px, 24px) rotate(6deg);
  }
}

@keyframes pulse-orb {
  0%,
  100% {
    opacity: 0.7;
    transform: translateX(-20%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateX(-18%) scale(1.06);
  }
}

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

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

/* —— Responsive —— */
@media (max-width: 720px) {
  .nav {
    display: none;
  }

  .hero {
    align-items: center;
    padding-top: 5rem;
  }

  .hero-inner {
    text-align: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .about-points li {
    border-right: none;
    border-bottom: 2px solid var(--gold);
    padding-right: 0;
    padding-bottom: 1.25rem;
  }

  .contact-inner {
    text-align: center;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-leaf,
  .hero-orb,
  .hero-inner,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}
