

:root {
  --en-teal:       #0d5c55;
  --en-teal-dark:  #094039;
  --en-teal-light: #e7f2f0;
  --en-gold:       #c8a349;
  --en-gold-light: #e2c987;
  --en-text:       #1c2430;
  --en-muted:      #5d6b7a;
  --en-border:     #e3e8ee;
  --en-bg:         #ffffff;
  --en-bg-alt:     #f6f9f9;
  --en-radius:     14px;
  --en-shadow:     0 2px 14px rgba(13, 92, 85, .07);
}

@font-face {
  font-family: 'IRANYekanX';
  font-weight: 400; font-style: normal; font-display: swap;
  src: url('/fonts/iran/IRANYekanX-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'IRANYekanX';
  font-weight: 700; font-style: normal; font-display: swap;
  src: url('/fonts/iran/IRANYekanX-Bold.woff2') format('woff2');
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  overflow-x: clip;
  font-family: 'Segoe UI', 'IRANYekanX', system-ui, -apple-system, Arial, sans-serif;
  color: var(--en-text);
  background: var(--en-bg);
  line-height: 1.75;
  font-size: 16px;
  direction: ltr;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--en-teal); text-decoration: none; }
a:hover { color: var(--en-gold); }

.en-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

.en-skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--en-teal); color: #fff; padding: 10px 16px; z-index: 999;
}
.en-skip:focus { left: 8px; top: 8px; color: #fff; }

.en-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--en-border);
  transition: box-shadow .2s;
}
.en-header.is-compact { box-shadow: 0 2px 12px rgba(0, 0, 0, .07); }

.en-topbar {
  background: var(--en-teal-dark);
  color: #cfe0dd;
  overflow: hidden;
  max-height: 46px;
  transition: max-height .25s ease, opacity .2s ease;
}
.en-header.is-compact .en-topbar { max-height: 0; opacity: 0; }

.en-topbar-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 46px;
}
.en-topbar-contact { display: flex; align-items: center; gap: 18px; min-width: 0; }
.en-topbar-contact a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: #cfe0dd; white-space: nowrap;
}
.en-topbar-contact a:hover { color: #fff; }
.en-topbar-contact svg { width: 14px; height: 14px; fill: currentColor; opacity: .85; }
.en-topbar-lang { flex-shrink: 0; }

.en-topbar .lang-switch {
  border-color: rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  padding: 2px;
}
.en-topbar .lang-switch-ico { color: #cfe0dd; width: 18px; height: 18px; margin-left: 3px; }
.en-topbar .lang-switch-ico svg { width: 14px; height: 14px; }
.en-topbar .lang-opt { color: #cfe0dd; font-size: 12px; padding: 4px 11px; }
.en-topbar a.lang-opt:hover { background: rgba(255,255,255,.14); color: #fff; }
.en-topbar .lang-opt.is-active { background: var(--en-gold); color: #fff; box-shadow: none; }

.en-header-in {
  display: flex; align-items: center; gap: 22px;
  min-height: 68px;
  transition: min-height .2s;
}
.en-header.is-compact .en-header-in { min-height: 58px; }

.en-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 16px; color: var(--en-teal);
  flex-shrink: 0; line-height: 1.3;
}
.en-logo img { height: 44px; width: auto; transition: height .2s; }
.en-header.is-compact .en-logo img { height: 36px; }

.en-nav { margin-left: auto; min-width: 0; }
.en-nav ul {
  display: flex; align-items: center; gap: 2px;
  list-style: none; margin: 0; padding: 0;
  flex-wrap: wrap; justify-content: flex-end;
}
.en-nav a {
  display: block; padding: 8px 11px; border-radius: 8px;
  font-size: 14px; font-weight: 600; color: var(--en-text);
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.en-nav a:hover { background: var(--en-teal-light); color: var(--en-teal); }
.en-nav a.is-active { background: var(--en-teal); color: #fff; }
.en-nav-close { display: none; }

.en-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.en-ham {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  align-items: center;
  width: 42px; height: 42px; padding: 0;
  background: #fff; border: 1px solid var(--en-border); border-radius: 10px;
  cursor: pointer; flex-shrink: 0;
}
.en-ham span { display: block; width: 20px; height: 2px; background: var(--en-teal); border-radius: 2px; }

.en-overlay {
  position: fixed; inset: 0; background: rgba(10, 25, 30, .45);
  opacity: 0; visibility: hidden; transition: opacity .2s; z-index: 90;
}
.en-overlay.show { opacity: 1; visibility: visible; }

.en-hero {
  background: linear-gradient(160deg, var(--en-teal-light) 0%, #fff 60%);
  padding: 60px 0 66px;
  border-bottom: 1px solid var(--en-border);
}
.en-hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }

.en-eyebrow {
  display: inline-block; margin-bottom: 14px;
  background: var(--en-gold); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 13px; border-radius: 999px;
}
.en-hero h1 {
  margin: 0 0 18px; font-size: 39px; line-height: 1.28; font-weight: 800;
  color: var(--en-teal-dark); letter-spacing: -.01em;
}
.en-hero p { margin: 0 0 14px; color: var(--en-muted); font-size: 15.5px; }

.en-hero-img img {
  width: 100%; border-radius: var(--en-radius);
  box-shadow: 0 10px 34px rgba(13, 92, 85, .16);
  aspect-ratio: 4 / 3; object-fit: cover;
}

.en-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.en-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px;
  font-weight: 700; font-size: 15px; cursor: pointer;
  transition: transform .12s, background .15s, color .15s, box-shadow .15s;
}
.en-btn svg { width: 18px; height: 18px; fill: currentColor; }
.en-btn:active { transform: translateY(1px); }

.en-btn-primary { background: var(--en-teal); color: #fff; box-shadow: 0 4px 14px rgba(13, 92, 85, .28); }
.en-btn-primary:hover { background: var(--en-teal-dark); color: #fff; }

.en-btn-ghost { border: 1.5px solid var(--en-teal); color: var(--en-teal); }
.en-btn-ghost:hover { background: var(--en-teal); color: #fff; }

.en-sec { padding: 64px 0; scroll-margin-top: 90px; }
.en-sec-alt { background: var(--en-bg-alt); }

.en-h2 {
  margin: 0 0 22px; font-size: 30px; line-height: 1.35; font-weight: 800;
  color: var(--en-teal-dark); position: relative; padding-bottom: 14px;
}
.en-h2::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 62px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--en-gold), var(--en-gold-light));
}

.en-h3 { margin: 26px 0 12px; font-size: 18px; font-weight: 700; color: var(--en-teal); }

.en-sec p { color: var(--en-muted); margin: 0 0 14px; font-size: 15.5px; }

.en-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.en-card {
  background: #fff; border: 1px solid var(--en-border); border-radius: var(--en-radius);
  padding: 28px 24px; box-shadow: var(--en-shadow);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.en-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(13, 92, 85, .13);
  border-color: var(--en-gold-light);
}
.en-card-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 16px;
  background: var(--en-teal-light);
}
.en-card-ico svg { width: 26px; height: 26px; fill: var(--en-teal); }
.en-card h3 { margin: 0 0 10px; font-size: 19px; font-weight: 700; color: var(--en-teal-dark); }
.en-card p { margin: 0; font-size: 14.5px; }

.en-split {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 46px;
  align-items: stretch;
}
.en-split-rev .en-split-text { order: 2; }
.en-split-rev .en-split-img  { order: 1; }

.en-split-text { align-self: center; }

.en-split-img {
  position: relative;
  overflow: hidden;
  align-self: stretch;
  background: #fff;
  border: 1px solid var(--en-border);
  border-radius: var(--en-radius);
  box-shadow: var(--en-shadow);
  min-height: 260px;
  max-height: 520px;
}
.en-split-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* logos and anything with margins that must not be cropped */
.en-split-img.is-contain {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  max-height: 420px;
}
.en-split-img.is-contain img {
  position: static;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.en-tags { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; margin: 0; padding: 0; }
.en-tags li {
  background: var(--en-teal-light); color: var(--en-teal);
  border: 1px solid #cfe3e0; border-radius: 999px;
  padding: 6px 15px; font-size: 14px; font-weight: 600;
}

.en-brandlist { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.en-brandrow {
  background: #fff; border: 1px solid var(--en-border);
  border-left: 3px solid var(--en-gold);
  border-radius: 10px; padding: 14px 18px;
}
.en-brandname {
  display: block; font-weight: 700; font-size: 16px; color: var(--en-teal-dark);
  margin-bottom: 4px;
}
.en-branditems { display: block; font-size: 14px; color: var(--en-muted); line-height: 1.7; }

.en-contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; }
.en-contact-box {
  background: #fff; border: 1px solid var(--en-border); border-radius: var(--en-radius);
  padding: 28px 26px; box-shadow: var(--en-shadow);
}
.en-contact-box .en-h3 { margin-top: 0; }

.en-contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.en-contact-list li {
  display: grid; grid-template-columns: 42px 1fr; gap: 4px 14px; align-items: center;
}
.en-contact-list li > span:nth-child(2) {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--en-muted);
}
.en-contact-list li a {
  grid-column: 2; font-weight: 700; font-size: 16px; direction: ltr;
}
.en-ci {
  grid-row: span 3;
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px; background: var(--en-teal-light);
}
.en-ci svg { width: 20px; height: 20px; fill: var(--en-teal); }
.en-ci-wa { background: #e6f7ec; }
.en-ci-wa svg { fill: #25d366; }

.en-consult { background: linear-gradient(150deg, var(--en-teal-light), #fff 70%); }

.en-footer { background: var(--en-teal-dark); color: #cfe0dd; padding: 26px 0; margin-top: 0; }
.en-footer-in { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.en-footer p { margin: 0; font-size: 14px; }
.en-footer a { color: var(--en-gold-light); font-weight: 700; }
.en-footer a:hover { color: #fff; }

@media (max-width: 1024px) {
  .en-hero-in { grid-template-columns: 1fr; gap: 30px; }
  .en-hero h1 { font-size: 32px; }
  .en-split, .en-contact { grid-template-columns: 1fr; gap: 28px; }
  .en-split-rev .en-split-text,
  .en-split-rev .en-split-img { order: 0; }
  .en-split-img { min-height: 0; max-height: none; aspect-ratio: 16 / 9; }
  .en-split-img.is-contain { aspect-ratio: 16 / 7; max-height: none; }
  .en-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1150px) {
  .en-nav a { padding: 8px 9px; font-size: 13.5px; }
  .en-logo { font-size: 15px; }
  .en-logo img { height: 40px; }
  .en-topbar-contact { gap: 14px; }
}

@media (max-width: 1000px) {
  .en-logo span { display: none; }
}

@media (max-width: 860px) {
  .en-logo span { display: inline; }
  .en-topbar-lang { display: none; }
  .en-topbar-hide-sm { display: none; }
  .en-header.is-compact .en-topbar { max-height: 46px; opacity: 1; }
  .en-ham { display: flex; }

  .en-nav {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(84vw, 320px);
    max-width: 100vw;
    background: #fff; z-index: 110;
    margin: 0;
    padding: 68px 20px 28px;
    transform: translateX(105%);
    transition: transform .25s ease;
    box-shadow: -6px 0 26px rgba(0, 0, 0, .12);
    overflow-y: auto;
    overscroll-behavior: contain;
    display: block;
  }
  .en-nav.open { transform: translateX(0); }
  .en-nav ul { flex-direction: column; align-items: stretch; gap: 2px; margin: 0; flex-wrap: nowrap; }
  .en-nav a { padding: 13px 14px; font-size: 16px; border-radius: 10px; }

  .en-nav-close {
    display: block; position: absolute; top: 16px; right: 16px;
    width: 40px; height: 40px; border: 1px solid var(--en-border);
    background: #fff; border-radius: 10px; font-size: 18px; line-height: 1;
    cursor: pointer; color: var(--en-text); z-index: 2;
  }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .en-hero { padding: 40px 0 46px; }
  .en-hero h1 { font-size: 26px; }
  .en-sec { padding: 46px 0; }
  .en-h2 { font-size: 24px; }
  .en-cards { grid-template-columns: 1fr; }
  .en-split-img { aspect-ratio: 4 / 3; }
  .en-split-img.is-contain { padding: 18px; aspect-ratio: 16 / 8; }
  .en-btn { padding: 11px 20px; font-size: 14.5px; }
  .en-footer-in { flex-direction: column; text-align: center; }
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1.5px solid var(--en-gold);
  border-radius: 999px;
  background: #fff;
  flex-shrink: 0;
}
.lang-switch-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; margin-left: 4px; color: var(--en-teal); flex-shrink: 0;
}
.lang-switch-ico svg { width: 16px; height: 16px; fill: currentColor; }
.lang-opt {
  display: inline-block; padding: 5px 13px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; line-height: 1.6;
  color: var(--en-muted); text-decoration: none; white-space: nowrap;
  transition: background .16s, color .16s;
}
a.lang-opt:hover { background: var(--en-teal-light); color: var(--en-teal); }
.lang-opt.is-active {
  background: var(--en-teal); color: #fff; cursor: default;
  box-shadow: 0 1px 4px rgba(13,92,85,.25);
}
.lang-switch.is-block { display: flex; width: 100%; }
.lang-switch.is-block .lang-opt { flex: 1; text-align: center; font-size: 14px; padding: 9px 10px; }

.en-nav-lang { display: none; }

.en-lang-mobile {
  display: none; align-items: center; gap: 4px;
  height: 36px; padding: 0 11px; border-radius: 999px;
  border: 1.5px solid var(--en-gold); background: #fff;
  color: var(--en-teal); font-size: 12px; font-weight: 800; text-decoration: none;
  flex-shrink: 0;
}
.en-lang-mobile svg { width: 15px; height: 15px; fill: currentColor; }

.en-split-solo { grid-template-columns: 1fr; }

@media (max-width: 860px) {
  .en-lang-desktop { display: none; }
  .en-lang-mobile  { display: inline-flex; }
  .en-nav-lang {
    display: block;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--en-border);
  }
}

@media (max-width: 380px) {
  .en-lang-mobile span { display: none; }
  .en-lang-mobile { padding: 0 9px; }
}
