/* ================================================
   ترخیص‌کاری — Professional services website
   Clean · trustworthy · maritime
   ================================================ */

:root {
  --primary:        #0B4A6F;
  --primary-dark:   #083854;
  --primary-light:  #1B6B9C;
  --accent:         #D88742;
  --accent-dark:    #B8702E;
  --bg:             #FFFFFF;
  --bg-soft:        #F6F9FB;
  --bg-section:     #F1F6F9;
  --text:           #3A5472;
  --text-muted:     #7A8FA0;
  --text-light:     #A8B6C2;
  --border:         #E2E8EE;
  --border-soft:    #EEF2F5;
  --success:        #10A37F;
  --shadow-sm:      0 1px 3px rgba(11,74,111,0.05), 0 1px 2px rgba(11,74,111,0.04);
  --shadow-md:      0 4px 12px rgba(11,74,111,0.06), 0 2px 4px rgba(11,74,111,0.04);
  --shadow-lg:      0 20px 40px -16px rgba(11,74,111,0.18), 0 8px 16px -8px rgba(11,74,111,0.08);
  --radius:         12px;
  --radius-lg:      18px;
  --radius-pill:    999px;
  --maxw:           1240px;
  --ease:           cubic-bezier(.4,.2,.2,1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Vazirmatn', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

html { scroll-behavior: smooth; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-lg { padding: 16px 32px; font-size: 15px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(11,74,111,0.2);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(11,74,111,0.28);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--primary);
  background: var(--bg-soft);
}
.btn-white {
  background: #fff;
  color: var(--primary);
}
.btn-white:hover { background: var(--bg-soft); transform: translateY(-1px); }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ============== UTILITY BAR ============== */
.utility-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  padding: 8px 0;
}
.utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.utility-left { display: flex; gap: 24px; flex-wrap: wrap; }
.util-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.util-item svg { width: 14px; height: 14px; opacity: 0.7; }
.util-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 600;
  transition: color 0.2s;
}
.util-phone:hover { color: var(--accent); }
.util-phone svg { width: 14px; height: 14px; }

/* ============== HEADER ============== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow 0.3s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.logo-icon { width: 42px; height: 42px; flex-shrink: 0; }
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-text strong {
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
}
.logo-text small {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 400;
}

.main-nav {
  display: flex;
  gap: 8px;
  align-items: center;
}
.main-nav a {
  font-size: 14.5px;
  color: var(--text);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: all 0.2s var(--ease);
  font-weight: 500;
}
.main-nav a:hover { background: var(--bg-section); color: var(--primary); }
.main-nav a.is-active {
  background: rgba(11,74,111,0.09);
  color: var(--primary);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.8px;
  background: var(--text);
  margin: 3.5px auto;
  border-radius: 2px;
}

/* ============== HERO ============== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 660px;
  display: flex;
  align-items: flex-end;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-scene {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 60px;
  padding-bottom: 56px;
  width: 100%;
}

.hero-text {
  max-width: 580px;
  position: relative;
}

/* frosted glass card behind text so canvas stays fully visible */
.hero-text-glass {
  background: linear-gradient(135deg, rgba(255,255,255,0.64), rgba(255,255,255,0.38));
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  border: 1px solid rgba(255,255,255,0.76);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: 0 18px 52px rgba(11,74,111,0.14), inset 0 1px 0 rgba(255,255,255,0.72);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16,163,127,0.08);
  color: var(--success);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,163,127,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(16,163,127,0); }
}

.hero-title {
  font-size: clamp(24px, 3.6vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: var(--text);
}
.hero-title span {
  color: var(--primary);
  display: block;
}

.hero-desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.85;
  margin: 0 0 36px;
  max-width: 54ch;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}
.hero-points svg {
  width: 18px;
  height: 18px;
  color: var(--success);
  background: rgba(16,163,127,0.1);
  padding: 3px;
  border-radius: 50%;
}

/* chips float over the canvas */
.float-chip {
  position: absolute;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border-soft);
  z-index: 3;
}
.chip-1 {
  bottom: 100px;
  inset-inline-start: 46%;
}
.chip-2 {
  top: 100px;
  inset-inline-start: 56%;
}
.chip-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: rgba(11,74,111,0.08);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.chip-icon svg { width: 22px; height: 22px; }
.float-chip strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
}
.float-chip small {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* ============== STATS ============== */
.stats {
  padding: 40px 0;
  background: var(--primary);
  color: #fff;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}
.stat strong {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat span {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}

/* ============== SECTION BASE ============== */
.section { padding: 100px 0; }
.section-head {
  text-align: start;
  max-width: 660px;
  margin-bottom: 60px;
}
.section-head-center {
  text-align: center;
  margin-inline: auto;
}
.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(11,74,111,0.08);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  color: var(--text);
}
.section-lead {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.85;
  margin: 0;
}

/* ============== SERVICES ============== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(11,74,111,0.1), rgba(11,74,111,0.04));
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-card:hover .service-icon {
  background: var(--primary);
  color: #fff;
}
.service-icon svg { width: 30px; height: 30px; }
.service-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text);
  letter-spacing: -0.005em;
}
.service-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0 0 20px;
  flex: 1;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  transition: gap 0.2s;
}
.service-link:hover { gap: 10px; color: var(--accent-dark); }
.service-link svg { width: 14px; height: 14px; }

/* ============== PROCESS ============== */
.process { background: var(--bg-section); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}
.process-step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  transition: all 0.3s var(--ease);
}
.process-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.process-step-active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.process-step-active .step-num { background: var(--accent); color: #fff; }
.process-step-active h4 { color: #fff; }
.process-step-active p { color: rgba(255,255,255,0.8); }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(11,74,111,0.1);
  color: var(--primary);
  border-radius: 50%;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 16px;
}
.process-step h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text);
  letter-spacing: -0.005em;
}
.process-step p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

/* ============== WHY US ============== */
.why-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: start;
}
.why-side { position: sticky; top: 100px; }
.why-side .section-title { font-size: clamp(26px, 3vw, 36px); }
.why-side .btn { margin-top: 28px; }

.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.why-list li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 16px;
  transition: all 0.3s var(--ease);
}
.why-list li:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.why-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(216,135,66,0.1);
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-icon svg { width: 24px; height: 24px; }
.why-list h4 {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--text);
}
.why-list p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

/* ============== CTA BANNER ============== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  inset-inline-end: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(216,135,66,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
}
.cta-banner h3 {
  font-size: clamp(17px, 2vw, 23px);
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.cta-banner p {
  margin: 0;
  color: rgba(255,255,255,0.8);
  font-size: 15px;
}
.cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============== CONTACT ============== */
.contact { background: var(--bg-soft); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: center;
  transition: all 0.25s var(--ease);
}
a.contact-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.ci-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ci-icon svg { width: 26px; height: 26px; }
.contact-item .ci-label {
  display: block;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.contact-item strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.contact-item small {
  font-size: 12.5px;
  color: var(--text-light);
}

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.contact-form h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}
.form-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
}
.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.form-field input,
.form-field select,
.form-field textarea {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 14.5px;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(11,74,111,0.08);
}
.form-field textarea { resize: vertical; min-height: 100px; }
.form-note {
  font-size: 12.5px;
  color: var(--text-light);
  margin: 12px 0 0;
  text-align: center;
}

/* ============== FOOTER ============== */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.75);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 50px;
}
.footer-brand .logo-text strong { color: #fff; }
.footer-brand .logo-text small { color: rgba(255,255,255,0.6); }
.footer-brand p {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(255,255,255,0.7);
}
.footer-col h5 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 18px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--accent); }
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
}
.footer-contact svg {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.footer-bottom p { margin: 0; }
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-credit:hover { color: rgba(255,255,255,0.85); }
.footer-heart { color: #e05c6e; font-size: 14px; line-height: 1; }
.footer-credit a { color: rgba(255,255,255,0.75); text-decoration: none; transition: color 0.2s; }
.footer-credit a:hover { color: #fff; text-decoration: underline; }

/* ============== FLOATING WHATSAPP ============== */
.floating-wa {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  transition: transform 0.25s var(--ease);
}
.floating-wa:hover { transform: scale(1.08); }
.floating-wa svg { width: 28px; height: 28px; }

/* ============== REVEAL ============== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* ============== RESPONSIVE ============== */
@media (max-width: 1100px) {
  .hero { min-height: 520px; }
  .chip-1 { inset-inline-start: 42%; bottom: 80px; }
  .chip-2 { inset-inline-start: 52%; top: 80px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-side { position: static; }
  .why-list { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 760px) {
  .container { padding: 0 20px; }
  .header-inner { padding: 14px 20px; }
  .utility-bar { font-size: 12px; }
  .utility-left { gap: 14px; }
  .utility-left .util-item:last-child { display: none; }
  .main-nav { display: none; }
  .main-nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    inset-inline-start: 0;
    inset-inline-end: 0;
    flex-direction: column;
    background: #fff;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    align-items: stretch;
  }
  .main-nav.is-open a { padding: 12px; }
  .header-cta { display: none; }
  .nav-toggle { display: block; }

  .hero { min-height: 480px; }
  .hero-title { font-size: 28px; }
  .hero-content { padding-top: 50px; padding-bottom: 50px; }
  .hero-text { max-width: 100%; }
  .float-chip { display: none; }

  .section { padding: 70px 0; }
  .section-head { margin-bottom: 40px; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stat strong { font-size: 28px; }

  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .process-grid { grid-template-columns: 1fr; }
  .why-list { grid-template-columns: 1fr; }

  .cta-inner { flex-direction: column; text-align: center; }
  .cta-buttons { justify-content: center; width: 100%; }

  .contact-form { padding: 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
}
