:root {
  --bg: #06101c;
  --bg-deep: #030913;
  --bg-soft: #0a1727;
  --surface: rgba(13, 31, 50, 0.72);
  --surface-strong: #0d1d30;
  --surface-light: #f4f1ea;
  --surface-light-2: #ffffff;
  --text: #f7f5ef;
  --text-dark: #0b1726;
  --muted: #9dacbd;
  --muted-dark: #637083;
  --gold: #e2ad4f;
  --gold-bright: #f7cf7b;
  --gold-soft: rgba(226, 173, 79, 0.14);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(226, 173, 79, 0.32);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 18px 55px rgba(6, 16, 28, 0.1);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --header-h: 82px;
  --container: 1200px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --mouse-x: 50vw;
  --mouse-y: 25vh;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 22px);
  background: var(--bg-deep);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(900px circle at var(--mouse-x) var(--mouse-y), rgba(226, 173, 79, 0.055), transparent 52%),
    var(--bg);
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    radial-gradient(circle at 15% 10%, rgba(226, 173, 79, 0.07), transparent 22%),
    radial-gradient(circle at 85% 45%, rgba(82, 133, 188, 0.05), transparent 27%);
}

::selection {
  color: #111821;
  background: var(--gold-bright);
}

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

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.muted {
  color: var(--muted);
}

.glass {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.022)),
    rgba(9, 24, 40, 0.44);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}

.grid-bg {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 54px 54px;
  background-position: center top;
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  background: rgba(4, 11, 20, 0.48);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.header.scrolled {
  border-color: rgba(255, 255, 255, 0.07);
  background: rgba(4, 11, 20, 0.89);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.22);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  min-width: 245px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.logo {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 50%;
  filter: drop-shadow(0 8px 18px rgba(226, 173, 79, 0.16));
}

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

.brand-name {
  display: block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.brand-sub {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2.4vw, 38px);
}

.nav-link {
  position: relative;
  padding: 10px 0;
  color: #bdc8d5;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.btn {
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  padding: 11px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s ease,
    border-color 0.25s ease;
}

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

.btn-gold {
  color: #14181d;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(135deg, #f4cc77, #d99f38);
  box-shadow: 0 12px 32px rgba(226, 173, 79, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-gold:hover {
  box-shadow: 0 18px 40px rgba(226, 173, 79, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-outline {
  color: #f8fafc;
  border: 1px solid rgba(226, 173, 79, 0.38);
  background: rgba(255, 255, 255, 0.02);
}

.btn-outline:hover {
  border-color: rgba(226, 173, 79, 0.68);
  background: rgba(226, 173, 79, 0.065);
}

.menu-btn {
  width: 46px;
  height: 46px;
  padding: 0;
  display: none;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.material-icons-round {
  font-size: 21px;
  line-height: 1;
  vertical-align: middle;
}

/* Hero */
.hero {
  position: relative;
  min-height: 790px;
  padding-top: calc(var(--header-h) + 58px);
  /* Keep the absolute ticker in its own visual lane so it never overlaps hero content. */
  padding-bottom: 78px;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--bg-deep);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 9, 19, 0.02), rgba(3, 9, 19, 0.58) 74%, rgba(3, 9, 19, 0.82)),
    radial-gradient(circle at 75% 38%, rgba(43, 86, 127, 0.2), transparent 31%);
}

.hero::after {
  content: "";
  position: absolute;
  left: -8%;
  bottom: 7%;
  width: 44vw;
  height: 1px;
  z-index: -1;
  opacity: 0.45;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: rotate(-7deg);
  box-shadow: 0 0 24px rgba(226, 173, 79, 0.44);
}

.hero-glow {
  position: absolute;
  top: -280px;
  right: -110px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle, rgba(226, 173, 79, 0.17), rgba(226, 173, 79, 0.035) 37%, transparent 69%);
  filter: blur(30px);
}

.hero-grid {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.96fr);
  align-items: center;
  gap: clamp(34px, 5vw, 82px);
}

.hero-copy {
  position: relative;
  z-index: 3;
  order: 1;
  max-width: 640px;
}

.chip {
  margin-bottom: 22px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(226, 173, 79, 0.3);
  border-radius: 999px;
  color: var(--gold-bright);
  background: rgba(226, 173, 79, 0.07);
  box-shadow: inset 0 0 22px rgba(226, 173, 79, 0.025);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(40px, 3.8vw, 62px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero h1 span {
  color: var(--gold);
  text-shadow: 0 12px 42px rgba(226, 173, 79, 0.13);
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stats {
  width: min(100%, 640px);
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border-radius: 18px;
}

.stat {
  position: relative;
  min-height: 105px;
  padding: 17px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
}

.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 24%;
  bottom: 24%;
  left: 0;
  width: 1px;
  background: var(--line);
}

.stat-num {
  color: var(--gold-bright);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
}

.stat-label {
  margin-top: 7px;
  color: #c8d1db;
  font-size: 10px;
  line-height: 1.7;
}

.hero-visual {
  position: relative;
  z-index: 2;
  order: 2;
  min-height: 610px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-visual::before {
  width: 520px;
  height: 520px;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid rgba(226, 173, 79, 0.12);
  box-shadow:
    0 0 0 38px rgba(226, 173, 79, 0.018),
    0 0 0 86px rgba(226, 173, 79, 0.014);
}

.hero-visual::after {
  width: 330px;
  height: 330px;
  top: 128px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(226, 173, 79, 0.2), transparent 68%);
  filter: blur(18px);
}

.portrait-wrap {
  position: relative;
  z-index: 2;
  width: min(100%, 650px);
  min-height: 590px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transform: translate3d(0, var(--portrait-shift, 0px), 0);
  will-change: transform;
}

.portrait-wrap::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 4%;
  bottom: 0;
  height: 34px;
  z-index: -1;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.62);
  filter: blur(18px);
}

.portrait {
  position: relative;
  z-index: 2;
  width: 100%;
  max-height: 610px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 30px 42px rgba(0, 0, 0, 0.28));
}

.badge {
  position: absolute;
  right: 4%;
  bottom: 64px;
  z-index: 5;
  min-width: 188px;
  padding: 12px 14px;
  border-color: rgba(226, 173, 79, 0.24);
  border-radius: 16px;
}

.badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge .material-icons-round {
  color: var(--gold-bright);
}

.badge-title {
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.badge-sub {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.ticker {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.035);
  background: rgba(5, 14, 25, 0.76);
  backdrop-filter: blur(14px);
}

.ticker-inner {
  width: max-content;
  min-width: 100%;
  min-height: 55px;
  padding-inline: 28px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 48px;
  color: #a8b5c4;
  font-size: 11px;
  letter-spacing: 0.035em;
  direction: ltr;
  animation: tickerDrift 12s linear infinite alternate;
  will-change: transform;
}

.ticker-inner b {
  color: var(--gold);
}

@keyframes tickerDrift {
  from { transform: translateX(8%); }
  to { transform: translateX(-8%); }
}

/* Sections */
.section {
  position: relative;
  padding: 112px 0;
}

.section-kicker,
.about-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.section-kicker::before,
.about-kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
}

.section-title,
.about-title {
  margin: 12px 0 0;
  color: #fff;
  font-size: clamp(31px, 3.5vw, 48px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.gold-line {
  width: 62px;
  height: 3px;
  margin-top: 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), rgba(226, 173, 79, 0.16));
}

/* Services */
#services {
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 10%, rgba(226, 173, 79, 0.07), transparent 24%),
    linear-gradient(180deg, #081524, #06101c);
}

#services::after {
  content: "";
  position: absolute;
  top: 130px;
  left: -180px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.035);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(255, 255, 255, 0.012), 0 0 0 110px rgba(255, 255, 255, 0.008);
  pointer-events: none;
}

#services > .container > .reveal > .muted {
  max-width: 760px;
  margin: 14px 0 0;
  line-height: 2.05;
  font-size: 14px;
}

.services-grid {
  position: relative;
  z-index: 2;
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 248px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  transition:
    transform 0.38s var(--ease),
    border-color 0.32s ease,
    background 0.32s ease,
    box-shadow 0.38s var(--ease);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(340px circle at 100% 0%, rgba(226, 173, 79, 0.12), transparent 48%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 24px;
  width: 42px;
  height: 2px;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(226, 173, 79, 0.48);
  transition: width 0.35s var(--ease);
}

.service-card:hover {
  z-index: 3;
  transform: translateY(-7px);
  border-color: rgba(226, 173, 79, 0.25);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.035)), rgba(10, 25, 42, 0.58);
  box-shadow: 0 30px 72px rgba(0, 0, 0, 0.26);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover::after {
  width: 84px;
}

.card-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 25px 24px 24px;
}

.service-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(226, 173, 79, 0.24);
  border-radius: 15px;
  color: var(--gold-bright);
  background: rgba(226, 173, 79, 0.07);
  box-shadow: inset 0 0 24px rgba(226, 173, 79, 0.04);
}

.service-title {
  max-width: 88%;
  margin-top: 20px;
  color: #f7f8fa;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.8;
}

.service-text {
  max-width: 95%;
  margin-top: 9px;
  color: #96a7b9;
  font-size: 11px;
  line-height: 1.95;
}

.number {
  position: absolute;
  left: 18px;
  bottom: 2px;
  color: rgba(255, 255, 255, 0.035);
  font-family: Arial, sans-serif;
  font-size: 62px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
  pointer-events: none;
}

/* About */
.about {
  color: var(--text-dark);
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 18%, rgba(226, 173, 79, 0.11), transparent 25%),
    linear-gradient(135deg, #f5f2ea, #fff 54%, #f0ede7);
}

.about::before {
  content: "";
  position: absolute;
  right: 6%;
  bottom: -210px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(10, 28, 45, 0.055);
  border-radius: 50%;
  box-shadow: 0 0 0 58px rgba(10, 28, 45, 0.016), 0 0 0 116px rgba(10, 28, 45, 0.01);
}

.about-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(380px, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(54px, 7vw, 96px);
}

.about-photo {
  position: relative;
  width: min(100%, 520px);
  margin-inline: auto;
}

.about-image-box {
  position: relative;
  aspect-ratio: 0.94;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 25%, rgba(226, 173, 79, 0.22), transparent 35%),
    linear-gradient(145deg, #14253a, #07111f 68%);
  box-shadow: 0 28px 70px rgba(17, 31, 49, 0.2);
}

.about-image-box::before {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  pointer-events: none;
}

.about-image-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  transform: scale(1.055);
  filter: drop-shadow(0 22px 32px rgba(0, 0, 0, 0.16));
}

.experience-box {
  position: absolute;
  left: -22px;
  bottom: 34px;
  min-width: 150px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 18px;
  color: #14191e;
  background: linear-gradient(135deg, #f5ce7e, #d9a13e);
  box-shadow: 0 18px 42px rgba(65, 43, 12, 0.2);
  text-align: center;
}

.experience-num {
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.about-title {
  color: var(--text-dark);
}

.about p {
  margin: 18px 0 0;
  color: #4c5868;
  font-size: 14px;
  line-height: 2.15;
}

.checks {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
}

.check {
  min-height: 47px;
  padding: 10px 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(7, 23, 38, 0.08);
  border-radius: 13px;
  color: #253446;
  background: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 700;
}

.check .material-icons-round {
  color: #b9852d;
  font-size: 19px;
}

.about .btn {
  margin-top: 26px;
  color: #fff;
  background: #0b1929;
  box-shadow: 0 14px 30px rgba(6, 22, 39, 0.15);
}

/* Expertise */
#expertise {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 90%, rgba(226, 173, 79, 0.07), transparent 26%),
    #071320;
}

.expertise-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: clamp(45px, 7vw, 92px);
}

.expertise-grid > .reveal > .muted {
  margin-top: 17px;
  line-height: 2.05;
  font-size: 13px;
}

.expertise-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.expertise-card {
  position: relative;
  min-height: 205px;
  padding: 24px;
  overflow: hidden;
  border-radius: 22px;
  transition: transform 0.35s var(--ease), border-color 0.3s ease;
}

.expertise-card::after {
  content: "";
  position: absolute;
  top: -70px;
  left: -70px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(226, 173, 79, 0.07);
  filter: blur(2px);
  transition: transform 0.4s var(--ease);
}

.expertise-card:hover {
  transform: translateY(-5px);
  border-color: rgba(226, 173, 79, 0.22);
}

.expertise-card:hover::after {
  transform: scale(1.35);
}

.expertise-num {
  color: var(--gold);
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.expertise-card h3 {
  position: relative;
  z-index: 1;
  margin: 38px 0 0;
  color: #fff;
  font-size: 17px;
}

.expertise-card p {
  position: relative;
  z-index: 1;
  margin: 9px 0 0;
  color: #98a9bb;
  font-size: 11px;
  line-height: 1.9;
}

/* Contact */
.contact {
  padding-top: 70px;
  background: linear-gradient(180deg, #071320, #040a12);
}

.contact-box {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 56px);
  border-color: rgba(226, 173, 79, 0.16);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 8% 0%, rgba(226, 173, 79, 0.12), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(8, 22, 37, 0.88);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
}

.contact-box::after {
  content: "";
  position: absolute;
  left: -170px;
  bottom: -200px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(226, 173, 79, 0.09);
  border-radius: 50%;
  box-shadow: 0 0 0 46px rgba(226, 173, 79, 0.014), 0 0 0 92px rgba(226, 173, 79, 0.009);
  pointer-events: none;
}

.contact-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.75fr);
  gap: clamp(44px, 8vw, 105px);
  align-items: start;
}

.contact-grid p {
  max-width: 590px;
  margin: 16px 0 0;
  color: #9fb0c2;
  font-size: 13px;
  line-height: 2.05;
}

.contact-list {
  margin-top: 30px;
  display: grid;
  gap: 11px;
}

.contact-item {
  min-height: 48px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 13px;
  color: #dbe4ed;
  background: rgba(255, 255, 255, 0.025);
  font-size: 12px;
}

.contact-item .material-icons-round {
  color: var(--gold);
  font-size: 19px;
}

.contact-link {
  direction: ltr;
  overflow-wrap: anywhere;
}

.form {
  padding: 20px;
  display: grid;
  gap: 11px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 22px;
  background: rgba(1, 8, 16, 0.28);
}

.field {
  width: 100%;
  min-height: 50px;
  outline: none;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 13px;
  padding: 11px 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

textarea.field {
  min-height: 112px;
  resize: vertical;
}

.field::placeholder {
  color: #7f8fa0;
  opacity: 1;
}

.field:focus {
  border-color: rgba(226, 173, 79, 0.5);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 0 0 3px rgba(226, 173, 79, 0.07);
}

.form .btn {
  width: 100%;
  margin-top: 3px;
}

.form-message {
  display: none;
  padding: 11px 12px;
  border: 1px solid rgba(115, 208, 157, 0.18);
  border-radius: 11px;
  color: #b9e6cc;
  background: rgba(63, 150, 104, 0.08);
  font-size: 10px;
  line-height: 1.8;
}

.form-message.show {
  display: block;
  animation: messageIn 0.35s var(--ease) both;
}

@keyframes messageIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Footer */
.footer {
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  background: #030913;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer-brand {
  color: #d8e0e9;
  font-size: 12px;
  font-weight: 800;
}

.footer-brand span {
  margin-inline: 6px;
  color: var(--gold);
}

.footer-copy {
  color: #7d8b9a;
  font-size: 10px;
}

/* Scroll reveal and motion */
.reveal {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.floating {
  animation: float 6.5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

.pulse {
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 20px 70px rgba(0, 0, 0, 0.18), 0 0 0 0 rgba(226, 173, 79, 0.12); }
  50% { box-shadow: 0 20px 70px rgba(0, 0, 0, 0.18), 0 0 0 10px rgba(226, 173, 79, 0); }
}

.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1500;
  width: 0;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, #bd812a, #f6d383);
  box-shadow: 0 0 18px rgba(226, 173, 79, 0.55);
}

/* Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1100;
  visibility: hidden;
  opacity: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-backdrop.open {
  visibility: visible;
  opacity: 1;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1200;
  width: min(86vw, 360px);
  height: 100dvh;
  padding: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 100% 0%, rgba(226, 173, 79, 0.1), transparent 26%),
    rgba(5, 16, 28, 0.985);
  box-shadow: -30px 0 90px rgba(0, 0, 0, 0.4);
  transform: translateX(105%);
  transition: transform 0.38s var(--ease);
}

.drawer.open {
  transform: translateX(0);
}

.drawer-close {
  display: flex;
  justify-content: flex-start;
}

.drawer-close button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.drawer-links {
  margin-top: 30px;
  display: grid;
  gap: 7px;
}

.drawer-links a:not(.btn) {
  padding: 13px 12px;
  border-radius: 12px;
  color: #dce4ec;
  font-size: 15px;
  transition: background 0.2s ease, color 0.2s ease;
}

.drawer-links a:not(.btn):hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.drawer-links .btn {
  margin-top: 10px;
}

body.menu-open {
  overflow: hidden;
}

/* Responsive */
@media (max-width: 1080px) {
  :root { --header-h: 76px; }

  .container { width: min(var(--container), calc(100% - 36px)); }
  .brand { min-width: 210px; }
  .nav { gap: 20px; }
  .header-cta { padding-inline: 17px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(400px, 0.86fr); gap: 26px; }
  .hero h1 { font-size: clamp(36px, 4.6vw, 54px); }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .expertise-grid { grid-template-columns: 1fr 1fr; gap: 42px; }
}

@media (max-width: 900px) {
  .container { width: min(760px, calc(100% - 30px)); }
  .nav, .header-cta { display: none; }
  .menu-btn { display: grid; }
  .brand { min-width: 0; }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 40px);
    padding-bottom: 55px;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hero-copy {
    order: 2;
    max-width: 680px;
    margin-inline: auto;
    text-align: center;
  }

  .hero-visual {
    order: 1;
    min-height: 430px;
    max-width: 600px;
    margin-inline: auto;
  }

  .portrait-wrap {
    min-height: 430px;
    width: min(100%, 520px);
  }

  .portrait { max-height: 455px; }
  .hero-visual::before { width: 390px; height: 390px; top: 15px; }
  .hero-visual::after { width: 260px; height: 260px; top: 88px; }
  .badge { right: 1%; bottom: 42px; }
  .hero h1 { font-size: clamp(36px, 7vw, 54px); }
  .hero-actions { justify-content: center; }
  .stats { margin-inline: auto; margin-top: 34px; }
  .ticker { position: relative; margin-top: 42px; }
  .ticker-inner { min-height: 50px; }

  .section { padding: 86px 0; }
  .about-grid, .expertise-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 58px; }
  .about-photo { width: min(100%, 490px); }
  .expertise-grid { gap: 36px; }
  .contact { padding-top: 58px; }
}

@media (max-width: 680px) {
  :root { --header-h: 70px; }
  .container { width: calc(100% - 24px); }
  .header-inner { gap: 10px; }
  .logo { width: 50px; height: 50px; }
  .brand-name { font-size: 12px; }
  .brand-sub { font-size: 9px; }
  .menu-btn { width: 43px; height: 43px; border-radius: 12px; }

  .hero { padding-top: calc(var(--header-h) + 26px); }
  .hero-visual { min-height: 340px; }
  .portrait-wrap { min-height: 340px; width: min(100%, 430px); }
  .portrait { max-height: 365px; }
  .hero-visual::before { width: 310px; height: 310px; top: 2px; }
  .hero-visual::after { width: 220px; height: 220px; top: 56px; }
  .badge { min-width: 158px; padding: 10px 11px; right: 2%; bottom: 28px; }
  .badge-title { font-size: 10px; }
  .badge-sub { font-size: 8px; }
  .hero h1 { font-size: clamp(31px, 9.6vw, 44px); line-height: 1.55; }
  .chip { margin-bottom: 16px; font-size: 9px; }
  .hero-actions { flex-direction: column; margin-top: 25px; }
  .hero-actions .btn { width: 100%; }
  .stats { grid-template-columns: 1fr 1fr; border-radius: 16px; }
  .stat { min-height: 92px; padding: 13px 9px; }
  .stat:nth-child(2)::after { display: none; }
  .stat:last-child { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .stat-num { font-size: 22px; }
  .stat-label { font-size: 9px; }
  .ticker-inner { justify-content: flex-start; gap: 30px; font-size: 9px; }

  .section { padding: 72px 0; }
  .section-title, .about-title { font-size: clamp(28px, 8vw, 38px); }
  #services > .container > .reveal > .muted { font-size: 12px; }
  .services-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 35px; }
  .service-card { min-height: 220px; }
  .card-content { padding: 22px 20px; }

  .about-grid { gap: 46px; }
  .about-photo { width: min(100%, 410px); }
  .about-image-box { border-radius: 25px; }
  .experience-box { left: -2px; bottom: 22px; min-width: 132px; }
  .about p { font-size: 12px; }
  .checks { grid-template-columns: 1fr; gap: 8px; }

  .expertise-cards { grid-template-columns: 1fr; }
  .expertise-card { min-height: 170px; }
  .expertise-card h3 { margin-top: 28px; }

  .contact-box { padding: 22px 16px; border-radius: 24px; }
  .contact-grid { gap: 30px; }
  .form { padding: 14px; border-radius: 18px; }
  .contact-item { font-size: 10px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 420px) {
  .brand-sub { display: none; }
  .hero-visual { min-height: 285px; }
  .portrait-wrap { min-height: 285px; width: 360px; max-width: 100%; }
  .portrait { max-height: 310px; }
  .hero-visual::before { width: 255px; height: 255px; }
  .hero-visual::after { width: 180px; height: 180px; top: 45px; }
  .badge { right: 0; bottom: 16px; transform: scale(0.9); transform-origin: right bottom; }
  .experience-box { transform: scale(0.92); transform-origin: left bottom; }
}

@media (hover: none) {
  .service-card:hover, .expertise-card:hover, .btn:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
