/* ==========================================================================
   آرمان تجارت آدرین — Adriyan Co.
   قالب ری‌دیزاین | مینیمال، مدرن، راست‌چین
   ========================================================================== */

/* ----- Design Tokens ----- */
:root {
  /* برند (برگرفته از لوگو) */
  --brand:        #2f7b88;   /* پترول/تیل */
  --brand-deep:   #1d4b56;   /* اسلیت تیره */
  --brand-ink:    #12333b;
  --mint:         #54a8a8;
  --mint-soft:    #e8f4f3;
  --magenta:      #ca326e;   /* تاکید تیز */
  --magenta-soft: #fbe9f1;

  /* سطوح */
  --paper:        #f6f5f1;
  --paper-2:      #efede6;
  --surface:      #ffffff;
  --ink:          #14181a;
  --ink-soft:     #3c4448;
  --muted:        #798387;
  --line:         #e5e2d8;
  --line-strong:  #d4d0c3;

  --accent:       var(--brand);
  --accent-soft:  var(--mint-soft);
  --accent-ink:   var(--brand-deep);

  /* تایپوگرافی */
  --font: "Vazirmatn", ui-sans-serif, system-ui, "Segoe UI", Tahoma, sans-serif;

  /* هندسه */
  --radius:   16px;
  --radius-s: 11px;
  --radius-l: 26px;
  --container: 1200px;
  --gutter: 24px;

  --shadow-sm: 0 1px 2px rgba(18,51,59,.05), 0 4px 14px rgba(18,51,59,.06);
  --shadow-md: 0 10px 34px rgba(18,51,59,.10);
  --shadow-lg: 0 30px 70px -20px rgba(18,51,59,.28);
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out-back: cubic-bezier(.34,1.4,.64,1);
}

:root[data-theme="dark"] {
  --brand:        #4fb3bf;
  --brand-deep:   #0d2b31;
  --brand-ink:    #d9f2f2;
  --mint:         #6fc7bd;
  --mint-soft:    #14262a;
  --magenta:      #f26fa1;
  --magenta-soft: #2a1620;

  --paper:        #0e1113;
  --paper-2:      #14181a;
  --surface:      #171c1e;
  --ink:          #f0f2f1;
  --ink-soft:     #c5cbc9;
  --muted:        #8b9490;
  --line:         #262d30;
  --line-strong:  #333c40;

  --accent:       var(--brand);
  --accent-soft:  var(--mint-soft);
  --accent-ink:   var(--brand-ink);
  --shadow-lg: 0 30px 70px -20px rgba(0,0,0,.6);
}

/* ----- Reset ----- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  direction: rtl;
  overflow-x: hidden;
}
img,svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--magenta); color: #fff; }

/* اسکرول‌بار */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 10px; border: 2px solid var(--paper-2); }
::-webkit-scrollbar-thumb:hover { background: var(--brand); }

/* ----- Typography ----- */
h1,h2,h3,h4 { line-height: 1.32; font-weight: 800; letter-spacing: -0.015em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5vw); font-weight: 800; line-height: 1.18; }
h2 { font-size: clamp(1.7rem, 3.4vw, 0rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
p { color: var(--ink-soft);  text-align: justify;}

.footer-about {
	color: #a4b0b4;
}


.lead  { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-soft); font-weight: 400; line-height: 1.9; }

.gradient-text {
  background: linear-gradient(100deg, var(--brand) 0%, var(--mint) 45%, var(--magenta) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

/* ----- Layout ----- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(66px, 9vw, 130px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.grid { display: grid; gap: 28px; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.maxw-640 { max-width: 640px; }

/* ----- Kicker ----- */
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .8rem; font-weight: 700; letter-spacing: .02em;
  color: var(--brand);
  padding: 6px 14px;
  border: 1px solid color-mix(in srgb, var(--brand) 26%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 7%, transparent);
}
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--magenta); box-shadow: 0 0 0 3px color-mix(in srgb, var(--magenta) 22%, transparent); }

.section-head { max-width: 660px; margin-bottom: 54px; }
.center.section-head { margin-inline: auto; }
.section-head h2 { margin-top: 16px; }
.section-head p { margin-top: 14px; }

/* ----- Buttons ----- */
.btn {
  --btn-bg: var(--brand);
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700; font-size: .95rem;
  border: 1px solid transparent;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), color .3s, border-color .3s;
}
.btn svg { width: 17px; height: 17px; position: relative; z-index: 1; }
.btn span { position: relative; z-index: 1; }
.btn--primary {
  color: #fff;
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand) 42%, var(--mint) 150%);
  background-size: 180% 100%;
  background-position: right center;
  box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--brand) 80%, transparent);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-position .55s var(--ease);
}
.btn--primary:hover { background-position: left center; transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-3px); }
.btn--light { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.32); backdrop-filter: blur(6px); }
.btn--light:hover { background: rgba(255,255,255,.28); transform: translateY(-3px); }
.btn--block { width: 100%; justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; color: var(--brand); font-size: .92rem;
  position: relative;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow::after {
  content: ""; position: absolute; bottom: -3px; inset-inline-end: 0;
  width: 0; height: 2px; background: var(--magenta);
  transition: width .35s var(--ease);
}
.link-arrow:hover svg { transform: translateX(-5px); }
.link-arrow:hover::after { width: 100%; }

/* ----- Scroll progress ----- */
.scroll-progress {
  position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 200;
  background: linear-gradient(90deg, var(--brand), var(--mint), var(--magenta));
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .1s linear;
}
:root[dir="rtl"] .scroll-progress,
body { }
.scroll-progress { transform-origin: right center; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.site-header.is-scrolled {
  border-color: var(--line);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  box-shadow: 0 6px 24px -12px rgba(18,51,59,.14);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 82px; gap: 22px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__logo {
  width: 46px; height: 46px; border-radius: 13px;
  background: #fff; padding: 3px;
  box-shadow: var(--shadow-sm);
  object-fit: contain;
  transition: transform .4s var(--ease-out-back);
}
.brand:hover .brand__logo { transform: rotate(-6deg) scale(1.06); }
.brand__text b { display: block; font-weight: 800; font-size: 1rem; letter-spacing: -0.02em; line-height: 1.4; }
.brand__text small { display: block; font-size: .7rem; font-weight: 500; color: var(--muted); }

.nav__menu { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.nav__menu > li { position: relative; }
.nav__menu a {
  display: block; padding: 9px 14px;
  font-size: .92rem; font-weight: 600; color: var(--ink-soft);
  border-radius: 9px; transition: color .2s, background .2s;
}
.nav__menu a:hover, .nav__menu a.is-active { color: var(--brand); background: color-mix(in srgb, var(--brand) 7%, transparent); }

.nav__has-sub > a::after {
  content: ""; display: inline-block; width: 6px; height: 6px;
  border-inline-start: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(-45deg); margin-inline-start: 7px; vertical-align: middle; opacity: .5;
  transition: transform .3s;
}
.nav__sub {
  position: absolute; top: calc(100% + 12px); inset-inline-end: 0;
  min-width: 240px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .26s var(--ease);
}
.nav__has-sub:hover .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub a { padding: 11px 13px; font-size: .88rem; border-radius: 8px; }
.nav__sub a:hover { padding-inline-start: 18px; }

.nav__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.theme-toggle {
  width: 42px; height: 42px; border-radius: 11px;
  border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink-soft);
  transition: border-color .2s, color .2s, transform .4s var(--ease-out-back);
}
.theme-toggle:hover { border-color: var(--brand); color: var(--brand); transform: rotate(40deg); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.nav__burger { display: none; width: 44px; height: 44px; border-radius: 11px; border: 1px solid var(--line); color: var(--ink); }
.nav__burger span { display: block; width: 18px; height: 1.7px; background: currentColor; margin: 3.6px auto; transition: transform .3s, opacity .3s; }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(5.3px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-5.3px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding-block: clamp(56px, 8vw, 104px); overflow: hidden; }
.hero__bg {
  position: absolute; inset: -2px; z-index: -2;
  overflow: hidden;
}
.hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1) translateY(0); } to { transform: scale(1.12) translateY(-2%); } }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to left, var(--paper) 0%, var(--paper) 34%, color-mix(in srgb, var(--paper) 60%, transparent) 100%),
    linear-gradient(to top, var(--paper) 4%, transparent 42%);
}
.hero__mesh {
  position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background:
    radial-gradient(500px 380px at 88% 8%, color-mix(in srgb, var(--mint) 30%, transparent), transparent 70%),
    radial-gradient(420px 320px at 10% 92%, color-mix(in srgb, var(--magenta) 14%, transparent), transparent 70%);
}

.hero__grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 56px; align-items: center; }
.hero__title { margin: 22px 0 22px; }
.hero__title .em-wrap { position: relative; display: inline-block; }
.hero__title .em-wrap::after {
  content: ""; position: absolute; inset-inline: -4px; bottom: 6px; height: 12px; z-index: -1;
  background: color-mix(in srgb, var(--magenta) 26%, transparent);
  border-radius: 4px;
  transform: scaleX(0); transform-origin: right;
  animation: swipe 1s .5s var(--ease) forwards;
}
@keyframes swipe { to { transform: scaleX(1); } }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__stats { display: flex; gap: 34px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero__stat b { display: block; font-size: 1.75rem; font-weight: 800; letter-spacing: -0.02em; color: var(--brand); }
.hero__stat span { font-size: .84rem; color: var(--muted); }

.hero__visual { position: relative; }
.hero__visual .frame {
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 4/4.5;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero__visual .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__visual .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 40%, color-mix(in srgb, var(--brand-deep) 55%, transparent)); }

.floaty { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.hero__card {
  position: absolute; inset-inline-start: -26px; bottom: 40px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex; align-items: center; gap: 13px;
  box-shadow: var(--shadow-lg);
  max-width: 260px;
}
.hero__card .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--mint-soft); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.hero__card .ic svg { width: 20px; height: 20px; }
.hero__card b { font-size: .9rem; display: block; }
.hero__card span { font-size: .78rem; color: var(--muted); }

.hero__badge {
  position: absolute; top: 26px; inset-inline-end: -18px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 999px; padding: 9px 17px;
  font-size: .8rem; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-md);
}
.hero__badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.22); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(34,197,94,.22); } 50% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } }

/* ----- Marquee ----- */
.marquee { border-block: 1px solid var(--line); background: var(--paper-2); padding-block: 22px; overflow: hidden; }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-weight: 800; font-size: 1.05rem; color: var(--ink-soft); letter-spacing: -0.01em; display: flex; align-items: center; gap: 56px; white-space: nowrap; }
.marquee__track span::after { content: "•"; color: var(--magenta); }
@keyframes marquee { to { transform: translateX(50%); } }

/* ==========================================================================
   Services
   ========================================================================== */
.svc-grid { grid-template-columns: repeat(3, 1fr); }
.svc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative; overflow: hidden;
  transition: transform .4s var(--ease), border-color .3s, box-shadow .3s;
}
.svc-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--mint), var(--magenta));
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: var(--shadow-lg); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card__icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--mint-soft); color: var(--brand);
  display: grid; place-items: center;
  transition: transform .45s var(--ease-out-back), background .3s, color .3s;
}
.svc-card:hover .svc-card__icon { transform: rotate(-8deg) scale(1.08); background: var(--brand); color: #fff; }
.svc-card__icon svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: 1.2rem; }
.svc-card p { font-size: .92rem; flex-grow: 1; }

/* ----- Feature split ----- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media {
  border-radius: var(--radius-l); overflow: hidden;
  aspect-ratio: 5/4.2;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.split__media:hover img { transform: scale(1.06); }
.split__media .tag {
  position: absolute; inset-inline-start: 18px; bottom: 18px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  padding: 9px 15px; border-radius: 999px;
  font-size: .8rem; font-weight: 700;
}
.split ul.check { margin-top: 24px; display: grid; gap: 13px; }
.check li { display: flex; gap: 11px; align-items: flex-start; font-size: .95rem; color: var(--ink-soft); }
.check li::before {
  content: ""; flex-shrink: 0; width: 21px; height: 21px; margin-top: 3px; border-radius: 7px;
  background: var(--mint-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%232f7b88' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

/* ----- Stats band ----- */
.stats-band { position: relative; overflow: hidden; color: #fff; }
.stats-band__bg { position: absolute; inset: 0; z-index: 0; }
.stats-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.stats-band__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, color-mix(in srgb, var(--brand-deep) 94%, transparent), color-mix(in srgb, var(--brand) 82%, transparent)); }
.stats-band .container { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat-item { text-align: center; }
.stat-item b { display: block; font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; letter-spacing: -0.02em; }
.stat-item span { font-size: .9rem; opacity: .82; }

.stats-band--soft { background: var(--paper-2); color: var(--ink); border-block: 1px solid var(--line); }
.stats-band--soft .stat-item b { color: var(--brand); }
.stats-band--soft .stat-item span { color: var(--muted); opacity: 1; }
.stats-band--soft .stats-band__bg { display: none; }

/* ----- Process ----- */
.steps { grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding-top: 26px; }
.step__num {
  font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.4px color-mix(in srgb, var(--brand) 45%, transparent);
}
.step h3 { font-size: 1.06rem; margin: 12px 0 8px; }
.step p { font-size: .88rem; }
.step::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 2px; background: var(--line); }
.step::after { content: ""; position: absolute; top: -4px; inset-inline-end: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--magenta); }

/* ----- Testimonials ----- */
.quote-grid { grid-template-columns: repeat(3, 1fr); }
.quote-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; display: flex; flex-direction: column; gap: 16px;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.quote-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.quote-card__mark { font-size: 2.4rem; line-height: .5; color: var(--mint); font-family: Georgia, serif; }
.quote-card__stars { color: #e8b23a; letter-spacing: 2px; font-size: .88rem; }
.quote-card p { font-size: .95rem; color: var(--ink); flex-grow: 1; }
.quote-card__who { display: flex; align-items: center; gap: 12px; }
.quote-card__avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--mint)); color: #fff; display: grid; place-items: center; font-weight: 800; }
.quote-card__who b { font-size: .9rem; display: block; }
.quote-card__who span { font-size: .8rem; color: var(--muted); }

/* ----- CTA band ----- */
.cta {
  position: relative; overflow: hidden;
  border-radius: var(--radius-l);
  padding: clamp(44px, 6vw, 76px);
  text-align: center; color: #fff;
  isolation: isolate;
}
.cta__bg { position: absolute; inset: 0; z-index: -2; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, color-mix(in srgb, var(--brand-ink) 92%, transparent), color-mix(in srgb, var(--brand-deep) 80%, transparent)); }
.cta__glow { position: absolute; inset: 0; z-index: -1; opacity: .8; background: radial-gradient(340px 220px at var(--mx,50%) var(--my,0%), color-mix(in srgb, var(--mint) 45%, transparent), transparent 70%); transition: background .2s; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.78); margin: 14px auto 30px; max-width: 540px; }
.cta .btn--ghost { border-color: rgba(255,255,255,.34); color: #fff; }
.cta .btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.1); }

/* ==========================================================================
   Blog
   ========================================================================== */
.post-grid { grid-template-columns: repeat(3, 1fr); }
.post-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card__thumb { aspect-ratio: 16/10; position: relative; overflow: hidden; }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post-card:hover .post-card__thumb img { transform: scale(1.08); }
.post-card__thumb span {
  position: absolute; top: 12px; inset-inline-end: 12px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(6px);
  font-size: .74rem; font-weight: 700; padding: 5px 11px; border-radius: 999px;
  color: var(--brand); border: 1px solid var(--line);
}
.post-card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.post-card__meta { font-size: .78rem; color: var(--muted); }
.post-card h3 { font-size: 1.08rem; line-height: 1.6; }
.post-card p { font-size: .88rem; flex-grow: 1; }

/* ----- Article ----- */
.article { max-width: 760px; margin-inline: auto; }
.article__head { margin-bottom: 36px; }
.article__head h1 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); margin: 16px 0; line-height: 1.28; }
.article__cover { aspect-ratio: 16/8; border-radius: var(--radius-l); overflow: hidden; margin-bottom: 40px; box-shadow: var(--shadow-lg); }
.article__cover img { width: 100%; height: 100%; object-fit: cover; }
.article__body > * + * { margin-top: 22px; }
.article__body h2 { font-size: 1.5rem; margin-top: 46px; }
.article__body h3 { font-size: 1.2rem; margin-top: 32px; }
.article__body p, .article__body li { color: var(--ink-soft); line-height: 1.95; }
.article__body ul { padding-inline-start: 22px; list-style: disc; display: grid; gap: 8px; }
.article__body blockquote {
  border-inline-start: 3px solid var(--magenta);
  padding: 6px 20px; color: var(--ink); font-weight: 600; font-size: 1.12rem;
  background: var(--magenta-soft); border-radius: 0 var(--radius-s) var(--radius-s) 0;
}

/* ==========================================================================
   Page hero (inner)
   ========================================================================== */
.page-hero {
  position: relative; overflow: hidden;
  padding-block: clamp(64px, 9vw, 120px);
  color: #fff;
}
.page-hero__bg { position: absolute; inset: 0; z-index: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 26s ease-in-out infinite alternate; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, color-mix(in srgb, var(--brand-ink) 90%, transparent) 20%, color-mix(in srgb, var(--brand) 55%, transparent)); }
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { font-size: .82rem; color: rgba(255,255,255,.72); display: flex; gap: 8px; margin-bottom: 16px; }
.breadcrumb a:hover { color: #fff; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3rem); }
.page-hero p { color: rgba(255,255,255,.82); margin-top: 14px; max-width: 640px; }
.page-hero .hero__actions { margin-top: 28px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.info-list { display: grid; gap: 20px; margin-top: 28px; }
.info-item { display: flex; gap: 15px; align-items: flex-start; }
.info-item__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--mint-soft); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.info-item__icon svg { width: 20px; height: 20px; }
.info-item b { font-size: .95rem; display: block; margin-bottom: 2px; }
.info-item span, .info-item a { font-size: .9rem; color: var(--ink-soft); }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(26px, 4vw, 42px); box-shadow: var(--shadow-md); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-s);
  background: var(--paper); font-family: inherit; font-size: .92rem; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.map-embed { margin-top: 30px; border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/6.5; }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.2); }

/* ----- Branches ----- */
.branch-grid { grid-template-columns: repeat(3, 1fr); }
.branch-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--surface);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .3s;
}
.branch-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.branch-card b { font-size: 1rem; display: flex; align-items: center; gap: 8px; }
.branch-card b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--magenta); }
.branch-card p { font-size: .87rem; margin-top: 10px; }
.branch-card span { font-size: .84rem; color: var(--muted); display: block; margin-top: 8px; }

/* ----- Values / team ----- */
.value-grid { grid-template-columns: repeat(3, 1fr); }
.value-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); position: relative; overflow: hidden; }
.value-card__n { font-size: 2.2rem; font-weight: 800; color: transparent; -webkit-text-stroke: 1.3px color-mix(in srgb, var(--magenta) 50%, transparent); line-height: 1; }
.value-card h3 { font-size: 1.1rem; margin: 12px 0 8px; }
.value-card p { font-size: .9rem; }

.team-grid { grid-template-columns: repeat(4, 1fr); }
.team-card { text-align: center; }
.team-card__photo { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .5s; }
.team-card:hover .team-card__photo img { filter: grayscale(0); }
.team-card b { font-size: .95rem; display: block; }
.team-card span { font-size: .82rem; color: var(--muted); }

/* ----- FAQ ----- */
.faq { max-width: 780px; margin-inline: auto; display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surface); overflow: hidden; transition: border-color .3s; }
.faq__item.is-open { border-color: color-mix(in srgb, var(--brand) 40%, transparent); }
.faq__q { width: 100%; text-align: start; padding: 19px 22px; font-weight: 700; font-size: .98rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__q::after { content: "+"; font-size: 1.4rem; font-weight: 300; color: var(--brand); transition: transform .3s; flex-shrink: 0; }
.faq__item.is-open .faq__q::after { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq__a p { padding: 0 22px 20px; font-size: .92rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--brand-ink); color: rgba(255,255,255,.66); padding-block: 68px 30px; margin-top: 24px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--mint), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer .brand { margin-bottom: 16px; }
.site-footer .brand__text b { color: #fff; }
.site-footer .brand__text small { color: rgba(255,255,255,.5); }
.footer-about { font-size: .88rem; line-height: 1.95; max-width: 330px; }
.footer-col h4 { color: #fff; font-size: .92rem; margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; font-size: .87rem; transition: color .2s, padding .2s; }
.footer-col a:hover { color: #fff; padding-inline-start: 6px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: .82rem; flex-wrap: wrap; gap: 12px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; display: grid; place-items: center; transition: background .25s, border-color .25s, transform .3s; }
.footer-social a:hover { background: var(--brand); border-color: var(--brand); transform: translateY(-3px); }
.footer-social svg { width: 16px; height: 16px; }

/* ==========================================================================
   Reveal / motion
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .09s; }
[data-reveal][data-delay="2"] { transition-delay: .18s; }
[data-reveal][data-delay="3"] { transition-delay: .27s; }
[data-reveal][data-delay="4"] { transition-delay: .36s; }

[data-reveal="clip"] { opacity: 0; clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease), opacity .6s; }
[data-reveal="clip"].is-visible { opacity: 1; clip-path: inset(0 0 0 0); }

.tilt { transition: transform .3s var(--ease); transform-style: preserve-3d; will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; clip-path: none; }
  .hero__bg img, .page-hero__bg img { animation: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { max-width: 460px; margin-inline: auto; }
  .hero__card { inset-inline-start: 0; }
  .hero__badge { inset-inline-end: 0; }
  .svc-grid, .quote-grid, .post-grid, .branch-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band .container { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split__media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .nav__menu, .nav__actions .btn { display: none; }
  .nav__burger { display: block; }
  .nav__menu {
    position: fixed; inset: 82px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 16px var(--gutter) 26px;
    max-height: calc(100dvh - 82px); overflow-y: auto;
    transform: translateY(-120%); transition: transform .38s var(--ease);
  }
  .nav.is-open .nav__menu { display: flex; transform: none; }
  .nav__menu a { padding: 13px 12px; font-size: 1rem; border-radius: 10px; }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px; background: transparent; display: none; }
  .nav__has-sub.is-expanded .nav__sub { display: block; }
  .nav__has-sub.is-expanded > a::after { transform: rotate(135deg); }
  .nav__sub a { padding-inline-start: 26px; color: var(--muted); }

  .svc-grid, .quote-grid, .post-grid, .branch-grid, .value-grid, .steps, .team-grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 22px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
}


.footer-col p {
	color: #a5b2b5a1;
}

.footer-col h5 {
	font-weight: bold !important;
	font-size: 15px;
}

.footer-office p {
	color: #a2a2a2;
}
.footer-offices {
	margin-top: 20px;
}