@font-face {
  font-family: VazirLocal;
  src: url("../fonts/Vazirmatn.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-2: #eef1f5;
  --text: #231f20;
  --muted: #696b70;
  --line: #d9dde3;
  --primary: #132d52;
  --primary-2: #c8a14c;
  --accent: #c8a14c;
  --secondary: #c8a14c;
  --soft-gray: #b8babd;
  --danger: #dc2626;
  --shadow: 0 18px 55px rgba(19, 45, 82, .12);
}

:root[data-theme="dark"] {
  --bg: #17191d;
  --surface: #231f20;
  --surface-2: #2d3138;
  --text: #f4f5f7;
  --muted: #c8cbd0;
  --line: #3a3e45;
  --primary: #c8a14c;
  --primary-2: #132d52;
  --accent: #c8a14c;
  --secondary: #c8a14c;
  --soft-gray: #b8babd;
  --shadow: 0 18px 55px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: VazirLocal, Tahoma, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.85;
  letter-spacing: 0;
}

body.home-page {
  background:
    radial-gradient(circle at 82% 8%, rgba(200, 161, 76, .16), transparent 30%),
    radial-gradient(circle at 12% 22%, rgba(19, 45, 82, .12), transparent 34%),
    linear-gradient(135deg, #fbfbfc 0%, #f2f4f8 48%, #f7f2e7 100%);
}

:root[data-theme="dark"] body.home-page {
  background:
    radial-gradient(circle at 82% 8%, rgba(200, 161, 76, .17), transparent 30%),
    radial-gradient(circle at 12% 22%, rgba(19, 45, 82, .42), transparent 36%),
    linear-gradient(135deg, #17191d 0%, #1e2229 52%, #231f20 100%);
}

button,
input,
textarea,
select {
  font-family: inherit;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px clamp(16px, 4vw, 56px);
  background:
    linear-gradient(90deg, rgba(19, 45, 82, .11), rgba(200, 161, 76, .06) 45%, color-mix(in srgb, var(--surface) 92%, transparent)),
    color-mix(in srgb, var(--surface) 88%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.18rem;
  color: var(--primary);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: var(--shadow);
}

.brand-logo {
  width: 76px;
  height: 48px;
  object-fit: contain;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .82)),
    linear-gradient(135deg, rgba(19, 45, 82, .08), rgba(200, 161, 76, .12));
  box-shadow: 0 10px 28px rgba(19, 45, 82, .12);
  border: 1px solid rgba(19, 45, 82, .08);
}

:root[data-theme="dark"] .site-header {
  background:
    linear-gradient(90deg, rgba(200, 161, 76, .13), rgba(19, 45, 82, .22) 46%, color-mix(in srgb, var(--surface) 90%, transparent)),
    color-mix(in srgb, var(--surface) 88%, transparent);
}

:root[data-theme="dark"] .brand-logo {
  background: transparent;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-inline-start: auto;
  color: var(--muted);
  font-weight: 700;
}

.main-nav a:hover { color: var(--primary); }

.theme-toggle,
.nav-toggle,
.chat-close,
.thumbs button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 8px;
  cursor: pointer;
}

.theme-toggle,
.nav-toggle {
  width: 42px;
  height: 42px;
  font-size: 1rem;
}

.nav-toggle { display: none; }

.hero,
.page-hero,
.form-page,
.product-page,
.post-page,
.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: 76vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
  align-items: center;
  gap: 32px;
  padding: 0px 0 44px;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2.0rem, 4vw, 4.5rem);
  line-height: 1.25;
}

.hero-logo {
  width: min(250px, 52vw);
  height: auto;
}

:root[data-theme="dark"] .hero-logo {
  background: rgba(247, 248, 250, .94);
}

.hero-title span {
  display: inline-block;
  padding: 0 .18em .04em;
  color: #fff;
  background:
    linear-gradient(rgba(35, 31, 32, .36), rgba(19, 45, 82, .28)),
    url("../img/containers.jpg") center / cover;
  border-radius: 8px;
  box-shadow: inset 0 -8px 0 rgba(200, 161, 76, .28);
}

.hero p,
.page-hero p,
.form-page > div p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--primary);
  font-weight: 900;
}

.hero-actions,
.admin-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn.primary { border-color: transparent; background: var(--primary); color: #fff; }
.btn.ghost { background: var(--surface); color: var(--text); }

:root[data-theme="dark"] .btn.primary {
  color: #231f20;
}

.hero-media {
  position: relative;
  min-height: 470px;
}

.hero-media-main {
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-media-main {
  height: 470px;
}

.hero-panel {
  position: absolute;
  inset-inline-end: 18px;
  bottom: 22px;
  width: min(270px, 56%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-panel span {
  padding: 13px 10px;
  border-radius: 8px;
  background: var(--surface-2);
  font-size: .9rem;
  font-weight: 900;
}

.section { padding: 64px 0; }
.page-hero { padding: 72px 0 34px; }

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr);
  align-items: center;
  gap: 34px;
}

.about-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.section-title h2,
.split h2,
.form-page h1,
.product-info h1,
.post-page h1,
.admin-main h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.35;
}

.section-title a { color: var(--primary); font-weight: 900; }

.grid {
  display: grid;
  gap: 18px;
}

.products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 35px rgba(19, 45, 82, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface-2); }
.card div { padding: 18px; }
.card h2,
.card h3 { margin: 0 0 8px; font-size: 1.15rem; line-height: 1.5; }
.card p { margin: 0; color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 34px;
  align-items: start;
}

.features {
  display: grid;
  gap: 14px;
}

.features div {
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
}

.features p { margin: 6px 0 0; color: var(--muted); }

.about-summary {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 34px;
  align-items: start;
}

.about-summary h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.35;
}

.about-stats,
.company-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.about-stats div,
.company-grid div {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 35px rgba(19, 45, 82, .05);
}

.about-stats strong {
  display: block;
  color: var(--primary);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
}

.about-stats span,
.company-grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.company-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.company-grid strong {
  display: block;
  margin-top: 8px;
  line-height: 1.7;
}

.form-page {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 32px;
  padding: 70px 0;
}

.panel-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label { display: grid; gap: 7px; font-weight: 800; }
input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
  background: var(--bg);
  color: var(--text);
}

input[type="tel"] {
  direction: rtl;
  text-align: right;
}

input[type="tel"]:not(:placeholder-shown) {
  direction: ltr;
  text-align: left;
}

textarea { resize: vertical; }

.captcha-field span {
  color: var(--text);
}

.captcha-field input {
  max-width: 190px;
}

.notice,
.error {
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 800;
}
.notice { background: #dcfce7; color: #166534; }
.error { background: #fee2e2; color: #991b1b; }

.product-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: 34px;
  padding: 64px 0;
}

.main-product-image,
.post-cover {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.thumbs button { padding: 0; overflow: hidden; }
.thumbs img { aspect-ratio: 1; object-fit: cover; }

.rich-text {
  color: var(--muted);
  font-size: 1.05rem;
}

.rich-text p {
  margin: 0 0 18px;
}

.content-image {
  margin: 26px 0;
}

.content-image img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.content-image figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: .92rem;
  text-align: center;
}

.post-page {
  max-width: 860px;
  padding: 58px 0;
}

.post-cover { margin-bottom: 26px; }

.whatsapp-fab {
  position: fixed;
  z-index: 70;
  inset-inline-start: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #fff;
  background: #25d366;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 12px 32px rgba(17, 87, 47, .34);
  transition: transform .2s ease, box-shadow .2s ease;
  animation: whatsapp-pop 2.4s ease-in-out infinite;
}

.whatsapp-fab:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 18px 38px rgba(17, 87, 47, .42);
}

.whatsapp-fab svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes whatsapp-pop {
  0%, 70%, 100% { box-shadow: 0 12px 32px rgba(17, 87, 47, .34), 0 0 0 0 rgba(37, 211, 102, .3); }
  85% { box-shadow: 0 12px 32px rgba(17, 87, 47, .34), 0 0 0 12px rgba(37, 211, 102, 0); }
}

.chat-fab {
  position: fixed;
  z-index: 70;
  inset-inline-start: 18px;
  bottom: 88px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.chat-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 55px rgba(19, 45, 82, .24);
}

.chat-fab svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chat-box {
  position: fixed;
  z-index: 80;
  inset-inline-start: 18px;
  bottom: 150px;
  width: min(340px, calc(100vw - 36px));
  max-height: min(520px, calc(100vh - 104px));
  transform: translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.chat-box.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.chat-close { width: 34px; height: 34px; }
.chat-form {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.chat-form.identity-saved input[name="name"],
.chat-form.identity-saved input[name="phone"] {
  display: none;
}

.chat-history {
  display: grid;
  gap: 8px;
  max-height: clamp(96px, 22vh, 170px);
  overflow-y: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}

.chat-empty {
  color: var(--muted);
  font-size: .9rem;
  text-align: center;
}

.chat-bubble {
  max-width: 88%;
  padding: 9px 11px;
  background: var(--surface-2);
  color: var(--text);
}

.chat-bubble.from-user {
  justify-self: start;
  border-radius: 8px 8px 2px 8px;
}

.chat-bubble.from-admin {
  justify-self: end;
  border-radius: 8px 8px 8px 2px;
  background: var(--primary);
  color: #fff;
}

:root[data-theme="dark"] .chat-bubble.from-admin {
  color: #231f20;
}

.chat-bubble.from-admin time {
  color: rgba(255, 255, 255, .78);
}

.chat-bubble p {
  margin: 0;
  line-height: 1.7;
}

.chat-bubble time {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .76rem;
}

.chat-message {
  display: none;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.7;
}

.chat-message.success {
  display: block;
  background: #dcfce7;
  color: #166534;
}

.chat-message.error {
  display: block;
  background: #fee2e2;
  color: #991b1b;
}

.chat-form button:disabled {
  cursor: wait;
  opacity: .7;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 50px;
  padding: 34px clamp(16px, 4vw, 56px);
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.site-footer p { margin: 8px 0 0; color: var(--muted); max-width: 620px; }
.footer-company { display: grid; gap: 8px; }
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
  font-size: .93rem;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}

.login-form { width: min(420px, 100%); }

.admin-body {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 18px;
  background: var(--surface);
  border-inline-end: 1px solid var(--line);
}

.admin-sidebar nav {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.admin-sidebar nav a {
  padding: 12px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 800;
}

.admin-sidebar nav a:hover { background: var(--surface-2); color: var(--text); }

.admin-main {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  padding: 30px 0 70px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stat-card span { display: block; font-size: 2.2rem; font-weight: 900; color: var(--primary); }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 14px; border-bottom: 1px solid var(--line); text-align: right; vertical-align: top; }
th { color: var(--muted); }
.actions { white-space: nowrap; }
.actions a { margin-inline-end: 10px; color: var(--primary); font-weight: 900; }
.actions form { display: inline; margin: 0; }
.actions .link-button { margin: 0; padding: 0; border: 0; background: transparent; color: var(--primary); font: inherit; font-weight: 900; cursor: pointer; }
.actions .danger { color: var(--danger); }
.admin-form { max-width: 860px; }
.check { display: flex; align-items: center; gap: 8px; }
.check input { width: auto; }
.inline-image-tool {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}

.inline-image-tool span {
  grid-column: 1 / -1;
  min-height: 22px;
  color: var(--muted);
  font-weight: 800;
}

.inline-image-tool small {
  grid-column: 1 / -1;
  color: var(--muted);
}

.inline-image-tool .tool-success { color: #166534; }
.inline-image-tool .tool-error { color: #991b1b; }

.image-manager { display: flex; flex-wrap: wrap; gap: 10px; }
.image-manager label { width: 130px; font-size: .9rem; }
.image-manager img,
.admin-preview { width: 130px; aspect-ratio: 1; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }

.admin-chat-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.conversation-list {
  display: grid;
  gap: 10px;
}

.conversation-list a {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.conversation-list a.active,
.conversation-list a:hover {
  border-color: var(--primary);
  background: var(--surface-2);
}

.conversation-list small,
.conversation-list span {
  color: var(--muted);
}

.admin-conversation {
  height: min(680px, calc(100vh - 170px));
  min-height: 420px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.admin-chat-thread {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 0;
  overflow-y: auto;
  padding: 10px;
  border-radius: 8px;
  background: var(--bg);
}

.admin-chat-bubble {
  max-width: 74%;
  padding: 11px 13px;
  border-radius: 8px;
}

.admin-chat-bubble.from-user {
  justify-self: start;
  background: var(--surface-2);
}

.admin-chat-bubble.from-admin {
  justify-self: end;
  background: var(--primary);
  color: #fff;
}

:root[data-theme="dark"] .admin-chat-bubble.from-admin {
  color: #231f20;
}

.admin-chat-bubble p { margin: 0; }
.admin-chat-bubble time {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: .78rem;
}
.admin-chat-bubble.from-admin time { color: rgba(255, 255, 255, .78); }

.admin-reply-form {
  display: grid;
  gap: 10px;
}

.chat-placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-grid; place-items: center; margin-inline-start: auto; }
  .main-nav {
    position: absolute;
    inset: 66px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .hero,
  .split,
  .about-hero,
  .about-summary,
  .form-page,
  .product-page,
  .admin-body {
    grid-template-columns: 1fr;
  }
  .hero { min-height: auto; padding-top: 46px; }
  .hero-media { min-height: 390px; }
  .hero-media-main { height: 390px; }
  .products-grid,
  .blog-grid,
  .about-stats,
  .company-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-sidebar {
    position: static;
    height: auto;
    border-inline-end: 0;
    border-bottom: 1px solid var(--line);
  }
  .admin-sidebar nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inline-image-tool { grid-template-columns: 1fr; }
  .admin-chat-layout { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .site-header { padding: 12px 14px; gap: 10px; }
  .brand span:last-child { display: none; }
  .brand-logo { width: 62px; height: 42px; }
  .hero h1,
  .page-hero h1 { font-size: 2rem; }
  .hero-logo { width: min(200px, 64vw); margin-bottom: 18px; }
  .hero-media {
    min-height: auto;
    display: grid;
    gap: 12px;
  }
  .hero-media-main {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    border: 1px solid var(--line);
  }
  .hero-panel {
    position: static;
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }
  .products-grid,
  .blog-grid,
  .about-stats,
  .company-grid,
  .stats-grid,
  .thumbs {
    grid-template-columns: 1fr;
  }
  .section-title,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .panel-form { padding: 18px; }
  .whatsapp-fab { inset-inline-start: 12px; bottom: 12px; width: 54px; height: 54px; }
  .chat-fab { inset-inline-start: 12px; bottom: 78px; width: 54px; height: 54px; }
  .chat-box {
    inset-inline: 12px;
    bottom: 144px;
    width: auto;
    max-height: calc(100vh - 160px);
  }
}

/* Landing page spacing guard */
body.home-page main {
  overflow: hidden;
}

body.home-page .hero {
  width: min(1180px, calc(100% - 40px));
  min-height: auto;
  padding: clamp(26px, 4vw, 54px) 0 clamp(28px, 4vw, 48px);
  gap: clamp(28px, 5vw, 58px);
}

body.home-page .hero-content {
  display: grid;
  align-content: center;
  justify-items: start;
}

body.home-page .hero-logo {
  width: clamp(150px, 16vw, 220px);
  height: auto;
  margin: 0 0 24px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

:root[data-theme="dark"] body.home-page .hero-logo {
  background: transparent;
  filter: invert(1);
}

body.home-page .hero-title {
  margin: 0;
}

body.home-page .hero-content > p:not(.eyebrow) {
  margin: 18px 0 0;
}

body.home-page .hero-actions {
  margin-top: 24px;
}

body.home-page .hero-media {
  min-height: clamp(330px, 34vw, 430px);
}

body.home-page .hero-media-main {
  height: clamp(330px, 34vw, 430px);
}

body.home-page .section {
  padding: clamp(42px, 6vw, 72px) 0;
}

@media (max-width: 900px) {
  body.home-page .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 42px;
  }

  body.home-page .hero-media,
  body.home-page .hero-media-main {
    min-height: 0;
    height: auto;
  }

  body.home-page .hero-media-main {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 620px) {
  body.home-page .hero {
    width: min(100% - 28px, 1180px);
    padding: 28px 0 34px;
    gap: 24px;
  }

  body.home-page .hero-logo {
    width: min(190px, 62vw);
    margin-bottom: 18px;
    padding: 0;
  }

  body.home-page .hero-actions {
    width: 100%;
  }

  body.home-page .hero-actions .btn {
    flex: 1 1 150px;
  }

  body.home-page .section {
    padding: 38px 0;
  }
}

/* ============================================================
   Public website redesign — keeps the original Tījār identity
   ============================================================ */

:root {
  --navy-deep: #0b2444;
  --navy: #132d52;
  --navy-soft: #1c406d;
  --gold: #c8a14c;
  --gold-bright: #dbb65e;
  --gold-pale: #f1e4c5;
  --paper: #f7f8fa;
  --paper-warm: #f5f1e8;
  --public-radius: 22px;
  --public-shadow: 0 24px 70px rgba(11, 36, 68, .13);
}

body:not(.admin-body) {
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body:not(.admin-body) main {
  overflow: hidden;
}

body:not(.admin-body) svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body:not(.admin-body) .site-header {
  position: sticky;
  inset: 0 0 auto;
  z-index: 80;
  display: block;
  padding: 0;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  box-shadow: 0 8px 30px rgba(11, 36, 68, .045);
  backdrop-filter: blur(18px);
}

.header-utility {
  color: rgba(255, 255, 255, .74);
  background: var(--navy-deep);
  font-size: .76rem;
}

.header-utility > div {
  width: min(1240px, calc(100% - 40px));
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: auto;
}

.header-utility p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.header-utility p span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 4px rgba(219, 182, 94, .12);
}

.utility-links {
  display: flex;
  align-items: center;
  gap: 22px;
  direction: ltr;
}

.utility-links a:hover { color: var(--gold-bright); }

.header-main {
  width: min(1240px, calc(100% - 40px));
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 50px);
  margin: auto;
}

body:not(.admin-body) .brand {
  flex: 0 0 auto;
  color: var(--navy);
}

.brand-logo-frame {
  position: relative;
  width: 112px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  background: transparent;
}

body:not(.admin-body) .brand .brand-logo-frame { display: flex; }

.brand-logo-frame img,
body:not(.admin-body) .brand-logo {
  position: static;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: filter .2s ease;
}

body:not(.admin-body) .main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  margin: 0;
  color: var(--text);
  font-size: .91rem;
  font-weight: 650;
}

body:not(.admin-body) .main-nav a {
  position: relative;
  padding: 31px 0 27px;
  white-space: nowrap;
}

body:not(.admin-body) .main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 21px;
  width: 0;
  height: 2px;
  border-radius: 3px;
  background: var(--gold);
  transition: width .25s ease;
}

body:not(.admin-body) .main-nav a:hover,
body:not(.admin-body) .main-nav a[aria-current="page"] {
  color: var(--navy);
}

body:not(.admin-body) .main-nav a:hover::after,
body:not(.admin-body) .main-nav a[aria-current="page"]::after {
  width: 24px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-inline-start: auto;
}

.header-request {
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 9px 17px;
  border: 1px solid var(--navy);
  border-radius: 6px;
  color: var(--navy);
  font-size: .85rem;
  font-weight: 800;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.header-request svg { width: 18px; height: 18px; transform: rotate(180deg); }
.header-request:hover { color: #fff; background: var(--navy); transform: translateY(-1px); }

body:not(.admin-body) .theme-toggle,
body:not(.admin-body) .nav-toggle {
  width: 45px;
  height: 45px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  background: var(--surface);
}

body:not(.admin-body) .theme-toggle svg { width: 19px; height: 19px; }
body:not(.admin-body) .nav-toggle { display: none; gap: 4px; }
body:not(.admin-body) .nav-toggle span { width: 19px; height: 2px; display: block; border-radius: 2px; background: currentColor; }

body:not(.admin-body) .section,
body:not(.admin-body) .page-hero,
body:not(.admin-body) .form-page,
body:not(.admin-body) .product-page,
body:not(.admin-body) .post-page {
  width: min(1240px, calc(100% - 40px));
  margin-inline: auto;
}

body:not(.admin-body) .section { padding: clamp(72px, 8vw, 112px) 0; }

body:not(.admin-body) .eyebrow,
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--gold);
  font-size: .77rem;
  font-weight: 900;
  letter-spacing: .01em;
}

body:not(.admin-body) .eyebrow::before {
  content: "";
  width: 27px;
  height: 2px;
  background: currentColor;
}

.section-heading {
  margin-bottom: clamp(30px, 4vw, 48px);
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .62fr);
  align-items: end;
  gap: 48px;
}

.section-heading h2,
.story-content h2,
.home-cta h2 {
  max-width: 710px;
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.15rem);
  line-height: 1.32;
  letter-spacing: -.03em;
}

.section-heading > p,
.story-content > p,
.home-cta__content > p {
  margin: 0;
  color: var(--muted);
  font-size: .98rem;
  line-height: 2;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: .9rem;
  font-weight: 900;
}

.text-link span { color: var(--gold); transition: transform .2s ease; }
.text-link:hover span { transform: translateX(-5px); }

body:not(.admin-body) .btn {
  min-height: 52px;
  gap: 11px;
  padding: 12px 22px;
  border-radius: 7px;
  font-size: .9rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

body:not(.admin-body) .btn svg { width: 18px; height: 18px; transform: rotate(180deg); }
body:not(.admin-body) .btn.primary { color: var(--navy-deep); background: var(--gold-bright); border-color: var(--gold-bright); }
body:not(.admin-body) .btn.primary:hover { background: #e4c16d; box-shadow: 0 14px 35px rgba(200, 161, 76, .22); }
body:not(.admin-body) .btn.ghost { background: var(--surface); border-color: var(--line); }

/* Home hero */
body.home-page {
  background: var(--bg);
}

.home-hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(11, 36, 68, .08), transparent 45%),
    var(--navy-deep);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .12;
  background-image:
    linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(90deg, transparent, #000 40%, #000);
}

.home-hero::after {
  content: "TIJAR";
  position: absolute;
  right: max(-30px, calc((100vw - 1370px) / 2));
  bottom: -92px;
  z-index: -1;
  color: rgba(255, 255, 255, .025);
  font-family: Arial, sans-serif;
  font-size: clamp(9rem, 19vw, 18rem);
  font-weight: 900;
  line-height: 1;
  direction: ltr;
}

.home-hero__inner {
  width: min(1240px, calc(100% - 40px));
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, .78fr);
  align-items: center;
  gap: clamp(48px, 7vw, 94px);
  margin: auto;
  padding: 70px 0 82px;
}

.home-hero__content { position: relative; z-index: 2; }
.hero-kicker { color: var(--gold-bright); }
.hero-kicker span { width: 27px; height: 2px; background: currentColor; }

.home-hero h1 {
  max-width: 730px;
  margin: 0;
  font-size: clamp(2.7rem, 4.65vw, 4.8rem);
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: -.045em;
}

.home-hero h1 em {
  display: block;
  color: var(--gold-bright);
  font-style: normal;
  font-weight: 850;
}

.hero-lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 1.02rem;
  line-height: 2;
}

.home-hero .hero-actions { margin-top: 31px; }
.home-hero .hero-link { min-height: auto; padding-inline: 10px; color: #fff; background: transparent; border-color: transparent; }
.home-hero .hero-link:hover { color: var(--gold-bright); box-shadow: none; }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 42px;
  color: rgba(255, 255, 255, .68);
  font-size: .79rem;
  font-weight: 700;
}

.hero-points span { display: inline-flex; align-items: center; gap: 8px; }
.hero-points i { color: var(--gold-bright); font-family: Arial, sans-serif; font-size: .68rem; font-style: normal; }

.home-hero__visual {
  position: relative;
  min-height: 510px;
}

.hero-image-frame {
  position: absolute;
  inset: 0 20px 0 0;
  overflow: hidden;
  border-radius: 72px 8px 72px 8px;
  box-shadow: 0 34px 85px rgba(0, 0, 0, .35);
}

.hero-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(11, 36, 68, .04) 32%, rgba(11, 36, 68, .55));
}

.hero-image-frame img { width: 100%; height: 100%; object-fit: cover; }

.hero-route-card {
  position: absolute;
  right: -32px;
  bottom: 40px;
  width: min(310px, 72%);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  color: var(--navy-deep);
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 10px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, .22);
  backdrop-filter: blur(12px);
}

.route-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--gold-pale);
  border-radius: 8px;
}

.route-icon svg { width: 25px; height: 25px; }
.hero-route-card div { display: grid; line-height: 1.5; }
.hero-route-card small { color: #6c7480; font-size: .68rem; }
.hero-route-card strong { font-size: .88rem; }

.hero-badge {
  position: absolute;
  top: 30px;
  left: -32px;
  width: 126px;
  height: 126px;
  display: grid;
  place-content: center;
  padding: 18px;
  color: var(--navy-deep);
  text-align: center;
  background: var(--gold-bright);
  border-radius: 50%;
  box-shadow: 0 20px 48px rgba(0, 0, 0, .24);
}

.hero-badge::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(11, 36, 68, .2); border-radius: inherit; }
.hero-badge strong { font-size: .85rem; }
.hero-badge span { font-size: .68rem; line-height: 1.5; }

.home-signal {
  color: var(--navy-deep);
  background: var(--gold-bright);
  overflow: hidden;
}

.home-signal > div {
  width: min(1240px, calc(100% - 40px));
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: auto;
  font-size: .82rem;
  font-weight: 850;
  white-space: nowrap;
}

.home-signal i { width: 4px; height: 4px; flex: 0 0 4px; border-radius: 50%; background: var(--navy-deep); opacity: .35; }

/* Services */
.services-section { scroll-margin-top: 128px; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-right: 1px solid var(--line); }

.service-card {
  position: relative;
  min-height: 305px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(26px, 3vw, 39px);
  background: var(--surface);
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: color .3s ease, background .3s ease, transform .3s ease;
}

.service-card:hover { z-index: 1; transform: translateY(-5px); box-shadow: var(--public-shadow); }
.service-card--featured { color: #fff; background: var(--navy); }
.service-card--featured p { color: rgba(255, 255, 255, .68) !important; }
.service-card--cta { background: var(--paper-warm); }
:root[data-theme="dark"] .service-card--cta { background: #292820; }

.service-no { position: absolute; top: 24px; left: 28px; color: var(--muted); font-family: Arial, sans-serif; font-size: .7rem; letter-spacing: .12em; }
.service-card--featured .service-no { color: rgba(255, 255, 255, .45); }
.service-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 31px; color: var(--navy); background: var(--gold-pale); border-radius: 9px; }
.service-icon svg { width: 27px; height: 27px; }
.service-card h3 { margin: 0 0 12px; font-size: 1.08rem; }
.service-card p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.9; }
.service-card > a { display: inline-flex; gap: 9px; margin-top: auto; padding-top: 24px; color: var(--navy); font-size: .82rem; font-weight: 900; }

/* Story */
.story-section { color: #fff; background: var(--navy-deep); }
.story-grid { display: grid; grid-template-columns: minmax(380px, .86fr) minmax(0, 1fr); align-items: center; gap: clamp(55px, 8vw, 110px); }
.story-visual { position: relative; min-height: 600px; }
.story-visual::before { content: ""; position: absolute; inset: 36px -34px -36px 34px; border: 1px solid rgba(219, 182, 94, .35); border-radius: 12px; }
.story-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 12px; filter: saturate(.82); }
.story-visual::after { content: ""; position: absolute; inset: 0; border-radius: 12px; background: linear-gradient(to top, rgba(11, 36, 68, .48), transparent 55%); }

.story-seal { position: absolute; right: -26px; bottom: 42px; z-index: 2; width: 142px; height: 142px; display: grid; place-content: center; text-align: center; color: var(--navy-deep); background: var(--gold-bright); border-radius: 50%; transform: rotate(-6deg); }
.story-seal::before { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(11, 36, 68, .28); border-radius: 50%; }
.story-seal strong { font-family: Arial, sans-serif; font-size: 1.24rem; letter-spacing: .16em; }
.story-seal span { font-family: Arial, sans-serif; font-size: .53rem; letter-spacing: .09em; text-transform: uppercase; }

.story-content h2 { max-width: 650px; }
.story-content > p { max-width: 650px; margin-top: 22px; color: rgba(255, 255, 255, .68); }
.story-list { display: grid; gap: 0; margin: 34px 0 30px; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .12); }
.story-list li { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 16px; padding: 17px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.story-list li > span { color: var(--gold-bright); font-family: Arial, sans-serif; font-size: .7rem; }
.story-list div { display: grid; gap: 2px; }
.story-list strong { font-size: .92rem; }
.story-list small { color: rgba(255, 255, 255, .58); font-size: .78rem; }
.story-content .text-link { color: var(--gold-bright); }

/* Process */
.process-grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.process-grid::before { content: ""; position: absolute; top: 34px; right: 8%; left: 8%; height: 1px; background: var(--line); }
.process-grid article { position: relative; display: grid; justify-items: center; gap: 24px; padding: 0 22px; text-align: center; }
.process-grid article > span { position: relative; z-index: 1; width: 68px; height: 68px; display: grid; place-items: center; color: var(--navy); background: var(--surface); border: 1px solid var(--line); border-radius: 50%; font-size: 1.05rem; font-weight: 900; box-shadow: 0 0 0 10px var(--bg); }
.process-grid article:hover > span { color: var(--navy-deep); background: var(--gold-bright); border-color: var(--gold-bright); }
.process-grid h3 { margin: 0 0 7px; font-size: 1rem; }
.process-grid p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.85; }

/* Cards and catalog */
.catalog-section { background: var(--surface-2); }
.catalog-section .section { padding-block: clamp(75px, 8vw, 110px); }
body:not(.admin-body) .grid { gap: 22px; }
body:not(.admin-body) .products-grid,
body:not(.admin-body) .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

body:not(.admin-body) .card {
  overflow: hidden;
  background: var(--surface);
  border: 0;
  border-radius: 13px;
  box-shadow: 0 12px 36px rgba(11, 36, 68, .065);
  transition: transform .3s ease, box-shadow .3s ease;
}

body:not(.admin-body) .card:hover { transform: translateY(-7px); box-shadow: var(--public-shadow); }
body:not(.admin-body) .card > a { height: 100%; display: flex; flex-direction: column; }
body:not(.admin-body) .card-media { position: relative; overflow: hidden; padding: 0; }
body:not(.admin-body) .card-media img,
body:not(.admin-body) .card > a > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s ease; }
body:not(.admin-body) .card:hover img { transform: scale(1.045); }
.product-card .card-media > span { position: absolute; top: 16px; left: 16px; min-width: 39px; height: 30px; display: grid; place-items: center; padding: 0 8px; color: var(--navy-deep); background: var(--gold-bright); border-radius: 4px; font-family: Arial, sans-serif; font-size: .67rem; font-weight: 800; }
body:not(.admin-body) .card-copy,
body:not(.admin-body) .card > a > div:not(.card-media) { flex: 1; display: flex; flex-direction: column; padding: 23px 24px 25px; }
body:not(.admin-body) .card h2,
body:not(.admin-body) .card h3 { margin: 0 0 9px; font-size: 1.02rem; line-height: 1.6; }
body:not(.admin-body) .card p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.85; }
.card-link { display: inline-flex; align-items: center; gap: 9px; margin-top: auto; padding-top: 18px; color: var(--navy); font-size: .77rem; font-weight: 900; }
.card-link b { color: var(--gold); font-size: 1rem; transition: transform .2s ease; }
.card:hover .card-link b { transform: translateX(-4px); }
.post-label { align-self: flex-start; margin-bottom: 9px; color: var(--gold); font-size: .68rem; font-weight: 900; }

/* Consultation banner */
.home-cta {
  position: relative;
  min-height: 410px;
  display: flex;
  align-items: center;
  margin-top: clamp(72px, 9vw, 118px) !important;
  margin-bottom: clamp(72px, 9vw, 118px) !important;
  padding: clamp(45px, 6vw, 78px) !important;
  overflow: hidden;
  color: var(--navy-deep);
  background: var(--gold-bright);
  border-radius: 24px;
}

.home-cta::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: radial-gradient(var(--navy-deep) .8px, transparent .8px); background-size: 17px 17px; mask-image: linear-gradient(90deg, #000, transparent 72%); }
.home-cta__content { position: relative; z-index: 2; width: 62%; }
.home-cta .eyebrow { color: var(--navy-deep) !important; opacity: .72; }
.home-cta__content > p { max-width: 670px; margin-top: 16px; color: rgba(11, 36, 68, .75); }
.home-cta .btn.primary { margin-top: 27px; color: #fff; background: var(--navy-deep); border-color: var(--navy-deep); }
.home-cta .btn.primary:hover { color: var(--navy-deep); background: #fff; border-color: #fff; }
.home-cta__art { position: absolute; left: -30px; bottom: -50px; width: 39%; aspect-ratio: 1; display: grid; place-items: center; color: rgba(11, 36, 68, .22); }
.home-cta__art svg { width: 76%; height: 76%; stroke-width: .8 !important; }
.globe-line { position: absolute; display: block; border: 1px solid rgba(11, 36, 68, .17); border-radius: 50%; }
.globe-line--one { width: 94%; height: 94%; }
.globe-line--two { width: 118%; height: 118%; }

.journal-section { padding-top: 0 !important; }

/* Inner public pages */
body:not(.home-page):not(.admin-body) main { min-height: 58vh; }
body:not(.home-page):not(.admin-body) .page-hero {
  margin-top: 48px;
  padding: clamp(48px, 7vw, 82px);
  color: #fff;
  background:
    linear-gradient(105deg, rgba(11, 36, 68, .98), rgba(19, 45, 82, .88)),
    url("../img/containers.jpg") center / cover;
  border-radius: var(--public-radius);
  box-shadow: var(--public-shadow);
}

body:not(.home-page):not(.admin-body) .page-hero h1 { max-width: 850px; font-size: clamp(2.3rem, 4.8vw, 4.35rem); line-height: 1.25; }
body:not(.home-page):not(.admin-body) .page-hero > p:not(.eyebrow),
body:not(.home-page):not(.admin-body) .page-hero > div > p:not(.eyebrow) { max-width: 710px; color: rgba(255, 255, 255, .7); }
body:not(.home-page):not(.admin-body) .about-hero { grid-template-columns: minmax(0, 1fr) minmax(310px, .72fr); }
body:not(.home-page):not(.admin-body) .about-hero img { min-height: 360px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 13px; }

body:not(.admin-body) .section-title { margin-bottom: 36px; }
body:not(.admin-body) .section-title h2,
body:not(.admin-body) .split h2,
body:not(.admin-body) .form-page h1,
body:not(.admin-body) .product-info h1,
body:not(.admin-body) .post-page h1 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.025em; }
body:not(.admin-body) .section-title a { color: var(--navy); }

body:not(.admin-body) .features { border-color: var(--line); }
body:not(.admin-body) .features div { padding: 24px 0; border-color: var(--line); }
body:not(.admin-body) .about-stats div,
body:not(.admin-body) .company-grid div { border: 0; border-radius: 12px; box-shadow: 0 12px 32px rgba(11, 36, 68, .06); }

body:not(.admin-body) .form-page {
  grid-template-columns: minmax(0, .75fr) minmax(420px, 1fr);
  align-items: start;
  gap: clamp(45px, 7vw, 90px);
  padding-block: clamp(65px, 8vw, 110px);
}

body:not(.admin-body) .panel-form {
  padding: clamp(24px, 4vw, 40px);
  border: 0;
  border-radius: 14px;
  box-shadow: var(--public-shadow);
}

body:not(.admin-body) input,
body:not(.admin-body) textarea,
body:not(.admin-body) select {
  min-height: 48px;
  border-radius: 7px;
  background: var(--surface-2);
}

body:not(.admin-body) input:focus,
body:not(.admin-body) textarea:focus,
body:not(.admin-body) select:focus { outline: 2px solid color-mix(in srgb, var(--gold) 55%, transparent); border-color: var(--gold); }

body:not(.admin-body) .product-page {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  gap: clamp(45px, 7vw, 90px);
  padding-block: clamp(65px, 8vw, 110px);
}
body:not(.admin-body) .main-product-image { border-radius: 14px; box-shadow: var(--public-shadow); }
body:not(.admin-body) .thumbs button { border-radius: 7px; }
body:not(.admin-body) .post-page { max-width: 920px; padding-block: clamp(65px, 8vw, 110px); }
body:not(.admin-body) .post-cover { border-radius: 16px; box-shadow: var(--public-shadow); }

/* Global consultation strip and footer */
.footer-cta {
  width: min(1240px, calc(100% - 40px));
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 20px auto 0;
  padding: 24px clamp(25px, 4vw, 48px);
  color: #fff;
  background: var(--navy-soft);
  border-radius: 18px 18px 0 0;
}

.footer-cta > div { display: flex; align-items: center; gap: 18px; }
.footer-cta__icon { width: 54px; height: 54px; flex: 0 0 54px; display: grid; place-items: center; color: var(--navy-deep); background: var(--gold-bright); border-radius: 50%; }
.footer-cta__icon svg { width: 26px; height: 26px; }
.footer-cta > div > div { display: grid; gap: 2px; }
.footer-cta small { color: rgba(255, 255, 255, .6); font-size: .72rem; }
.footer-cta strong { font-size: clamp(.9rem, 1.5vw, 1.13rem); }
.footer-cta > a { display: inline-flex; align-items: center; gap: 15px; padding: 12px 19px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 6px; font-size: .83rem; font-weight: 900; white-space: nowrap; }
.footer-cta > a span { color: var(--gold-bright); }
.footer-cta > a:hover { color: var(--navy-deep); background: var(--gold-bright); border-color: var(--gold-bright); }
.footer-cta > a:hover span { color: var(--navy-deep); }

body:not(.admin-body) .site-footer {
  width: 100%;
  display: block;
  margin: 0;
  padding: clamp(58px, 7vw, 88px) max(20px, calc((100vw - 1240px) / 2)) 0;
  color: rgba(255, 255, 255, .76);
  background: var(--navy-deep);
  border: 0;
}

.footer-grid { display: grid; grid-template-columns: minmax(280px, 1.45fr) .65fr .75fr 1fr; gap: clamp(35px, 5vw, 78px); padding-bottom: 58px; }
.footer-company { display: block; }
.footer-brand { display: inline-flex; margin-bottom: 20px; }
.footer-brand .brand-logo-frame { width: 156px; height: 110px; border-radius: 0; }
.footer-brand .brand-logo-frame img { filter: brightness(0) invert(1) drop-shadow(0 4px 12px rgba(255, 255, 255, .08)); }
.footer-company p { max-width: 390px !important; margin: 0 !important; color: rgba(255, 255, 255, .58) !important; font-size: .84rem; line-height: 2; }
.footer-column,
.footer-contact-block { display: grid; align-content: start; justify-items: start; gap: 11px; font-size: .82rem; }
.footer-column > strong,
.footer-contact-block > strong { margin-bottom: 9px; color: #fff; font-size: .92rem; }
.footer-column a,
.footer-contact-block a { color: rgba(255, 255, 255, .58); }
.footer-column a:hover,
.footer-contact-block a:hover { color: var(--gold-bright); }
.footer-column button { padding: 0; color: rgba(255, 255, 255, .58); background: none; border: 0; font: inherit; cursor: pointer; }
.footer-column button:hover { color: var(--gold-bright); }
.footer-contact-block p { margin: 0; color: rgba(255, 255, 255, .58); line-height: 1.9; }
.footer-bottom { min-height: 65px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: rgba(255, 255, 255, .4); border-top: 1px solid rgba(255, 255, 255, .1); font-size: .72rem; }

body:not(.admin-body) .chat-fab { width: 58px; height: 58px; color: var(--navy-deep); background: var(--gold-bright); border: 0; box-shadow: 0 16px 42px rgba(11, 36, 68, .26); }
body:not(.admin-body) .chat-box { border: 0; border-radius: 15px; box-shadow: 0 25px 75px rgba(11, 36, 68, .25); }
body:not(.admin-body) .chat-head { color: #fff; background: var(--navy); }

@media (max-width: 620px) {
  body:not(.admin-body) .chat-fab,
  .whatsapp-fab { width: 54px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-fab { animation: none; }
}

/* Dark mode refinements */
:root[data-theme="dark"] body:not(.admin-body) .site-header { background: rgba(23, 25, 29, .94); }
:root[data-theme="dark"] body:not(.admin-body) .brand-logo-frame { background: transparent; }
:root[data-theme="dark"] body:not(.admin-body) .brand .brand-logo-frame img { filter: brightness(0) invert(1) drop-shadow(0 4px 12px rgba(255, 255, 255, .08)); }
:root[data-theme="dark"] body:not(.admin-body) .main-nav a:hover,
:root[data-theme="dark"] body:not(.admin-body) .main-nav a[aria-current="page"],
:root[data-theme="dark"] .text-link,
:root[data-theme="dark"] .card-link,
:root[data-theme="dark"] .service-card > a,
:root[data-theme="dark"] body:not(.admin-body) .section-title a { color: var(--gold-bright); }
:root[data-theme="dark"] .header-request { color: var(--gold-bright); border-color: var(--gold); }
:root[data-theme="dark"] .header-request:hover { color: var(--navy-deep); background: var(--gold-bright); }
:root[data-theme="dark"] .process-grid article > span { color: var(--gold-bright); box-shadow: 0 0 0 10px var(--bg); }
:root[data-theme="dark"] .footer-cta,
:root[data-theme="dark"] body:not(.admin-body) .site-footer { color: rgba(255, 255, 255, .76); }

/* Responsive */
@media (max-width: 1040px) {
  .header-main { gap: 20px; }
  .header-request span { display: none; }
  .header-request { width: 45px; justify-content: center; padding: 0; }
  .home-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr); gap: 45px; }
  .home-hero h1 { font-size: clamp(2.65rem, 5.6vw, 4.1rem); }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-grid { grid-template-columns: minmax(330px, .8fr) minmax(0, 1fr); gap: 60px; }
  .story-visual { min-height: 540px; }
  .footer-grid { grid-template-columns: 1.35fr .7fr .8fr; }
  .footer-contact-block { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); }
}

@media (max-width: 900px) {
  .header-utility { display: none; }
  .header-main { min-height: 72px; }
  .brand-logo-frame { width: 92px; height: 58px; }
  body:not(.admin-body) .main-nav {
    position: absolute;
    inset: 72px 18px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 10px 20px;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--public-shadow);
  }
  body:not(.admin-body) .main-nav.open { display: flex; }
  body:not(.admin-body) .main-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  body:not(.admin-body) .main-nav a:last-child { border-bottom: 0; }
  body:not(.admin-body) .main-nav a::after { right: auto; bottom: 9px; left: 0; }
  body:not(.admin-body) .nav-toggle { display: inline-grid; }
  .home-hero__inner { min-height: auto; grid-template-columns: 1fr; padding: 65px 0 90px; }
  .home-hero__content { max-width: 760px; }
  .home-hero__visual { min-height: 520px; width: min(620px, 90%); margin: 0 auto; }
  .section-heading--split { grid-template-columns: 1fr; align-items: start; gap: 18px; }
  .section-heading--split > p { max-width: 720px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-visual { width: min(600px, calc(100% - 24px)); min-height: 540px; margin: 0 auto; }
  .story-content { max-width: 720px; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 45px 0; }
  .process-grid::before { display: none; }
  .process-grid article > span { box-shadow: 0 0 0 8px var(--bg); }
  body:not(.admin-body) .products-grid,
  body:not(.admin-body) .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-cta__content { width: 75%; }
  body:not(.home-page):not(.admin-body) .about-hero,
  body:not(.admin-body) .form-page,
  body:not(.admin-body) .product-page { grid-template-columns: 1fr; }
  .footer-cta { margin-top: 0; }
}

@media (max-width: 720px) {
  .home-signal > div { justify-content: flex-start; overflow: hidden; }
  .home-signal span:nth-of-type(n+4),
  .home-signal i:nth-of-type(n+4) { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 270px; }
  .home-cta { min-height: 0; padding: 43px 28px 210px !important; }
  .home-cta__content { width: 100%; }
  .home-cta__art { width: 270px; left: 50%; bottom: -85px; transform: translateX(-50%); }
  .footer-cta { align-items: flex-start; flex-direction: column; border-radius: 14px 14px 0 0; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-company { grid-column: 1 / -1; }
  .footer-contact-block { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .header-main,
  .header-utility > div,
  .home-hero__inner,
  .home-signal > div,
  body:not(.admin-body) .section,
  body:not(.admin-body) .page-hero,
  body:not(.admin-body) .form-page,
  body:not(.admin-body) .product-page,
  body:not(.admin-body) .post-page,
  .footer-cta { width: min(100% - 28px, 1240px); }
  .header-main { gap: 10px; }
  body:not(.admin-body) .brand .brand-logo-frame { width: 74px; height: 52px; }
  .footer-brand .brand-logo-frame { width: 138px; height: 98px; }
  .header-actions { gap: 6px; }
  body:not(.admin-body) .theme-toggle,
  body:not(.admin-body) .nav-toggle,
  .header-request { width: 40px; height: 40px; min-height: 40px; }
  body:not(.admin-body) .main-nav { inset: 72px 14px auto; }
  .home-hero__inner { padding: 50px 0 70px; }
  .home-hero h1 { font-size: clamp(2.25rem, 11vw, 3.25rem); }
  .hero-lead { font-size: .92rem; }
  .hero-points { display: grid; grid-template-columns: 1fr 1fr; }
  .home-hero__visual { min-height: 390px; width: calc(100% - 15px); }
  .hero-image-frame { inset-inline: 0; border-radius: 45px 7px 45px 7px; }
  .hero-route-card { right: -10px; bottom: 22px; width: min(278px, 85%); }
  .hero-badge { top: 18px; left: -18px; width: 104px; height: 104px; }
  .home-signal span:nth-of-type(n+3),
  .home-signal i:nth-of-type(n+3) { display: none; }
  body:not(.admin-body) .section { padding-block: 65px; }
  .section-heading h2,
  .story-content h2,
  .home-cta h2 { font-size: 2rem; }
  .story-grid { gap: 65px; }
  .story-visual { min-height: 410px; }
  .story-visual::before { inset: 22px -14px -22px 14px; }
  .story-seal { right: -12px; bottom: 24px; width: 112px; height: 112px; }
  .process-grid { grid-template-columns: 1fr; gap: 35px; }
  .process-grid article { grid-template-columns: 58px 1fr; align-items: center; justify-items: start; padding: 0; text-align: right; }
  .process-grid article > span { width: 58px; height: 58px; }
  body:not(.admin-body) .products-grid,
  body:not(.admin-body) .blog-grid { grid-template-columns: 1fr; }
  .home-cta { margin-top: 65px !important; margin-bottom: 65px !important; border-radius: 16px; }
  body:not(.home-page):not(.admin-body) .page-hero { margin-top: 28px; padding: 38px 25px; border-radius: 15px; }
  body:not(.home-page):not(.admin-body) .page-hero h1 { font-size: 2.35rem; }
  body:not(.admin-body) .form-page { padding-block: 58px; }
  body:not(.admin-body) .panel-form { padding: 22px; }
  .footer-cta { padding: 24px; }
  .footer-cta__icon { display: none; }
  body:not(.admin-body) .site-footer { padding-inline: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-company,
  .footer-contact-block { grid-column: auto; }
  .footer-column { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 18px; }
}

/* Content expansion: navigation, company sections and service pages */
.nav-dropdown {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.nav-dropdown-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 31px 0 27px;
  color: inherit;
  background: none;
  border: 0;
  font: inherit;
  font-weight: inherit;
  cursor: pointer;
}

.nav-dropdown-toggle::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 21px;
  width: 0;
  height: 2px;
  border-radius: 3px;
  background: var(--gold);
  transition: width .25s ease;
}

.nav-dropdown-toggle svg {
  width: 15px;
  height: 15px;
  transition: transform .2s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown.open .nav-dropdown-toggle,
.nav-dropdown.is-current .nav-dropdown-toggle { color: var(--navy); }

.nav-dropdown:hover .nav-dropdown-toggle::after,
.nav-dropdown.open .nav-dropdown-toggle::after,
.nav-dropdown.is-current .nav-dropdown-toggle::after { width: 24px; }

.nav-dropdown.open .nav-dropdown-toggle svg { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% - 7px);
  right: 0;
  width: min(530px, calc(100vw - 40px));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 11px;
  box-shadow: 0 24px 60px rgba(11, 36, 68, .18);
  transform: translateY(8px);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

body:not(.admin-body) .main-nav .nav-dropdown-menu a {
  padding: 12px 14px;
  border-radius: 7px;
  color: var(--text);
  font-size: .82rem;
  white-space: normal;
}

body:not(.admin-body) .main-nav .nav-dropdown-menu a::after { display: none; }
body:not(.admin-body) .main-nav .nav-dropdown-menu a:hover,
body:not(.admin-body) .main-nav .nav-dropdown-menu a[aria-current="page"] {
  color: var(--navy);
  background: var(--gold-pale);
}

.home-about-section {
  display: grid;
  grid-template-columns: minmax(360px, .88fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
}

.home-about-visual {
  position: relative;
  min-height: 545px;
}

.home-about-visual::before {
  content: "";
  position: absolute;
  inset: 28px -28px -28px 28px;
  border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--line));
  border-radius: 12px;
}

.home-about-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--public-shadow);
}

.home-about-visual > span {
  position: absolute;
  right: -24px;
  bottom: 34px;
  display: grid;
  gap: 2px;
  padding: 18px 22px;
  color: var(--navy-deep);
  background: var(--gold-bright);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(11, 36, 68, .2);
}

.home-about-visual > span small { opacity: .72; }
.home-about-copy h2,
.home-contact h2,
.about-narrative h2,
.purpose-grid h2,
.about-cta h2,
.service-detail h2,
.service-consultation h2 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.15rem);
  line-height: 1.32;
  letter-spacing: -.03em;
}

.home-about-copy > p:not(.eyebrow),
.home-contact__intro > p:not(.eyebrow),
.about-narrative .rich-text,
.purpose-grid article > p:not(.eyebrow),
.service-detail__copy > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 2.08;
}

.home-about-copy .text-link { margin-top: 16px; }

.why-section {
  color: #fff;
  background: var(--navy-deep);
}

.why-section .section-heading > p { color: rgba(255, 255, 255, .64); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, .14);
  border-right: 1px solid rgba(255, 255, 255, .14);
}

.why-grid article {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 28px;
  border-left: 1px solid rgba(255, 255, 255, .14);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  transition: color .25s ease, background .25s ease;
}

.why-grid article:hover { color: var(--navy-deep); background: var(--gold-bright); }
.why-grid span { color: var(--gold-bright); font-family: Arial, sans-serif; font-size: .7rem; }
.why-grid article:hover span { color: var(--navy-deep); }
.why-grid strong { max-width: 280px; line-height: 1.7; }

.process-grid--five { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.home-stats {
  color: #fff;
  background: var(--navy);
}

.home-stats .section { padding-block: 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stats-grid article {
  min-height: 210px;
  display: grid;
  place-content: center;
  gap: 10px;
  text-align: center;
  border-inline-start: 1px solid rgba(255, 255, 255, .13);
}

.stats-grid article:last-child { border-inline-end: 1px solid rgba(255, 255, 255, .13); }
.stats-grid strong { color: var(--gold-bright); font-size: clamp(2.7rem, 5vw, 4.8rem); line-height: 1; }
.stats-grid span { color: rgba(255, 255, 255, .7); font-size: .9rem; font-weight: 800; }

.home-contact {
  display: grid;
  grid-template-columns: minmax(280px, .65fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(45px, 7vw, 90px);
}

.home-contact__intro { position: sticky; top: 150px; }
.contact-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.contact-options > a,
.contact-options > div {
  position: relative;
  min-height: 155px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 7px;
  padding: 25px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(11, 36, 68, .05);
  transition: transform .2s ease, box-shadow .2s ease;
}

.contact-options > a:hover { transform: translateY(-4px); box-shadow: var(--public-shadow); }
.contact-options span { color: var(--muted); font-size: .76rem; }
.contact-options strong { overflow-wrap: anywhere; font-size: 1rem; }
.contact-options .contact-form-link { color: var(--navy-deep); background: var(--gold-bright); border-color: var(--gold-bright); }
.contact-form-link span { color: rgba(11, 36, 68, .64); }
.contact-form-link b { position: absolute; left: 24px; top: 22px; font-size: 1.35rem; }

.about-narrative {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1fr);
  gap: clamp(45px, 7vw, 90px);
}

.about-narrative .rich-text { font-size: 1.02rem; }
.about-narrative .rich-text p:first-child { margin-top: 0; }
.purpose-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-top: 0 !important; }
.purpose-grid article {
  position: relative;
  min-height: 390px;
  padding: clamp(30px, 5vw, 58px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 14px 42px rgba(11, 36, 68, .06);
}

.purpose-grid article:first-child { color: #fff; background: var(--navy-deep); border-color: var(--navy-deep); }
.purpose-grid article:first-child > p:not(.eyebrow) { color: rgba(255, 255, 255, .68); }
.purpose-grid article > span { position: absolute; top: 28px; left: 30px; color: var(--gold); font-family: Arial, sans-serif; font-size: .72rem; }
.purpose-grid h2 { margin-bottom: 24px; font-size: clamp(1.75rem, 3vw, 2.5rem); }
.about-cta,
.service-consultation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: clamp(50px, 7vw, 90px) !important;
  padding: clamp(32px, 5vw, 58px) !important;
  color: var(--navy-deep);
  background: var(--gold-bright);
  border-radius: 18px;
}

.about-cta .eyebrow,
.service-consultation .eyebrow { color: var(--navy-deep); opacity: .65; }
.about-cta .btn.primary,
.service-consultation .btn.primary { color: #fff; background: var(--navy-deep); border-color: var(--navy-deep); white-space: nowrap; }

.service-hero { grid-template-columns: minmax(0, 1fr) 250px; align-items: center; gap: clamp(40px, 7vw, 90px); }
.service-hero .btn { margin-top: 22px; }
.service-hero-mark {
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(219, 182, 94, .5);
  border-radius: 50%;
  box-shadow: inset 0 0 0 12px rgba(219, 182, 94, .08);
}

.service-hero-mark span { color: var(--gold-bright); font-family: Arial, sans-serif; font-size: 2.2rem; font-weight: 900; letter-spacing: .14em; }
.service-hero-mark strong { color: rgba(255, 255, 255, .68); font-size: .78rem; }
.service-detail { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1fr); gap: clamp(50px, 8vw, 110px); }
.service-detail__copy { position: sticky; top: 145px; align-self: start; }
.service-detail__copy h2 { margin-bottom: 22px; }
.service-deliverables { padding: clamp(28px, 4vw, 44px); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--public-shadow); }
.service-deliverables .section-heading h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.service-deliverables ol { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.service-deliverables li { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.service-deliverables li span { color: var(--gold); font-family: Arial, sans-serif; font-size: .7rem; }
.service-deliverables li strong { font-size: .94rem; line-height: 1.7; }

:root[data-theme="dark"] .nav-dropdown-menu { box-shadow: 0 24px 60px rgba(0, 0, 0, .38); }
:root[data-theme="dark"] .home-about-visual > span,
:root[data-theme="dark"] .contact-options .contact-form-link { color: var(--navy-deep); }

@media (max-width: 1040px) {
  .nav-dropdown-menu { right: -80px; }
  .home-about-section { grid-template-columns: minmax(320px, .78fr) minmax(0, 1fr); gap: 55px; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid--five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .process-grid--five article { padding-inline: 10px; }
}

@media (max-width: 900px) {
  .nav-dropdown { width: 100%; display: block; }
  .nav-dropdown-toggle { width: 100%; justify-content: space-between; padding: 13px 0; }
  .nav-dropdown-toggle::after { display: none; }
  .nav-dropdown-menu {
    position: static;
    width: 100%;
    display: none;
    grid-template-columns: 1fr;
    padding: 6px 10px 10px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: var(--surface-2);
    border: 0;
    border-radius: 8px;
    box-shadow: none;
    transform: none;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: grid; }
  body:not(.admin-body) .main-nav .nav-dropdown-menu a { padding: 10px 12px; border: 0; }
  .home-about-section,
  .about-narrative,
  .home-contact,
  .service-detail { grid-template-columns: 1fr; }
  .home-about-visual { width: min(620px, calc(100% - 28px)); min-height: 500px; margin-inline: auto; }
  .home-contact__intro,
  .service-detail__copy { position: static; }
  .process-grid--five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid article { min-height: 170px; border-bottom: 1px solid rgba(255, 255, 255, .13); }
  .service-hero { grid-template-columns: minmax(0, 1fr) 190px !important; }
}

@media (max-width: 720px) {
  .why-grid { grid-template-columns: 1fr; }
  .process-grid--five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-options { grid-template-columns: 1fr; }
  .purpose-grid { grid-template-columns: 1fr; }
  .purpose-grid article { min-height: 320px; }
  .service-hero { grid-template-columns: 1fr !important; }
  .service-hero-mark { display: none; }
  .about-cta,
  .service-consultation { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .home-about-visual { min-height: 390px; }
  .home-about-visual::before { inset: 18px -14px -18px 14px; }
  .home-about-visual > span { right: -12px; bottom: 22px; padding: 14px 17px; }
  .process-grid--five { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stats-grid article { min-height: 145px; border-inline: 0; }
  .stats-grid article:last-child { border-inline-end: 0; }
  .contact-options > a,
  .contact-options > div { min-height: 132px; }
  .purpose-grid article { padding: 28px 24px; }
  .service-deliverables { padding: 23px; }
  .about-cta,
  .service-consultation { padding: 28px 24px !important; }
}
