/* ==========================================================================
   Adena Saman — public site styles (RTL)
   Brand colours are taken from the company logo.
   ========================================================================== */

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --blue: #3e8fcb;
  --blue-600: #2d78b3;
  --blue-50: #eef6fc;
  --blue-100: #d9ebf8;
  --navy: #38526f;
  --navy-800: #2a4059;
  --navy-900: #1b2b3f;
  --orange: #f06832;
  --orange-600: #d9561f;
  --orange-50: #fff1ea;
  --peach: #fdd1a0;
  --peach-50: #fff7ee;
  --ink: #1d2a3a;
  --muted: #5b6b7d;
  --line: #e3e9f0;
  --bg: #f6f9fc;
  --white: #fff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(27, 43, 63, 0.06);
  --shadow: 0 10px 30px rgba(27, 43, 63, 0.09);
  --shadow-lg: 0 24px 60px rgba(27, 43, 63, 0.14);
  --container: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Vazirmatn", Tahoma, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.45; color: var(--navy-900); font-weight: 800; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding-block: 84px; }
.section.alt { background: var(--bg); }
.section.tint { background: var(--peach-50); }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head.start { margin-inline: 0; text-align: start; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .85rem; font-weight: 700; color: var(--blue-600);
  background: var(--blue-50); padding: 4px 14px; border-radius: 99px; margin-bottom: 14px;
}
.eyebrow.orange { color: var(--orange-600); background: var(--orange-50); }
.section-head h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.section-head p { color: var(--muted); }

.icon { width: 1.25em; height: 1.25em; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 26px; border-radius: 99px; border: 2px solid transparent;
  font-weight: 700; font-size: .98rem; cursor: pointer; line-height: 1.5;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(240, 104, 50, .3); }
.btn-primary:hover { background: var(--orange-600); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(62, 143, 203, .3); }
.btn-blue:hover { background: var(--blue-600); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-white { background: #fff; color: var(--navy-900); }
.btn-ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--navy-900); }
.btn-sm { padding: 8px 18px; font-size: .9rem; }
.btn .icon { transition: transform .2s; }
.btn:hover .icon-arrow { transform: translateX(-4px); }

/* Top bar & header ------------------------------------------------------ */
.topbar { background: var(--navy-900); color: #cfd9e5; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar a:hover { color: #fff; }
.topbar-links, .topbar-info { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar-info span, .topbar-links a { display: inline-flex; align-items: center; gap: 6px; }
.topbar .badge-247 { color: var(--peach); font-weight: 700; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(27,43,63,.08); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 50px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-size: 1.35rem; font-weight: 900; color: var(--navy); letter-spacing: -.01em; }
.brand-name b { color: var(--orange); font-weight: 900; }
.brand-sub { font-size: .7rem; color: var(--muted); font-weight: 500; }

.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px;
  font-weight: 600; font-size: .95rem; color: var(--ink); white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav-link .icon { width: 14px; height: 14px; transition: transform .2s; }
.nav-item:hover > .nav-link, .nav-item:focus-within > .nav-link, .nav-link.active { color: var(--blue-600); background: var(--blue-50); }
.nav-item:hover > .nav-link .icon { transform: rotate(180deg); }

.mega {
  position: absolute; top: 100%; inset-inline-start: 0; padding-top: 12px; min-width: 300px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.nav-item:hover > .mega, .nav-item:focus-within > .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 14px; }
.mega.wide { width: 780px; }
.mega.wide .mega-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 8px; }
.mega-link { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px; font-size: .92rem; font-weight: 500; transition: background .15s, color .15s; }
.mega-link .ico { width: 34px; height: 34px; border-radius: 10px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; flex: none; transition: background .15s, color .15s; }
.mega-link:hover { background: var(--blue-50); color: var(--blue-600); }
.mega-link:hover .ico { background: var(--blue); color: #fff; }
.mega-foot { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--peach-50); display: flex; justify-content: space-between; align-items: center; font-size: .88rem; }
.mega-foot a { color: var(--orange-600); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }

.header-cta { display: flex; align-items: center; gap: 10px; flex: none; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; place-items: center; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(15,25,38,.55); opacity: 0; transition: opacity .25s; }
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: min(88vw, 380px);
  background: #fff; overflow-y: auto; padding: 18px; transform: translateX(100%); transition: transform .3s ease;
  display: flex; flex-direction: column; gap: 6px;
}
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary, .drawer .d-link { list-style: none; cursor: pointer; padding: 14px 6px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer details[open] summary .icon { transform: rotate(180deg); }
.drawer details a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; color: var(--muted); border-radius: 10px; font-size: .95rem; }
.drawer details a:hover { background: var(--blue-50); color: var(--blue-600); }
.drawer .d-link { border-bottom: 1px solid var(--line); }

/* Hero ------------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden; padding-block: 70px 120px;
  background:
    radial-gradient(900px 500px at 10% 0%, var(--blue-100), transparent 60%),
    radial-gradient(700px 480px at 100% 100%, var(--peach-50), transparent 60%),
    linear-gradient(180deg, #fff, var(--bg));
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 900; line-height: 1.35; margin-bottom: 20px; color: var(--navy-900); }
.hero h1 em { font-style: normal; color: var(--orange); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; inset-inline: 0; bottom: -2px; height: 10px; background: var(--peach); opacity: .7; z-index: -1; border-radius: 6px; }
.hero p.lead { font-size: 1.1rem; color: var(--muted); max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--navy); font-size: .9rem; font-weight: 600; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .icon { color: var(--blue); }

.hero-visual { position: relative; min-height: 440px; display: grid; place-items: center; }
.hero-visual .halo { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, #fff 30%, var(--blue-100) 100%); box-shadow: inset 0 0 0 1px rgba(62,143,203,.12); }
.hero-visual .ring { position: absolute; border: 2px dashed rgba(62,143,203,.35); border-radius: 50%; animation: spin 40s linear infinite; }
.hero-visual .ring.r1 { width: 500px; height: 500px; }
.hero-visual .ring.r2 { width: 340px; height: 340px; border-color: rgba(240,104,50,.35); animation-direction: reverse; animation-duration: 28s; }
.hero-visual .mark { position: relative; width: 250px; filter: drop-shadow(0 18px 30px rgba(27,43,63,.2)); animation: float 6s ease-in-out infinite; }
.chip {
  position: absolute; background: #fff; border-radius: 16px; padding: 10px 16px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 10px; font-size: .85rem; font-weight: 700; color: var(--navy);
  animation: float 7s ease-in-out infinite;
}
.chip .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.chip small { display: block; font-weight: 500; color: var(--muted); font-size: .75rem; }
.chip.c1 { top: 12%; inset-inline-start: 0; animation-delay: -1s; }
.chip.c1 .ico { background: var(--blue); }
.chip.c2 { bottom: 14%; inset-inline-start: 4%; animation-delay: -3s; }
.chip.c2 .ico { background: var(--orange); }
.chip.c3 { top: 30%; inset-inline-end: 0; animation-delay: -2s; }
.chip.c3 .ico { background: var(--navy); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Stats band overlapping hero */
.stats { position: relative; margin-top: -64px; z-index: 5; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--navy); color: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); overflow: hidden; }
.stat { padding: 28px 22px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; inset-block: 24% ; inset-inline-start: 0; width: 1px; background: rgba(255,255,255,.14); }
.stat b { display: block; font-size: 2.1rem; font-weight: 900; color: var(--peach); line-height: 1.3; }
.stat span { font-size: .92rem; color: #cfd9e5; }

/* Cards ----------------------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.ico-box { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); margin-bottom: 18px; transition: background .25s, color .25s; }
.ico-box .icon { width: 28px; height: 28px; }
.card:hover .ico-box { background: var(--blue); color: #fff; }
.ico-box.orange { background: var(--orange-50); color: var(--orange-600); }
.card:hover .ico-box.orange { background: var(--orange); color: #fff; }
.card h3 { font-size: 1.15rem; }
.card p { color: var(--muted); font-size: .95rem; }
.more { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-600); font-weight: 700; font-size: .93rem; margin-top: 4px; }
.more:hover .icon-arrow { transform: translateX(-4px); }
.more .icon { transition: transform .2s; }

.service-card { display: flex; flex-direction: column; height: 100%; padding: 34px; position: relative; overflow: hidden; }
.service-card::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: var(--blue-50); inset-block-start: -70px; inset-inline-end: -70px; transition: transform .4s; z-index: 0; }
.service-card:hover::after { transform: scale(1.6); }
.service-card > * { position: relative; z-index: 1; }
.service-card h3 { font-size: 1.3rem; }
.service-card .links { margin: 12px 0 22px; display: grid; gap: 6px; }
.service-card .links a { display: flex; align-items: center; gap: 8px; font-size: .93rem; color: var(--ink); }
.service-card .links a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); flex: none; }
.service-card .links a:hover { color: var(--blue-600); }
.service-card .more { margin-top: auto; }

/* About split ----------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-visual { position: relative; padding: 24px; }
.about-visual .panel {
  background: linear-gradient(145deg, var(--navy), var(--navy-900)); border-radius: 28px; padding: 40px;
  color: #fff; position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.about-visual .panel::before { content: ""; position: absolute; width: 280px; height: 280px; background: var(--blue); opacity: .25; border-radius: 50%; inset-block-start: -90px; inset-inline-start: -90px; }
.about-visual .panel::after { content: ""; position: absolute; width: 200px; height: 200px; background: var(--orange); opacity: .22; border-radius: 50%; inset-block-end: -70px; inset-inline-end: -60px; }
.about-visual .panel > * { position: relative; z-index: 1; }
.rack { display: grid; gap: 10px; margin-bottom: 26px; }
.rack i { display: flex; align-items: center; gap: 10px; height: 34px; padding-inline: 14px; border-radius: 9px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.rack i::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 8px #3ddc97; }
.rack i:nth-child(3n)::before { background: var(--orange); box-shadow: 0 0 8px var(--orange); }
.rack i::after { content: ""; flex: 1; height: 4px; border-radius: 4px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.28) 0 6px, transparent 6px 12px); }
.about-visual .tag { display: inline-flex; gap: 8px; align-items: center; background: rgba(255,255,255,.12); padding: 6px 14px; border-radius: 99px; font-size: .85rem; }
.about-visual h3 { color: #fff; margin: 14px 0 6px; font-size: 1.5rem; }
.about-visual p { color: #cfd9e5; margin: 0; font-size: .95rem; }
.float-badge { position: absolute; inset-block-end: 0; inset-inline-start: 0; background: #fff; border-radius: 18px; padding: 16px 22px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; z-index: 2; }
.float-badge b { font-size: 1.8rem; color: var(--orange); line-height: 1; font-weight: 900; }
.float-badge span { font-size: .85rem; color: var(--muted); line-height: 1.5; }

.check-list { display: grid; gap: 12px; margin: 22px 0 30px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { background: var(--blue-50); color: var(--blue-600); border-radius: 50%; padding: 4px; width: 26px; height: 26px; margin-top: 2px; }

/* Solutions ------------------------------------------------------------- */
.solution { display: flex; gap: 18px; align-items: flex-start; padding: 26px; }
.solution .ico-box { margin: 0; flex: none; }
.solution h3 { font-size: 1.05rem; margin-bottom: 4px; }
.solution p { margin: 0; font-size: .9rem; }

/* Brands & clients ------------------------------------------------------ */
.pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pill { padding: 12px 24px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-weight: 800; letter-spacing: .02em; color: var(--navy); font-family: "Segoe UI", Arial, sans-serif; direction: ltr; transition: transform .2s, box-shadow .2s, color .2s; }
.pill:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); color: var(--blue-600); }
.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.logo-tile { background: #fff; border: 1px solid var(--line); border-radius: 16px; height: 130px; display: grid; place-items: center; padding: 16px; transition: box-shadow .2s, transform .2s; }
.logo-tile:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.logo-tile img { max-height: 92px; width: auto; object-fit: contain; filter: grayscale(.4); transition: filter .2s; }
.logo-tile:hover img { filter: none; }
.client-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; justify-content: center; }
.client-tags span { background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 6px 16px; font-size: .88rem; color: var(--navy); }

/* Blog cards ------------------------------------------------------------ */
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; height: 100%; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-thumb { aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--navy), var(--blue)); position: relative; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-thumb img { transform: scale(1.06); }
.post-thumb .fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.post-thumb .fallback img { width: 90px; height: auto; opacity: .9; object-fit: contain; filter: brightness(0) invert(1); opacity: .35; }
.post-cat { position: absolute; inset-block-start: 14px; inset-inline-start: 14px; background: var(--orange); color: #fff; font-size: .78rem; font-weight: 700; padding: 3px 12px; border-radius: 99px; z-index: 2; }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; gap: 14px; font-size: .8rem; color: var(--muted); margin-bottom: 8px; flex-wrap: wrap; }
.post-meta span { display: inline-flex; gap: 5px; align-items: center; }
.post-meta .icon { width: 15px; height: 15px; }
.post-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.post-body h3 a:hover { color: var(--blue-600); }
.post-body p { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.post-body .more { margin-top: auto; }

/* Page hero & breadcrumb ------------------------------------------------ */
.page-hero {
  position: relative; overflow: hidden; color: #fff; padding-block: 56px 64px;
  background: radial-gradient(600px 300px at 90% 0%, rgba(62,143,203,.55), transparent 70%), radial-gradient(500px 280px at 0% 100%, rgba(240,104,50,.3), transparent 70%), linear-gradient(135deg, var(--navy-800), var(--navy-900));
}
.page-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1.5px, transparent 1.5px); background-size: 26px 26px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.5rem); margin-bottom: 10px; }
.page-hero p { color: #d3deea; max-width: 720px; margin: 0; font-size: 1.05rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: #aebccc; margin-bottom: 18px; align-items: center; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; }
.page-hero .hero-ico { position: absolute; z-index: 1; inset-inline-end: 6%; inset-block-start: 50%; transform: translateY(-50%); width: 130px; height: 130px; border-radius: 34px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; color: var(--peach); }
.page-hero .hero-ico .icon { width: 60px; height: 60px; stroke-width: 1.4; }

/* Content layout with sidebar -------------------------------------------- */
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 20px; }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.side-box h4 { font-size: 1rem; margin: 4px 8px 10px; }
.side-box a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; font-size: .92rem; color: var(--ink); transition: background .15s, color .15s; }
.side-box a:hover { background: var(--blue-50); color: var(--blue-600); }
.side-box a.current { background: var(--blue); color: #fff; font-weight: 700; }
.side-cta { background: linear-gradient(145deg, var(--orange), #e0541d); color: #fff; border: 0; text-align: center; padding: 26px 20px; }
.side-cta h4 { color: #fff; font-size: 1.1rem; }
.side-cta p { font-size: .9rem; opacity: .92; }
.side-cta .btn { width: 100%; }
.side-cta .phone { display: block; direction: ltr; font-weight: 800; font-size: 1.1rem; margin-top: 12px; color: #fff; }

.prose { font-size: 1.04rem; color: #2b3a4c; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; padding-inline-start: 16px; border-inline-start: 5px solid var(--orange); }
.prose h3 { font-size: 1.2rem; margin-top: 1.4em; color: var(--navy); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul { margin: 0 0 1.4em; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-inline-start: 34px; }
.prose ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: .5em; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d78b3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat; }
.prose ol { padding-inline-start: 24px; margin: 0 0 1.4em; }
.prose ol li { margin-bottom: 8px; }
.prose img { border-radius: var(--radius-sm); margin: 1.4em auto; height: auto; }
.prose blockquote { margin: 1.5em 0; padding: 16px 22px; border-inline-start: 4px solid var(--blue); background: var(--blue-50); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--navy); }
.prose a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: start; }
.prose th { background: var(--bg); }
.prose .ql-align-center { text-align: center; } .prose .ql-align-right { text-align: right; } .prose .ql-align-left { text-align: left; } .prose .ql-align-justify { text-align: justify; }
.prose .ql-direction-rtl { direction: rtl; }

.page-article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
.page-article .lead { font-size: 1.12rem; color: var(--navy); font-weight: 500; padding: 18px 22px; background: var(--peach-50); border-radius: var(--radius-sm); border-inline-start: 4px solid var(--orange); margin-bottom: 28px; }

/* Blog single ------------------------------------------------------------ */
.post-cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; box-shadow: var(--shadow); }
.post-cover img { width: 100%; height: auto; max-height: 460px; object-fit: cover; }
.post-head h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.share { display: flex; gap: 10px; align-items: center; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.share a, .share button { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); border: 0; cursor: pointer; }
.share a:hover, .share button:hover { background: var(--blue); color: #fff; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin-bottom: 34px; }
.cats { display: flex; flex-wrap: wrap; gap: 8px; }
.cat { padding: 7px 18px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--muted); }
.cat:hover { color: var(--blue-600); border-color: var(--blue); }
.cat.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.search { display: flex; background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 4px; min-width: 280px; }
.search input { border: 0; outline: 0; flex: 1; padding: 6px 16px; background: transparent; min-width: 0; }
.search button { border: 0; background: var(--blue); color: #fff; border-radius: 50%; width: 38px; height: 38px; cursor: pointer; display: grid; place-items: center; }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 44px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding-inline: 12px; display: grid; place-items: center; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 600; }
.pagination a:hover { border-color: var(--blue); color: var(--blue-600); }
.pagination .active { background: var(--navy); color: #fff; border-color: var(--navy); }
.pagination .disabled { opacity: .45; }

.empty { text-align: center; padding: 70px 20px; color: var(--muted); background: var(--bg); border-radius: var(--radius); }

/* Licenses & contact ------------------------------------------------------ */
.license-card h3 { font-size: 1.1rem; }
.license-card .issuer { font-size: .85rem; color: var(--blue-600); font-weight: 600; margin-bottom: 12px; display: block; }
.license-card ul { display: grid; gap: 8px; }
.license-card li { position: relative; padding-inline-start: 22px; color: var(--muted); font-size: .94rem; }
.license-card li::before { content: ""; position: absolute; inset-inline-start: 0; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.cert-grid { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cert { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 24px; font-weight: 800; color: var(--navy); font-family: "Segoe UI", Arial, sans-serif; }
.cert .icon { color: var(--orange); }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: start; }
.info-list { display: grid; gap: 16px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.info-item .ico-box { margin: 0; width: 50px; height: 50px; }
.info-item h4 { margin: 0 0 2px; font-size: 1rem; }
.info-item p, .info-item a { margin: 0; color: var(--muted); font-size: .95rem; display: block; }
.info-item a:hover { color: var(--blue-600); }
.info-item .ltr { direction: ltr; text-align: right; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 36px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; color: var(--navy); }
.field input, .field textarea, .field select { width: 100%; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); transition: border-color .2s, background .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(62,143,203,.15); }
.field .err { color: #c0392b; font-size: .83rem; margin-top: 4px; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-size: .95rem; }
.alert-ok { background: #e8f8ef; color: #1c7a43; border: 1px solid #bfe8cf; }
.alert-err { background: #fdecea; color: #a93226; border: 1px solid #f5c6c0; }
.map-box { margin-top: 36px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 320px; }
.map-box iframe { width: 100%; height: 100%; border: 0; }

/* Group landing cards -------------------------------------------------------- */
.mini-card { display: flex; align-items: center; gap: 16px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s, box-shadow .2s, border-color .2s; height: 100%; }
.mini-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.mini-card .ico-box { margin: 0; flex: none; }
.mini-card:hover .ico-box { background: var(--blue); color: #fff; }
.mini-card h3 { font-size: 1rem; margin: 0 0 2px; }
.mini-card p { font-size: .85rem; color: var(--muted); margin: 0; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* CTA band ----------------------------------------------------------------- */
.cta { position: relative; overflow: hidden; border-radius: 30px; padding: 56px 50px; color: #fff; background: radial-gradient(500px 300px at 100% 0%, rgba(62,143,203,.6), transparent 70%), radial-gradient(400px 300px at 0% 100%, rgba(240,104,50,.55), transparent 70%), linear-gradient(135deg, var(--navy), var(--navy-900)); display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 8px; }
.cta p { color: #d3deea; margin: 0; max-width: 560px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer ------------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: #b8c6d6; margin-top: 90px; position: relative; }
.footer-cta-wrap { transform: translateY(-50%); margin-bottom: -20px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 30px 50px; }
.footer-brand img { width: 62px; background: #fff; border-radius: 16px; padding: 8px; margin-bottom: 14px; }
.footer-brand h3 { color: #fff; font-size: 1.3rem; }
.footer-brand h3 b { color: var(--orange); }
.footer-brand p { font-size: .92rem; line-height: 1.95; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; position: relative; padding-bottom: 10px; }
.site-footer h4::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 32px; height: 3px; border-radius: 3px; background: var(--orange); }
.footer-links { display: grid; gap: 9px; font-size: .92rem; }
.footer-links a:hover { color: #fff; padding-inline-start: 4px; }
.footer-links a { transition: padding .2s, color .2s; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: .92rem; }
.footer-contact .icon { color: var(--peach); margin-top: 4px; }
.footer-contact .ltr { direction: ltr; unicode-bidi: embed; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 20px; font-size: .85rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }

/* Reveal animation --------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Responsive --------------------------------------------------------------- */
@media (max-width: 1100px) {
  .main-nav, .header-cta .btn { display: none; }
  .menu-toggle { display: grid; }
  .header-inner { justify-content: space-between; }
  .hero-grid { grid-template-columns: 1fr; }
  /* Same composition as desktop: fixed-size stage, scaled as a whole on small screens */
  .hero-visual { order: -1; width: 520px; height: 460px; min-height: 0; margin-inline: auto; zoom: .85; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; order: 2; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .page-hero .hero-ico { display: none; }
}
@media (max-width: 760px) {
  .section { padding-block: 60px; }
  .topbar-links { display: none; }
  .topbar .container { justify-content: center; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
  .hero { padding-block: 36px 100px; }
  .hero-visual { zoom: .66; }
  .form-row { grid-template-columns: 1fr; }
  .form-card, .page-article { padding: 24px 20px; }
  .cta { padding: 36px 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .search { min-width: 0; width: 100%; }
  .brand-sub { display: none; }
}
@media print { .site-header, .topbar, .site-footer, .sidebar, .cta { display: none; } }

/* Guard against horizontal overflow from off-canvas elements (drawer, mega menus, decorative rings) */
html, body { overflow-x: clip; max-width: 100%; }
.drawer:not(.open) .drawer-panel { display: none; }
.hero { overflow: clip; }
@media (max-width: 760px) {
  .hero h1 em { white-space: normal; }
  .page-article { padding: 22px 18px; }
}
@media (max-width: 480px) { .hero-visual { zoom: .6; } }
@media (max-width: 380px) { .hero-visual { zoom: .52; } }

/* Keep logo images at their natural aspect ratio (width/height attributes must not stretch them) */
.hero-visual .mark, .brand img, .footer-brand img { height: auto; }
