:root {
  --atehad-primary: #f3b33f;
  --atehad-primary-dark: #d99a27;
  --atehad-primary-active: #d99a27;
  --atehad-primary-neutral: #e0b76b;
  --atehad-primary-pale: #fff0cc;
  --atehad-on-primary-btn: #11110d;

  --atehad-canvas: #ffffff;
  --atehad-canvas-soft: #eef3f6;
  --atehad-canvas-soft-2: #f7fafb;
  --atehad-ink: #385066;
  --atehad-ink-deep: #26394c;
  --atehad-body: #566879;
  --atehad-mute: #718191;
  --atehad-line: rgba(56, 80, 102, .14);
  --atehad-line-strong: rgba(56, 80, 102, .34);

  --atehad-positive: #2ead4b;
  --atehad-warning: #ffd11a;
  --atehad-negative: #d03238;
  --atehad-accent-orange: #f3b33f;
  --atehad-accent-cyan: #8fa7b9;
  --atehad-link: #385066;

  --atehad-radius-sm: 8px;
  --atehad-radius: 16px;
  --atehad-radius-lg: 20px;
  --atehad-radius-xl: 24px;
  --atehad-pill: 9999px;
  --atehad-page: 1200px;
  --atehad-nav-h: 76px;
  --atehad-font-family: "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif;
  --atehad-display-family: "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif;
  --atehad-header-bg: rgba(255, 255, 255, .68);
  --atehad-header-bg-solid: rgba(255, 255, 255, .82);
  --atehad-header-blur: 30px;
  --atehad-shadow-1: none;
  --atehad-shadow-2: none;
  --atehad-shadow-3: none;
  --atehad-shadow: var(--atehad-shadow-1);

  --mouse-x: 50vw;
  --mouse-y: 50vh;
  --mouse-aura-size: 300px;
  --mouse-mask-size: 340px;
  --mouse-ring-scale: 1;
  --mouse-ring-opacity: .78;
  --mouse-glow-primary: var(--atehad-primary);
  --mouse-glow-secondary: var(--atehad-accent-cyan);
  --fx-x: 50%;
  --fx-y: 50%;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --magic-lift: 0px;
  --magnet-x: 0px;
  --magnet-y: 0px;
  --btn-scale: 1;
  --btn-lift: 0px;
}

html.pointer-active {
  --mouse-aura-size: 360px;
  --mouse-mask-size: 440px;
  --mouse-ring-scale: 1.42;
  --mouse-ring-opacity: 1;
}

html {
  scroll-behavior: smooth;
}

body.atehad-site {
  margin: 0;
  background: var(--atehad-canvas-soft);
  color: var(--atehad-ink);
  font-family: var(--atehad-font-family);
  font-feature-settings: "calt";
  text-rendering: optimizeLegibility;
  isolation: isolate;
}

.atehad-site .site-header,
.atehad-site .site-footer,
.atehad-site .ast-mobile-popup-drawer,
.atehad-site .ast-primary-header-bar,
.atehad-site .ast-desktop-header-content,
.atehad-site .ast-mobile-header-wrap,
.atehad-site .entry-header,
.atehad-site .post-navigation,
.atehad-site .comments-area {
  display: none;
}

.atehad-site .site-content,
.atehad-site .ast-container,
.atehad-site .content-area,
.atehad-site .site-main,
.atehad-fullpage-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.atehad-site *,
.atehad-site *::before,
.atehad-site *::after {
  box-sizing: border-box;
}

.atehad-site a {
  color: inherit;
  text-decoration: none;
}

.atehad-site img {
  max-width: 100%;
}

.atehad-site .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.atehad-site :focus-visible {
  outline: 3px solid color-mix(in srgb, var(--atehad-primary) 78%, #fff);
  outline-offset: 3px;
}

.atehad-site .atehad-btn:focus-visible,
.atehad-site .atehad-nav-cta:focus-visible,
.atehad-site .atehad-floating-whatsapp:focus-visible {
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--atehad-primary) 28%, transparent);
}

.atehad-icon {
  width: 1.1em;
  height: 1.1em;
  flex: 0 0 auto;
}

.atehad-nav,
.atehad-hero,
.atehad-trust,
.atehad-section,
.atehad-company-profile,
.atehad-capabilities,
.atehad-page-hero,
.atehad-contact-layout,
.atehad-story,
.atehad-service-detail,
.atehad-cta,
.atehad-footer-grid,
.atehad-footer-bottom {
  width: min(var(--atehad-page), calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.atehad-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 16%, rgba(254, 198, 0, .2), transparent 28%),
    radial-gradient(circle at 84% 72%, rgba(54, 54, 54, .08), transparent 24%),
    linear-gradient(rgba(54, 54, 54, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(54, 54, 54, .04) 1px, transparent 1px),
    var(--atehad-canvas-soft);
  background-size: auto, auto, 40px 40px, 40px 40px, auto;
}

.atehad-bg-glow {
  display: none;
}

.mouse-glow-layer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .92;
  background:
    linear-gradient(rgba(56, 80, 102, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 80, 102, .055) 1px, transparent 1px),
    radial-gradient(
      circle var(--mouse-aura-size) at var(--mouse-x) var(--mouse-y),
      color-mix(in srgb, var(--mouse-glow-primary) 30%, transparent),
      color-mix(in srgb, var(--mouse-glow-secondary) 12%, transparent) 46%,
      transparent 74%
  );
  background-size: 38px 38px, 38px 38px, auto;
  background-position: 0 0, 0 0, 0 0;
  -webkit-mask-image: radial-gradient(
    circle var(--mouse-mask-size) at var(--mouse-x) var(--mouse-y),
    #000 0 36%,
    rgba(0, 0, 0, .72) 58%,
    transparent 80%
  );
  mask-image: radial-gradient(
    circle var(--mouse-mask-size) at var(--mouse-x) var(--mouse-y),
    #000 0 36%,
    rgba(0, 0, 0, .72) 58%,
    transparent 80%
  );
}

html.has-mouse-glow .mouse-glow-layer {
  display: block;
}

.mouse-glow-layer::after {
  content: "";
  position: fixed;
  left: var(--mouse-x);
  top: var(--mouse-y);
  width: 92px;
  height: 92px;
  border-radius: 999px;
  opacity: var(--mouse-ring-opacity);
  transform: translate(-50%, -50%) scale(var(--mouse-ring-scale, 1));
  background:
    radial-gradient(circle at 38% 34%, rgba(255, 255, 255, .34), transparent 18%),
    radial-gradient(circle, color-mix(in srgb, var(--mouse-glow-primary) 34%, transparent), transparent 68%);
  border: 1px solid color-mix(in srgb, var(--mouse-glow-primary) 46%, transparent);
  box-shadow:
    0 0 28px color-mix(in srgb, var(--mouse-glow-primary) 24%, transparent),
    0 0 70px color-mix(in srgb, var(--mouse-glow-primary) 18%, transparent),
    inset 0 0 18px rgba(255, 255, 255, .22);
  transition:
    opacity .24s ease,
    transform .26s ease,
    box-shadow .26s ease,
    border-color .24s ease;
}

html.pointer-active .mouse-glow-layer::after {
  box-shadow:
    0 0 36px color-mix(in srgb, var(--mouse-glow-primary) 36%, transparent),
    0 0 98px color-mix(in srgb, var(--mouse-glow-primary) 24%, transparent),
    inset 0 0 22px rgba(255, 255, 255, .28);
}

.atehad-site .site-content,
.atehad-site .site-main,
.atehad-fullpage-main,
.atehad-nav,
.atehad-hero,
.atehad-trust,
.atehad-section,
.atehad-company-profile,
.atehad-capabilities,
.atehad-page-hero,
.atehad-contact-layout,
.atehad-story,
.atehad-service-detail,
.atehad-cta,
.atehad-footer {
  position: relative;
  z-index: 1;
}

.atehad-nav {
  z-index: 200;
}

@media (max-width: 768px), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .mouse-glow-layer {
    display: none !important;
    animation: none !important;
  }
}

.atehad-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  width: 100%;
  background: var(--atehad-header-bg);
  border-bottom: 1px solid rgba(255, 255, 255, .42);
  box-shadow: 0 12px 36px rgba(38, 57, 76, .08);
  backdrop-filter: saturate(170%) blur(var(--atehad-header-blur));
  -webkit-backdrop-filter: saturate(170%) blur(var(--atehad-header-blur));
  transition: transform .28s ease, background .18s ease;
}

.atehad-nav--hidden {
  transform: translateY(-110%);
}

.atehad-nav--scrolled {
  background: var(--atehad-header-bg-solid);
}

.atehad-nav--always-visible.atehad-nav--hidden {
  transform: none;
}

.atehad-nav-spacer {
  height: var(--atehad-nav-h);
}

.atehad-nav-inner {
  display: grid;
  grid-template-columns: minmax(230px, auto) 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: var(--atehad-nav-h);
  width: min(var(--atehad-page), calc(100% - 48px));
  margin: 0 auto;
}

.atehad-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.atehad-brand-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
}

.atehad-brand-logo {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  object-fit: contain;
}

.atehad-brand-logo--wide {
  width: clamp(138px, 15vw, 194px);
  height: auto;
  max-height: 58px;
  flex: 0 0 auto;
  border-radius: 0;
}

.atehad-brand-mark {
  display: grid;
  place-items: center;
  color: var(--atehad-on-primary-btn);
  background: var(--atehad-primary);
  font-weight: 900;
  line-height: 1;
}

.atehad-brand strong,
.atehad-brand small {
  display: block;
}

.atehad-brand strong {
  max-width: 360px;
  color: var(--atehad-ink);
  font-size: .98rem;
  font-weight: 900;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.atehad-brand small {
  margin-top: 2px;
  color: var(--atehad-body);
  font-size: .74rem;
  line-height: 1.45;
}

.atehad-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
}

.atehad-menu a,
.atehad-mega-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  color: var(--atehad-ink);
  background: transparent;
  border: 0;
  border-radius: var(--atehad-pill);
  font: inherit;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
}

.atehad-menu a:hover,
.atehad-menu a:focus,
.atehad-mega-btn:hover,
.atehad-mega-btn:focus {
  background: var(--atehad-canvas-soft);
}

.atehad-menu a,
.atehad-mega-btn {
  position: relative;
  overflow: hidden;
}

.atehad-menu a::after,
.atehad-mega-btn::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 7px;
  width: calc(100% - 24px);
  height: 2px;
  background: var(--atehad-primary);
  border-radius: var(--atehad-pill);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .18s ease;
}

.atehad-menu a:hover::after,
.atehad-menu a:focus-visible::after,
.atehad-mega-btn:hover::after,
.atehad-mega-btn:focus-visible::after {
  transform: scaleX(1);
}

.atehad-menu-toggle {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--atehad-ink);
  background: var(--atehad-canvas);
  border: 1px solid var(--atehad-line);
  border-radius: var(--atehad-radius);
  cursor: pointer;
}

.atehad-menu-toggle::before,
.atehad-menu-toggle::after {
  content: "";
  position: absolute;
  left: 12px;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: var(--atehad-pill);
  transition: transform .18s ease;
}

.atehad-menu-toggle::before { top: 16px; }
.atehad-menu-toggle::after { top: 25px; }
.atehad-menu-toggle span { display: none; }
.atehad-menu-toggle b {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.atehad-menu-open .atehad-menu-toggle::before {
  top: 21px;
  transform: rotate(-45deg);
}

.atehad-menu-open .atehad-menu-toggle::after {
  top: 21px;
  transform: rotate(45deg);
}

.atehad-mega-wrap {
  position: relative;
}

.atehad-mega-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.atehad-chevron {
  width: .9em;
  height: .9em;
}

.atehad-mega-panel {
  position: absolute;
  top: calc(100% + 16px);
  right: 50%;
  z-index: 220;
  width: min(840px, calc(100vw - 40px));
  background: var(--atehad-canvas);
  border: 1px solid var(--atehad-ink);
  border-radius: var(--atehad-radius-xl);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(50%, 8px);
  overflow: hidden;
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.atehad-mega-btn[aria-expanded="true"] + .atehad-mega-panel,
.atehad-mega-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(50%, 0);
}

.atehad-mega-cols {
  display: grid;
  grid-template-columns: 260px 1fr;
}

.atehad-mega-groups,
.atehad-mega-services-list {
  margin: 0;
  padding: 16px;
  list-style: none;
}

.atehad-mega-groups {
  background: var(--atehad-canvas-soft);
  border-left: 1px solid var(--atehad-line);
}

.atehad-mega-group-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0 0 6px;
  padding: 12px 14px;
  color: var(--atehad-ink);
  background: transparent;
  border: 0;
  border-radius: var(--atehad-radius);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-align: right;
}

.atehad-mega-group-btn.is-active,
.atehad-mega-group-btn:hover {
  background: var(--atehad-primary-pale);
}

.atehad-mega-services-list {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.atehad-mega-services-list.is-active {
  display: grid;
}

.atehad-mega-services-head {
  grid-column: 1 / -1;
  padding: 8px 12px 12px;
  color: var(--atehad-mute);
  font-size: .78rem;
  font-weight: 800;
}

.atehad-mega-services-list a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--atehad-radius);
  color: var(--atehad-ink);
  font-size: .88rem;
  line-height: 1.55;
}

.atehad-mega-services-list a:hover {
  background: var(--atehad-canvas-soft);
}

.atehad-mega-see-all a {
  color: var(--atehad-ink) !important;
  background: var(--atehad-primary-pale);
  font-weight: 900 !important;
}

.atehad-mega-footer {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px 16px;
  border-top: 1px solid var(--atehad-line);
  background: var(--atehad-canvas-soft);
}

.atehad-mega-footer a {
  padding: 9px 14px;
  color: var(--atehad-ink);
  background: var(--atehad-canvas);
  border: 1px solid var(--atehad-line);
  border-radius: var(--atehad-pill);
  font-size: .86rem;
  font-weight: 800;
}

.atehad-mega-footer a:hover {
  background: var(--atehad-primary);
  border-color: var(--atehad-primary);
}

.atehad-mega-mobile-list {
  display: none;
}

.atehad-nav-cta,
.atehad-btn,
.atehad-wa-form button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--atehad-radius-xl);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.atehad-nav-cta {
  min-height: 44px;
  padding: 10px 18px;
  font-size: .88rem;
}

.atehad-nav-cta,
.atehad-btn-primary,
.atehad-wa-form button {
  color: var(--atehad-on-primary-btn) !important;
  background: var(--atehad-primary);
  border-color: var(--atehad-primary);
}

.atehad-nav-cta:hover,
.atehad-btn-primary:hover,
.atehad-wa-form button:hover {
  background: var(--atehad-primary-active);
  box-shadow: 0 12px 26px rgba(54, 54, 54, .14);
  transform: scale(1.03);
}

.atehad-btn-secondary {
  color: var(--atehad-ink);
  background: var(--atehad-canvas-soft);
  border-color: transparent;
}

.atehad-btn-secondary:hover {
  background: var(--atehad-primary-pale);
  border-color: var(--atehad-primary);
  transform: translateY(-1px);
}

.atehad-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, .86fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - var(--atehad-nav-h));
  padding: 64px 0 76px;
}

.atehad-hero-copy {
  position: relative;
  z-index: 2;
}

.atehad-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 13px;
  color: var(--atehad-ink);
  background: rgba(254, 198, 0, .15);
  border: 1px solid rgba(254, 198, 0, .36);
  border-radius: var(--atehad-pill);
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.35;
}

.atehad-hero h1,
.atehad-page-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--atehad-ink);
  font-family: var(--atehad-display-family);
  font-size: clamp(3.4rem, 6.25vw, 6.6rem);
  font-weight: 900;
  line-height: .94;
  letter-spacing: 0;
}

.atehad-hero h1::before {
  content: "";
  display: block;
  width: 76px;
  height: 4px;
  margin: 0 0 18px auto;
  background: #fec600;
  border-radius: var(--atehad-pill);
}

.atehad-page-hero h1 {
  font-size: clamp(3rem, 5.7vw, 6rem);
}

.atehad-hero p,
.atehad-page-hero p,
.atehad-section-head p {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--atehad-body);
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1.85;
}

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

.atehad-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 42px;
  max-width: 680px;
}

.atehad-hero-metrics article {
  padding: 22px;
  background: var(--atehad-canvas);
  border-radius: var(--atehad-radius-xl);
}

.atehad-hero-metrics strong,
.atehad-hero-metrics span {
  display: block;
}

.atehad-hero-metrics strong {
  color: var(--atehad-ink);
  font-size: 1.35rem;
  font-weight: 900;
}

.atehad-hero-metrics span {
  margin-top: 8px;
  color: var(--atehad-body);
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.65;
}

.atehad-hero-product {
  position: relative;
  z-index: 2;
}

.atehad-hero-media {
  display: block;
  width: 100%;
  aspect-ratio: 14 / 9;
  object-fit: cover;
  border: 1px solid var(--atehad-line);
  border-radius: var(--atehad-radius-lg);
  background: var(--atehad-canvas);
}

.atehad-window {
  position: relative;
  overflow: hidden;
  padding: 24px;
  background: var(--atehad-canvas);
  border: 1px solid var(--atehad-ink);
  border-radius: var(--atehad-radius-xl);
}

.atehad-window::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(243, 179, 63, .24), transparent 24%),
    linear-gradient(rgba(56, 80, 102, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 80, 102, .035) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
  pointer-events: none;
}

.atehad-window > * {
  position: relative;
  z-index: 1;
}

.atehad-window-bar {
  display: flex;
  gap: 7px;
  padding: 4px 0 18px;
}

.atehad-window-bar span {
  width: 11px;
  height: 11px;
  background: var(--atehad-ink);
  border-radius: 50%;
}

.atehad-command {
  padding: 28px;
  color: var(--atehad-primary);
  background: var(--atehad-ink);
  border-radius: var(--atehad-radius-xl);
}

.atehad-command small {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, .65);
  font-size: .78rem;
  font-weight: 700;
}

.atehad-command strong {
  display: block;
  color: var(--atehad-primary);
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1.35;
}

.atehad-command p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .76);
  line-height: 1.8;
}

.atehad-terminal {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 18px;
  color: var(--atehad-primary);
  background: var(--atehad-ink);
  border-radius: var(--atehad-radius-lg);
}

.atehad-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.atehad-product-grid article {
  min-height: 128px;
  padding: 20px;
  background: var(--atehad-canvas);
  border-radius: var(--atehad-radius-xl);
}

.atehad-product-grid span,
.atehad-product-grid strong {
  display: block;
}

.atehad-product-grid span {
  color: var(--atehad-mute);
  font-size: .76rem;
  font-weight: 800;
}

.atehad-product-grid strong {
  margin-top: 18px;
  color: var(--atehad-ink);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.45;
}

.atehad-trust,
.atehad-service-grid,
.atehad-process-grid,
.atehad-project-grid,
.atehad-post-grid,
.atehad-profile-stats,
.atehad-capability-grid,
.atehad-service-detail,
.atehad-story {
  display: grid;
  gap: 16px;
}

.atehad-trust {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0 0 58px;
}

.atehad-service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.atehad-process-grid,
.atehad-project-grid,
.atehad-post-grid,
.atehad-capability-grid,
.atehad-service-detail,
.atehad-story {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.atehad-trust article,
.atehad-profile-stats article,
.atehad-profile-principles,
.atehad-capability-grid article,
.atehad-service-card,
.atehad-process-grid article,
.atehad-post-card,
.atehad-story article,
.atehad-service-detail article,
.atehad-contact-form-wrap,
.atehad-contact-cards a,
.atehad-faq-item,
.atehad-service-group-block,
.atehad-single-content,
.atehad-empty,
.atehad-pagination a,
.atehad-pagination span {
  background: var(--atehad-canvas);
  border-radius: var(--atehad-radius-xl);
}

.atehad-trust article {
  min-height: 176px;
  padding: 24px;
}

.atehad-company-profile {
  grid-template-columns: minmax(0, .95fr) minmax(390px, .9fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: start;
  padding: 64px 0;
}

.atehad-profile-intro {
  position: sticky;
  top: calc(var(--atehad-nav-h) + 22px);
}

.atehad-profile-intro h2 {
  max-width: 790px;
  margin: 0;
  color: var(--atehad-ink);
  font-family: var(--atehad-display-family);
  font-size: clamp(2.25rem, 4.1vw, 4.35rem);
  font-weight: 900;
  line-height: .98;
  letter-spacing: 0;
}

.atehad-profile-intro p {
  max-width: 700px;
  margin: 22px 0 0;
  color: var(--atehad-body);
  font-size: 1.08rem;
  line-height: 1.9;
}

.atehad-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.atehad-profile-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.atehad-profile-stats article,
.atehad-capability-grid article {
  min-height: 188px;
  padding: 24px;
  border: 1px solid var(--atehad-line);
}

.atehad-profile-stats strong,
.atehad-profile-stats span,
.atehad-capability-grid span {
  display: block;
}

.atehad-profile-stats strong {
  color: var(--atehad-ink);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.atehad-profile-stats span,
.atehad-capability-grid span {
  margin-top: 16px;
  color: var(--atehad-mute);
  font-size: .78rem;
  font-weight: 900;
}

.atehad-profile-stats p,
.atehad-capability-grid p {
  margin: 10px 0 0;
  color: var(--atehad-body);
  line-height: 1.85;
}

.atehad-profile-principles {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--atehad-line);
}

.atehad-profile-principles p {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  color: var(--atehad-ink);
  font-weight: 800;
  line-height: 1.65;
}

.atehad-profile-principles .atehad-icon {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--atehad-primary);
  stroke-width: 2.4;
}

.atehad-capabilities {
  padding: 64px 0;
}

.atehad-capability-grid h3 {
  margin: 18px 0 0;
  color: var(--atehad-ink);
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.35;
}

.atehad-sector-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.atehad-sector-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 14px;
  color: var(--atehad-ink);
  background: var(--atehad-primary-pale);
  border: 1px solid var(--atehad-line);
  border-radius: var(--atehad-pill);
  font-size: .88rem;
  font-weight: 900;
}

.atehad-trust span,
.atehad-story span,
.atehad-post-card span {
  display: block;
  color: var(--atehad-mute);
  font-size: .78rem;
  font-weight: 900;
}

.atehad-trust strong {
  display: block;
  margin-top: 24px;
  color: var(--atehad-ink);
  font-size: 1.08rem;
  font-weight: 900;
}

.atehad-trust p,
.atehad-service-card p,
.atehad-process-grid p,
.atehad-post-card p,
.atehad-story p,
.atehad-service-detail p {
  margin: 10px 0 0;
  color: var(--atehad-body);
  line-height: 1.85;
}

.atehad-section {
  padding: 64px 0;
}

.atehad-section-head {
  margin-bottom: 32px;
}

.atehad-section-icon {
  display: block;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  object-fit: contain;
}

.atehad-section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}

.atehad-section-head h2,
.atehad-cta h2,
.atehad-story h2,
.atehad-source-note h2 {
  max-width: 860px;
  margin: 0;
  color: var(--atehad-ink);
  font-family: var(--atehad-display-family);
  font-size: clamp(2.25rem, 4vw, 4rem);
  font-weight: 900;
  line-height: .95;
  letter-spacing: 0;
}

.atehad-service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 324px;
  padding: 24px;
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}

.atehad-service-card:hover {
  background: var(--atehad-primary-pale);
  box-shadow: 0 16px 34px rgba(54, 54, 54, .1);
  transform: translateY(-4px);
}

.atehad-service-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  color: var(--atehad-ink);
  background: var(--atehad-primary);
  border-radius: 50%;
}

.atehad-service-card h3,
.atehad-process-grid h3,
.atehad-post-card h3,
.atehad-story h2,
.atehad-service-detail h2,
.atehad-project-card h3 {
  margin: 0 0 12px;
  color: var(--atehad-ink);
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1.38;
}

.atehad-service-card small {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 6px 10px;
  color: var(--atehad-ink);
  background: var(--atehad-canvas-soft);
  border-radius: var(--atehad-pill);
  font-size: .76rem;
  font-weight: 800;
  line-height: 1.4;
}

.atehad-service-card a,
.atehad-post-card > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin-top: auto;
  padding-top: 22px;
  color: var(--atehad-ink);
  font-weight: 900;
}

.atehad-service-groups {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.atehad-service-group-block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
  padding: 18px;
}

.atehad-service-group-block header {
  position: sticky;
  top: calc(var(--atehad-nav-h) + 18px);
  align-self: start;
  padding: 24px;
  background: var(--atehad-primary-pale);
  border-radius: var(--atehad-radius-xl);
}

.atehad-service-group-block header span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  color: var(--atehad-on-primary-btn);
  background: var(--atehad-primary);
  border-radius: var(--atehad-pill);
  font-size: .78rem;
  font-weight: 900;
}

.atehad-service-group-block h3 {
  margin: 0;
  color: var(--atehad-ink);
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.25;
}

.atehad-service-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.atehad-service-link-grid a {
  display: grid;
  min-height: 116px;
  padding: 18px;
  background: var(--atehad-canvas-soft);
  border-radius: var(--atehad-radius-xl);
}

.atehad-service-link-grid a:hover {
  background: var(--atehad-primary-pale);
}

.atehad-service-link-grid strong,
.atehad-service-link-grid small {
  display: block;
}

.atehad-service-link-grid strong {
  color: var(--atehad-ink);
  font-weight: 900;
  line-height: 1.45;
}

.atehad-service-link-grid small {
  align-self: end;
  color: var(--atehad-body);
  font-size: .82rem;
  font-weight: 700;
}

.atehad-process {
  width: min(var(--atehad-page), calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0;
}

.atehad-process-grid article,
.atehad-post-card,
.atehad-story article,
.atehad-service-detail article {
  padding: 24px;
}

.atehad-process-grid strong {
  display: block;
  margin-bottom: 22px;
  color: var(--atehad-ink);
  font-size: 1.05rem;
  font-weight: 900;
}

.atehad-showcase {
  overflow: hidden;
}

.atehad-project-card {
  position: relative;
  overflow: hidden;
  min-height: 370px;
  background: var(--atehad-canvas);
  border-radius: var(--atehad-radius-xl);
}

.atehad-project-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 370px;
  object-fit: cover;
  filter: saturate(.9);
  transition: transform .32s ease;
}

.atehad-project-card:hover img {
  transform: scale(1.04);
}

.atehad-project-card div {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 18px;
  color: var(--atehad-ink);
  background: rgba(255, 255, 255, .9);
  border-radius: var(--atehad-radius-xl);
  backdrop-filter: blur(14px);
}

.atehad-project-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--atehad-body);
  font-size: .84rem;
  font-weight: 800;
}

.atehad-partners {
  display: grid;
  grid-template-columns: minmax(280px, .62fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: start;
}

.atehad-partners-copy {
  position: sticky;
  top: calc(var(--atehad-nav-h) + 22px);
  padding: clamp(22px, 3vw, 34px);
  color: var(--atehad-ink);
  background: linear-gradient(135deg, var(--atehad-canvas), var(--atehad-primary-pale));
  border: 1px solid var(--atehad-line);
  border-radius: var(--atehad-radius-xl);
  box-shadow: var(--atehad-shadow);
}

.atehad-partners-copy h2 {
  max-width: 680px;
  margin: 0;
  color: var(--atehad-ink);
  font-family: var(--atehad-display-family);
  font-size: clamp(2rem, 3.4vw, 3.7rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
}

.atehad-partners-copy p {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--atehad-body);
  font-size: 1.08rem;
  line-height: 1.9;
}

.atehad-partner-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.atehad-partner-logo {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 96px;
  padding: 10px;
  background: rgba(255, 255, 255, .86);
  border: 1px solid var(--atehad-line);
  border-radius: var(--atehad-radius-xl);
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.atehad-partner-logo:hover {
  transform: translateY(-2px);
  background: var(--atehad-canvas);
  border-color: var(--atehad-primary);
}

.atehad-partner-logo img {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.atehad-partner-logo span {
  display: block;
  color: var(--atehad-ink);
  font-size: .76rem;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

.atehad-reviews {
  position: relative;
}

.atehad-reviews-box {
  overflow: hidden;
  padding: clamp(18px, 2.5vw, 28px);
  background: var(--atehad-canvas);
  border: 1px solid var(--atehad-line);
  border-radius: var(--atehad-radius-xl);
  box-shadow: var(--atehad-shadow);
}

.atehad-reviews-box:empty {
  display: none;
}

.atehad-reviews-box iframe,
.atehad-reviews-box .ti-widget,
.atehad-reviews-box [class*="trustindex"] {
  max-width: 100%;
}

.atehad-faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

.atehad-faq-item {
  overflow: hidden;
}

.atehad-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 24px;
  color: var(--atehad-ink);
  background: transparent;
  border: 0;
  text-align: right;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.atehad-faq-question b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--atehad-on-primary-btn);
  background: var(--atehad-primary);
  border-radius: 50%;
  font-weight: 900;
}

.atehad-faq-item p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--atehad-body);
  line-height: 1.9;
}

.atehad-cta {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, .68fr);
  gap: 28px;
  align-items: start;
  margin-top: 46px;
  margin-bottom: 76px;
  padding: 32px;
  color: var(--atehad-primary);
  background: var(--atehad-ink);
  border-radius: var(--atehad-radius-xl);
}

.atehad-cta .atehad-kicker {
  color: var(--atehad-primary);
  background: rgba(243, 179, 63, .12);
  border-color: transparent;
}

.atehad-cta h2 {
  color: var(--atehad-primary);
}

.atehad-cta p {
  margin: 18px 0 0;
  color: var(--atehad-canvas-soft);
  line-height: 1.9;
}

.atehad-cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.atehad-cta-links a {
  padding: 10px 14px;
  color: var(--atehad-canvas);
  background: rgba(255, 255, 255, .08);
  border-radius: var(--atehad-pill);
  font-size: .9rem;
  font-weight: 800;
}

.atehad-wa-form,
.atehad-contact-form {
  display: grid;
  gap: 12px;
}

.atehad-wa-form {
  padding: 24px;
  color: var(--atehad-ink);
  background: var(--atehad-canvas);
  border-radius: var(--atehad-radius-xl);
}

.atehad-wa-form label,
.atehad-contact-form label {
  display: grid;
  gap: 7px;
  color: var(--atehad-body);
  font-size: .9rem;
  font-weight: 800;
}

.atehad-wa-form input,
.atehad-wa-form select,
.atehad-wa-form textarea,
.atehad-contact-form input,
.atehad-contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  color: var(--atehad-ink);
  background: var(--atehad-canvas);
  border: 1px solid var(--atehad-ink);
  border-radius: var(--atehad-radius);
  font: inherit;
  outline: 0;
}

.atehad-wa-form input:focus,
.atehad-wa-form select:focus,
.atehad-wa-form textarea:focus,
.atehad-contact-form input:focus,
.atehad-contact-form textarea:focus {
  box-shadow: 0 0 0 4px var(--atehad-primary-pale);
}

.atehad-wa-form textarea,
.atehad-contact-form textarea {
  min-height: 112px;
  resize: vertical;
}

.atehad-page-hero {
  position: relative;
  padding: 78px 0 54px;
}

.atehad-contact-layout {
  display: grid;
  grid-template-columns: .76fr 1fr;
  gap: 18px;
  margin-bottom: 72px;
}

.atehad-contact-cards {
  display: grid;
  gap: 12px;
}

.atehad-contact-cards a {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 4px 12px;
  align-items: center;
  min-height: 112px;
  padding: 22px;
}

.atehad-contact-cards svg {
  grid-row: span 2;
  width: 28px;
  height: 28px;
  color: var(--atehad-ink);
}

.atehad-contact-cards span {
  color: var(--atehad-mute);
  font-size: .88rem;
  font-weight: 800;
}

.atehad-contact-cards strong {
  color: var(--atehad-ink);
  font-size: 1rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.atehad-contact-form-wrap {
  padding: 24px;
}

.atehad-source-note {
  padding: 24px;
  background: var(--atehad-canvas);
  border-radius: var(--atehad-radius-xl);
}

.atehad-source-note p {
  margin: 0 0 16px;
  color: var(--atehad-body);
  line-height: 1.85;
}

.atehad-source-note ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.atehad-source-note a {
  display: inline-flex;
  padding: 8px 12px;
  color: var(--atehad-ink);
  background: var(--atehad-primary-pale);
  border-radius: var(--atehad-pill);
  font-size: .88rem;
  font-weight: 800;
}

.atehad-post-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
}

.atehad-post-card h3 a:hover {
  text-decoration: underline;
}

.atehad-center {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.atehad-empty {
  padding: 22px;
}

.atehad-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.atehad-pagination a,
.atehad-pagination span {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
}

.atehad-footer {
  color: var(--atehad-canvas-soft);
  background: var(--atehad-ink);
}

.atehad-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr .8fr;
  gap: 34px;
  padding: 56px 0 34px;
}

.atehad-footer .atehad-brand strong,
.atehad-footer h3 {
  color: var(--atehad-primary);
}

.atehad-footer h3 {
  margin: 0 0 14px;
  font-size: .9rem;
  font-weight: 900;
}

.atehad-footer .atehad-brand small,
.atehad-footer p {
  color: var(--atehad-canvas-soft);
}

.atehad-footer p {
  max-width: 520px;
  line-height: 1.85;
}

.atehad-footer-grid a,
.atehad-footer-grid span {
  display: block;
  margin-bottom: 10px;
}

.atehad-footer-grid a:hover {
  color: var(--atehad-primary);
}

.atehad-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .68);
  font-size: .9rem;
}

.atehad-single-content {
  width: min(820px, calc(100% - 48px));
  margin: 0 auto 62px;
  padding: 32px;
  line-height: 2;
}

.atehad-single-content h2,
.atehad-single-content h3 {
  margin-top: 1.6em;
  color: var(--atehad-ink);
  font-weight: 900;
}

.atehad-single-content p,
.atehad-single-content li {
  color: var(--atehad-body);
}

.atehad-single-content a {
  color: var(--atehad-ink);
  font-weight: 900;
  text-decoration: underline;
}

.atehad-floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 180;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  color: var(--atehad-on-primary-btn) !important;
  background: var(--atehad-primary);
  border: 1px solid var(--atehad-ink);
  border-radius: var(--atehad-radius-xl);
  font-weight: 900;
  line-height: 1;
  transition: transform .16s ease, background .16s ease;
}

.atehad-floating-whatsapp:hover,
.atehad-floating-whatsapp:focus {
  color: var(--atehad-on-primary-btn) !important;
  background: var(--atehad-primary-active);
  transform: translateY(-2px);
}

.atehad-floating-whatsapp svg {
  width: 1.15em;
  height: 1.15em;
  stroke: currentColor;
}

@media (max-width: 1120px) {
  .atehad-service-grid,
  .atehad-capability-grid,
  .atehad-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .atehad-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .atehad-hero-product {
    max-width: 760px;
  }

  .atehad-company-profile {
    grid-template-columns: 1fr;
  }

  .atehad-profile-intro {
    position: relative;
    top: auto;
  }

  .atehad-profile-principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .atehad-nav-inner {
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
  }

  .atehad-menu-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }

  .atehad-menu {
    position: fixed;
    inset: var(--atehad-nav-h) 0 0;
    z-index: 190;
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 10px;
    width: 100%;
    height: calc(100dvh - var(--atehad-nav-h));
    padding: 18px max(18px, calc((100vw - var(--atehad-page)) / 2)) 28px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background:
      linear-gradient(180deg, var(--atehad-header-bg-solid), var(--atehad-canvas-soft));
    border-top: 1px solid var(--atehad-line);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }

  .atehad-menu-open .atehad-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  body.atehad-menu-open {
    overflow: hidden;
    touch-action: none;
  }

  .atehad-menu a {
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: 14px 16px;
    background: var(--atehad-canvas);
    border: 1px solid var(--atehad-line);
    border-radius: var(--atehad-radius-lg);
    font-size: 1rem;
    font-weight: 900;
  }

  .atehad-brand {
    grid-column: 1;
    justify-self: start;
  }

  .atehad-nav-cta {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .atehad-mega-wrap {
    width: 100%;
  }

  .atehad-mega-btn {
    width: 100%;
    justify-content: space-between;
    min-height: 54px;
    padding: 14px 16px;
    background: var(--atehad-canvas);
    border: 1px solid var(--atehad-line);
    border-radius: var(--atehad-radius-lg);
    font-size: 1rem;
    font-weight: 900;
  }

  .atehad-mega-panel {
    position: static;
    display: none;
    width: 100%;
    max-width: none;
    margin-top: 6px;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
  }

  .atehad-mega-btn[aria-expanded="true"] + .atehad-mega-panel,
  .atehad-mega-panel.is-open {
    display: block;
    transform: none;
  }

  .atehad-mega-cols {
    display: block;
  }

  .atehad-mega-groups {
    padding: 0;
    background: transparent;
    border-left: 0;
  }

  .atehad-mega-group-btn {
    width: 100%;
    margin-bottom: 6px;
    min-height: 50px;
    background: var(--atehad-canvas);
    border: 1px solid var(--atehad-line);
    border-radius: var(--atehad-radius);
  }

  .atehad-mega-mobile-list {
    display: grid;
    list-style: none;
    padding: 6px 12px 10px 0;
    margin: 0 0 8px;
    gap: 6px;
    border-right: 4px solid var(--atehad-primary);
  }

  .atehad-mega-mobile-list[hidden] {
    display: none;
  }

  .atehad-mega-mobile-list a {
    display: block;
    padding: 10px 12px;
    color: var(--atehad-ink);
    background: var(--atehad-canvas-soft);
    border-radius: var(--atehad-radius);
    font-size: .86rem;
    font-weight: 800;
  }

  .atehad-mega-services-wrap {
    display: none;
  }

  .atehad-mega-footer {
    display: grid;
    gap: 8px;
    padding: 10px 0 0;
    background: transparent;
    border-top: 0;
  }

  .atehad-mega-footer a {
    display: block;
    width: 100%;
    text-align: center;
  }

  .atehad-cta,
  .atehad-contact-layout {
    grid-template-columns: 1fr;
  }

  .atehad-trust,
  .atehad-project-grid,
  .atehad-post-grid,
  .atehad-profile-stats,
  .atehad-capability-grid,
  .atehad-story,
  .atehad-service-detail,
  .atehad-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .atehad-service-group-block {
    grid-template-columns: 1fr;
  }

  .atehad-service-group-block header {
    position: static;
  }

  .atehad-service-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .atehad-section-head-row {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .atehad-nav,
  .atehad-hero,
  .atehad-trust,
  .atehad-section,
  .atehad-company-profile,
  .atehad-capabilities,
  .atehad-page-hero,
  .atehad-contact-layout,
  .atehad-story,
  .atehad-service-detail,
  .atehad-cta,
  .atehad-footer-grid,
  .atehad-footer-bottom,
  .atehad-process {
    width: calc(100% - 24px);
  }

  .atehad-nav {
    width: 100%;
  }

  .atehad-nav-inner {
    width: calc(100% - 24px);
    gap: 10px;
  }

  .atehad-brand-logo,
  .atehad-brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .atehad-brand-logo--wide {
    width: clamp(116px, 33vw, 154px);
    height: auto;
    max-height: 48px;
    flex-basis: auto;
  }

  .atehad-brand strong {
    max-width: 118px;
    font-size: .82rem;
  }

  .atehad-brand small {
    display: none;
  }

  .atehad-nav-cta {
    min-height: 42px;
    min-width: 42px;
    padding: 9px 10px;
    border-radius: var(--atehad-radius);
    font-size: 0;
  }

  .atehad-nav-cta .atehad-icon {
    width: 20px;
    height: 20px;
  }

  .atehad-menu {
    padding-inline: 12px;
    padding-bottom: 24px;
  }

  .atehad-hero {
    padding: 44px 0 58px;
  }

  .atehad-hero h1,
  .atehad-page-hero h1 {
    font-size: 3.05rem;
    line-height: .95;
  }

  .atehad-hero p,
  .atehad-page-hero p,
  .atehad-section-head p {
    font-size: 1rem;
  }

  .atehad-hero-metrics,
  .atehad-product-grid,
  .atehad-trust,
  .atehad-service-grid,
  .atehad-service-link-grid,
  .atehad-process-grid,
  .atehad-profile-stats,
  .atehad-profile-principles,
  .atehad-capability-grid,
  .atehad-project-grid,
  .atehad-post-grid,
  .atehad-story,
  .atehad-service-detail,
  .atehad-footer-grid {
    grid-template-columns: 1fr;
  }

  .atehad-window,
  .atehad-profile-stats article,
  .atehad-profile-principles,
  .atehad-capability-grid article,
  .atehad-cta,
  .atehad-wa-form,
  .atehad-contact-form-wrap,
  .atehad-single-content {
    padding: 20px;
  }

  .atehad-command {
    padding: 22px;
  }

  .atehad-command strong {
    font-size: 1.32rem;
  }

  .atehad-section {
    padding: 52px 0;
  }

  .atehad-section-head h2,
  .atehad-cta h2,
  .atehad-story h2,
  .atehad-source-note h2 {
    font-size: 2.35rem;
  }

  .atehad-project-card,
  .atehad-project-card img {
    min-height: 310px;
  }

  .atehad-cta {
    margin-bottom: 56px;
  }

  .atehad-footer-bottom {
    display: grid;
  }

  .atehad-floating-whatsapp {
    right: 12px;
    bottom: 12px;
    min-height: 44px;
    padding: 11px 15px;
  }
}

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

  .atehad-site *,
  .atehad-site *::before,
  .atehad-site *::after {
    transition: none !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Phase 3.1 refinements */
html {
  background: var(--atehad-ink);
}

body.atehad-site {
  background: transparent;
}

body.atehad-site:not(.home) {
  background:
    radial-gradient(circle at 80% 12%, rgba(243, 179, 63, .18), transparent 22%),
    linear-gradient(rgba(56, 80, 102, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 80, 102, .035) 1px, transparent 1px),
    var(--atehad-canvas-soft);
  background-size: auto, 40px 40px, 40px 40px, auto;
}

body.atehad-site:not(.home) .atehad-fullpage-main,
body.atehad-site:not(.home) .site-main {
  background: transparent;
}

body.atehad-site:not(.home) .atehad-page-hero {
  display: grid;
  align-content: center;
  min-height: clamp(230px, 30vh, 330px);
  margin-top: 0;
  padding: clamp(32px, 4.5vw, 52px) 0 clamp(26px, 3.8vw, 42px);
  color: var(--atehad-ink);
}

body.atehad-site:not(.home) .atehad-page-hero::before {
  content: "";
  position: absolute;
  inset: 18px 0 0;
  z-index: -1;
  background:
    radial-gradient(circle at 92% 12%, rgba(243, 179, 63, .3), transparent 24%),
    var(--atehad-canvas-soft);
  border-radius: 0 0 var(--atehad-radius-xl) var(--atehad-radius-xl);
}

body.atehad-site:not(.home) .atehad-page-hero .atehad-kicker {
  margin-bottom: 18px;
  color: var(--atehad-ink);
  background: var(--atehad-canvas);
  border-color: var(--atehad-line);
}

body.atehad-site:not(.home) .atehad-page-hero h1 {
  max-width: 900px;
  color: var(--atehad-ink);
  font-size: clamp(2.2rem, 3.8vw, 4.15rem);
  line-height: 1.08;
}

body.atehad-site:not(.home) .atehad-page-hero p {
  max-width: 780px;
  margin-top: 18px;
  color: var(--atehad-body);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
}

body.atehad-site:not(.home) .atehad-trust,
body.atehad-site:not(.home) .atehad-section,
body.atehad-site:not(.home) .atehad-process,
body.atehad-site:not(.home) .atehad-contact-layout,
body.atehad-site:not(.home) .atehad-service-detail,
body.atehad-site:not(.home) .atehad-story {
  position: relative;
  z-index: 1;
}

body.atehad-site:not(.home) .atehad-section,
body.atehad-site:not(.home) .atehad-process {
  padding-top: clamp(30px, 4vw, 44px);
  padding-bottom: clamp(42px, 5vw, 66px);
}

body.atehad-site:not(.home) .atehad-section-head,
body.atehad-site:not(.home) .atehad-section-head-row {
  margin-bottom: 24px;
}

.atehad-bg {
  background:
    radial-gradient(circle at 18% 16%, rgba(243, 179, 63, .18), transparent 28%),
    radial-gradient(circle at 84% 72%, rgba(56, 80, 102, .08), transparent 24%),
    linear-gradient(rgba(56, 80, 102, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 80, 102, .035) 1px, transparent 1px),
    var(--atehad-canvas-soft);
  animation: none;
}

.atehad-mega-group-btn.is-active,
.atehad-mega-group-btn:hover,
.atehad-mega-services-list a:hover,
.atehad-mega-footer a:hover {
  color: var(--atehad-ink) !important;
}

.atehad-hero {
  min-height: min(760px, calc(100vh - var(--atehad-nav-h)));
  padding: clamp(34px, 4.8vw, 52px) 0 clamp(42px, 5vw, 64px);
  gap: clamp(26px, 4vw, 44px);
}

.atehad-hero h1,
.atehad-page-hero h1 {
  font-size: clamp(2.72rem, 4.85vw, 5.25rem);
  line-height: 1.02;
}

.atehad-page-hero h1 {
  font-size: clamp(2.5rem, 4.3vw, 4.7rem);
}

.atehad-hero p,
.atehad-page-hero p,
.atehad-section-head p {
  margin-top: 18px;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
}

.atehad-hero-actions {
  margin-top: 26px;
}

.atehad-hero-metrics {
  margin-top: 28px;
}

.atehad-hero-metrics article {
  padding: 18px;
}

.atehad-window {
  padding: 20px;
}

.atehad-command {
  padding: 22px;
}

.atehad-command strong {
  font-size: clamp(1.24rem, 1.7vw, 1.48rem);
}

.atehad-product-grid article {
  min-height: 104px;
  padding: 18px;
}

.atehad-product-grid strong {
  margin-top: 12px;
}

.atehad-section {
  padding: clamp(48px, 5.8vw, 72px) 0;
}

.atehad-section-head h2,
.atehad-cta h2,
.atehad-story h2,
.atehad-source-note h2 {
  font-size: clamp(2rem, 3.25vw, 3.35rem);
  line-height: 1.08;
}

.atehad-process {
  padding: clamp(48px, 5.4vw, 70px) 0;
}

.atehad-process-grid {
  position: relative;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  background: transparent;
}

.atehad-process-grid::before {
  content: "";
  position: absolute;
  top: 33px;
  right: 8%;
  left: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--atehad-primary), transparent);
}

.atehad-process-grid article {
  position: relative;
  padding: 0 18px;
  background: transparent;
  border-radius: 0;
}

.atehad-process-grid strong {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin-bottom: 24px;
  color: var(--atehad-ink);
  background: var(--atehad-primary);
  border: 2px solid var(--atehad-ink);
  border-radius: 50%;
}

.atehad-service-card {
  overflow: hidden;
  min-height: 382px;
  padding: 14px 14px 22px;
}

.atehad-service-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 14px;
  filter: saturate(.92) contrast(.98);
}

.atehad-service-icon {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 42px;
  height: 42px;
  margin: 0;
  border: 1px solid var(--atehad-ink);
}

.atehad-service-card small,
.atehad-service-card h3,
.atehad-service-card p,
.atehad-service-card a {
  margin-right: 4px;
  margin-left: 4px;
}

.atehad-project-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.atehad-project-card,
.atehad-project-card img {
  min-height: 310px;
}

.atehad-project-card div {
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 14px;
  border: 1px solid rgba(56, 80, 102, .08);
}

.atehad-faq-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: none;
  align-items: start;
}

.atehad-faq-item p {
  display: block;
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  transition: max-height .28s ease, opacity .2s ease, padding .28s ease;
}

.atehad-faq-item.is-open p {
  max-height: 200px;
  padding-bottom: 24px;
  opacity: 1;
}

.atehad-faq-item.is-open .atehad-faq-question b {
  transform: rotate(45deg);
}

.atehad-faq-question b {
  transition: transform .2s ease, background .2s ease;
}

.atehad-footer {
  width: 100%;
  margin: 0;
  padding-inline: max(24px, calc((100vw - var(--atehad-page)) / 2));
  color: var(--atehad-canvas-soft);
  background: var(--atehad-ink);
}

.atehad-footer-grid,
.atehad-footer-bottom {
  width: 100%;
}

.atehad-floating-wrap {
  position: fixed;
  bottom: 20px;
  z-index: 185;
}

.atehad-floating-wrap--right {
  right: 20px;
}

.atehad-floating-wrap--left {
  left: 20px;
}

.atehad-floating-whatsapp {
  position: relative;
  right: auto;
  bottom: auto;
}

.atehad-floating-panel {
  position: absolute;
  bottom: calc(100% + 12px);
  width: min(340px, calc(100vw - 32px));
  max-height: min(78vh, 620px);
  overflow: auto;
  padding: 14px;
  background: var(--atehad-canvas);
  border: 1px solid var(--atehad-ink);
  border-radius: var(--atehad-radius-xl);
}

.atehad-floating-wrap--right .atehad-floating-panel {
  right: 0;
}

.atehad-floating-wrap--left .atehad-floating-panel {
  left: 0;
}

.atehad-floating-form {
  display: grid;
  gap: 12px;
}

.atehad-floating-form label {
  display: grid;
  gap: 8px;
  color: var(--atehad-body);
  font-size: .9rem;
  font-weight: 800;
}

.atehad-floating-form input,
.atehad-floating-form select,
.atehad-floating-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 12px 14px;
  color: var(--atehad-ink);
  background: var(--atehad-canvas);
  border: 1px solid var(--atehad-ink);
  border-radius: var(--atehad-radius);
  font: inherit;
}

.atehad-floating-form textarea {
  min-height: 92px;
  resize: vertical;
}

/* UX refinements: navigation, hero, cards, FAQ, and floating CTA */
.atehad-nav[data-current-section="home"] .atehad-menu > a:nth-of-type(1),
.atehad-nav[data-current-section="about"] .atehad-menu > a:nth-of-type(2),
.atehad-nav[data-current-section="projects"] .atehad-menu > a:nth-of-type(3),
.atehad-nav[data-current-section="blog"] .atehad-menu > a:nth-of-type(4),
.atehad-nav[data-current-section="contact"] .atehad-menu > a:nth-of-type(5),
.atehad-nav[data-current-section="services"] .atehad-mega-btn,
.atehad-menu a.is-active,
.atehad-mega-btn.is-active {
  color: var(--atehad-ink);
  background: var(--atehad-primary-pale);
}

.atehad-nav[data-current-section="home"] .atehad-menu > a:nth-of-type(1)::after,
.atehad-nav[data-current-section="about"] .atehad-menu > a:nth-of-type(2)::after,
.atehad-nav[data-current-section="projects"] .atehad-menu > a:nth-of-type(3)::after,
.atehad-nav[data-current-section="blog"] .atehad-menu > a:nth-of-type(4)::after,
.atehad-nav[data-current-section="contact"] .atehad-menu > a:nth-of-type(5)::after,
.atehad-nav[data-current-section="services"] .atehad-mega-btn::after,
.atehad-menu a.is-active::after,
.atehad-mega-btn.is-active::after {
  transform: scaleX(1);
}

.atehad-hero-metrics article:nth-child(-n + 2) {
  border-right: 1px solid var(--atehad-line);
}

.atehad-command {
  color: #fff;
}

.atehad-command small,
.atehad-command p {
  color: rgba(255, 255, 255, .88);
}

.atehad-command strong {
  color: var(--atehad-primary);
}

.atehad-wa-form {
  display: grid;
}

.atehad-wa-form label:has(input[name="name"]) { order: 1; }
.atehad-wa-form label:has(select[name="stage"]) { order: 2; }
.atehad-wa-form label:has(select[name="service"]) { order: 3; }
.atehad-wa-form label:has(input[name="city"]) { order: 4; }
.atehad-wa-form label:has(textarea[name="message"]) { order: 5; }
.atehad-wa-form button[type="submit"] { order: 6; }

.atehad-field-note {
  display: inline-flex;
  margin-right: 6px;
  color: var(--atehad-mute);
  font-size: .82em;
  font-weight: 700;
}

.atehad-wa-form--simple label:has(select[name="service"]) { order: 2; }
.atehad-wa-form--simple label:has(textarea[name="message"]) { order: 3; }
.atehad-wa-form--simple button[type="submit"] { order: 4; }
.atehad-wa-form--simple label:has(input[name="city"]),
.atehad-wa-form--simple label:has(select[name="stage"]),
.atehad-floating-form label:has(input[name="city"]),
.atehad-floating-form label:has(select[name="stage"]) {
  display: none !important;
}

.atehad-wa-form button[disabled] {
  cursor: wait;
  opacity: .78;
}

.atehad-service-card small {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 3;
  margin: 0;
  padding: 7px 11px;
  color: var(--atehad-ink);
  background: rgba(255, 255, 255, .88);
  border: 1px solid var(--atehad-line);
  border-radius: var(--atehad-pill);
  backdrop-filter: blur(10px);
}

.atehad-service-card .atehad-service-icon {
  right: auto;
  left: 22px;
}

.atehad-service-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.atehad-faq-question b {
  transition: transform .28s ease, background .2s ease;
}

.atehad-faq-item.is-open .atehad-faq-question b {
  transform: rotate(45deg);
}

@keyframes atehad-floating-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.atehad-floating-whatsapp.is-pulsing {
  animation: atehad-floating-pulse 4s ease-in-out infinite;
}

.atehad-breadcrumb {
  width: min(var(--atehad-page), calc(100% - 48px));
  margin: 22px auto 0;
  color: var(--atehad-mute);
  font-size: .9rem;
  font-weight: 800;
}

.atehad-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.atehad-breadcrumb li:not(:last-child)::after {
  content: ">";
  margin-inline-start: 8px;
  color: var(--atehad-primary);
}

.atehad-breadcrumb a {
  color: var(--atehad-ink);
}

.atehad-reading-time {
  display: inline-flex;
  margin-right: 10px;
  color: var(--atehad-ink);
  font-weight: 900;
}

@media (max-width: 980px) {
  .atehad-mega-mobile-list {
    display: grid;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .3s ease, opacity .2s ease, padding .3s ease, margin .3s ease;
  }

  .atehad-mega-mobile-list[hidden] {
    display: none;
  }

  .atehad-mega-mobile-list.is-open {
    max-height: 360px;
    opacity: 1;
  }
}

.atehad-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
  transition-delay: var(--delay, 0ms);
}

.atehad-reveal.is-revealing {
  will-change: transform, opacity;
}

.atehad-reveal.is-revealed {
  opacity: 1;
  transform: none;
}

@media (max-width: 1180px) {
  .atehad-project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .atehad-partners {
    grid-template-columns: 1fr;
  }

  .atehad-partners-copy {
    position: relative;
    top: auto;
  }

  .atehad-partner-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .atehad-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 0;
  }

  .atehad-process-grid::before {
    display: none;
  }
}

@media (max-width: 1120px) {
  .atehad-hero {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .atehad-hero h1,
  .atehad-page-hero h1 {
    font-size: clamp(2.22rem, 10vw, 3.05rem);
    line-height: 1.06;
  }

  .atehad-hero {
    padding-top: 34px;
  }

  .atehad-hero-metrics,
  .atehad-faq-list,
  .atehad-project-grid,
  .atehad-partner-logo-grid,
  .atehad-profile-principles,
  .atehad-process-grid {
    grid-template-columns: 1fr;
  }

  .atehad-hero-product {
    display: none;
  }

  .atehad-hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
  }

  .atehad-hero-metrics article {
    padding: 11px;
  }

  .atehad-hero-metrics strong {
    font-size: 1.05rem;
  }

  .atehad-hero-metrics span {
    margin-top: 4px;
    font-size: .7rem;
    line-height: 1.45;
  }

  .atehad-process-grid article {
    padding: 0;
  }

  .atehad-service-card {
    min-height: auto;
  }

  .atehad-project-card,
  .atehad-project-card img {
    min-height: 300px;
  }

  .atehad-floating-wrap {
    bottom: 12px;
  }

  .atehad-floating-wrap--right {
    right: 12px;
  }

  .atehad-floating-wrap--left {
    left: 12px;
  }

  .atehad-footer {
    padding-inline: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .atehad-reveal,
  .atehad-faq-item p,
  .atehad-faq-question b {
    transition: none !important;
  }
}

@media (min-width: 1121px) {
  .atehad-hero {
    align-items: start;
    min-height: auto;
    padding-top: 26px;
    padding-bottom: 34px;
  }

  .atehad-hero h1 {
    font-size: clamp(2.35rem, 3.55vw, 3.9rem);
  }

  .atehad-hero p {
    margin-top: 14px;
    line-height: 1.75;
  }

  .atehad-hero-actions {
    margin-top: 20px;
  }

  .atehad-hero-metrics {
    gap: 8px;
    margin-top: 20px;
  }

  .atehad-hero-metrics article {
    padding: 13px;
  }

  .atehad-hero-metrics span {
    margin-top: 4px;
    font-size: .82rem;
  }

  .atehad-window {
    padding: 14px;
  }

  .atehad-window-bar {
    padding-bottom: 10px;
  }

  .atehad-command {
    padding: 16px;
  }

  .atehad-command strong {
    font-size: 1.18rem;
  }

  .atehad-command p {
    margin-top: 8px;
    font-size: .9rem;
    line-height: 1.65;
  }

  .atehad-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
  }

  .atehad-product-grid article {
    min-height: 86px;
    padding: 13px;
  }

  .atehad-product-grid span {
    font-size: .68rem;
  }

  .atehad-product-grid strong {
    margin-top: 8px;
    font-size: .83rem;
    line-height: 1.35;
  }
}

/* UX hotfixes: footer contrast, inner-page hero/profile rhythm, and snappier reveals. */
.atehad-footer {
  position: relative;
  background: var(--atehad-ink);
  color: rgba(255, 255, 255, .86);
  padding-bottom: max(72px, env(safe-area-inset-bottom));
  box-shadow: 0 180px 0 var(--atehad-ink);
}

.atehad-footer .atehad-footer-brand {
  align-items: center;
}

.atehad-footer .atehad-brand-logo--wide {
  width: clamp(172px, 16vw, 230px);
  max-height: none;
  padding: 10px 14px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .14);
}

body.atehad-site:not(.home) .atehad-page-hero {
  min-height: auto;
  padding: clamp(42px, 6vw, 72px) 0 clamp(34px, 5vw, 58px);
  overflow: visible;
}

body.atehad-site:not(.home) .atehad-page-hero h1 {
  max-width: 880px;
  font-size: clamp(2rem, 3.1vw, 3.4rem);
  line-height: 1.12;
}

body.atehad-site:not(.home) .atehad-page-hero p {
  max-width: 760px;
  font-size: clamp(.98rem, 1.15vw, 1.08rem);
  line-height: 1.75;
}

body.atehad-site:not(.home) .atehad-company-profile {
  padding-top: clamp(42px, 5vw, 70px);
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(22px, 3vw, 38px);
  align-items: start;
}

body.atehad-site:not(.home) .atehad-profile-intro {
  position: relative;
  top: auto;
}

body.atehad-site:not(.home) .atehad-profile-intro h2 {
  max-width: 720px;
  font-size: clamp(2.15rem, 3.2vw, 3.75rem);
  line-height: 1.08;
}

body.atehad-site:not(.home) .atehad-profile-intro p {
  max-width: 720px;
}

.atehad-profile-stats,
.atehad-profile-stats article {
  min-width: 0;
}

.atehad-reveal {
  transition-duration: .24s;
}

.atehad-faq-item,
.atehad-partner-logo {
  --delay: 0ms;
}

@media (max-width: 980px) {
  body.atehad-site:not(.home) .atehad-company-profile {
    grid-template-columns: 1fr;
  }
}

/* 21st-inspired interaction polish: spotlight cards, soft tilt, and magnetic CTAs. */
.atehad-btn,
.atehad-nav-cta,
.atehad-floating-whatsapp,
.atehad-wa-form button,
.atehad-menu a,
.atehad-mega-btn {
  --magnet-x: 0px;
  --magnet-y: 0px;
  --btn-scale: 1;
  --btn-lift: 0px;
  transform: translate3d(var(--magnet-x), calc(var(--magnet-y) + var(--btn-lift)), 0) scale(var(--btn-scale));
  will-change: auto;
}

.atehad-nav-cta:hover,
.atehad-btn-primary:hover,
.atehad-wa-form button:hover,
.atehad-floating-whatsapp:hover {
  --btn-scale: 1.03;
}

.atehad-btn-secondary:hover {
  --btn-lift: -1px;
}

.atehad-btn.is-magnetic,
.atehad-nav-cta.is-magnetic,
.atehad-floating-whatsapp.is-magnetic,
.atehad-wa-form button.is-magnetic,
.atehad-menu a.is-magnetic,
.atehad-mega-btn.is-magnetic {
  will-change: transform;
}

.atehad-profile-stats article,
.atehad-capability-grid article,
.atehad-service-card,
.atehad-process-grid article,
.atehad-post-card,
.atehad-project-card,
.atehad-contact-cards a,
.atehad-faq-item,
.atehad-partner-logo {
  --fx-x: 50%;
  --fx-y: 50%;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --magic-lift: 0px;
  position: relative;
  overflow: hidden;
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(var(--magic-lift));
  transform-style: preserve-3d;
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease,
    background-color .22s ease;
}

.atehad-profile-stats article > *,
.atehad-capability-grid article > *,
.atehad-service-card > *,
.atehad-process-grid article > *,
.atehad-post-card > *,
.atehad-project-card > *,
.atehad-contact-cards a > *,
.atehad-faq-item > *,
.atehad-partner-logo > * {
  position: relative;
  z-index: 1;
}

.atehad-profile-stats article::before,
.atehad-capability-grid article::before,
.atehad-service-card::before,
.atehad-process-grid article::before,
.atehad-post-card::before,
.atehad-project-card::before,
.atehad-contact-cards a::before,
.atehad-faq-item::before,
.atehad-partner-logo::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(
      circle 220px at var(--fx-x) var(--fx-y),
      color-mix(in srgb, var(--atehad-primary) 24%, transparent),
      color-mix(in srgb, var(--atehad-accent-cyan) 10%, transparent) 42%,
      transparent 72%
    );
  transition: opacity .22s ease;
}

.atehad-profile-stats article::after,
.atehad-capability-grid article::after,
.atehad-service-card::after,
.atehad-process-grid article::after,
.atehad-post-card::after,
.atehad-project-card::after,
.atehad-contact-cards a::after,
.atehad-faq-item::after,
.atehad-partner-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 1px;
  pointer-events: none;
  opacity: 0;
  border-radius: inherit;
  background:
    linear-gradient(
      135deg,
      transparent 0 18%,
      color-mix(in srgb, var(--atehad-primary) 46%, transparent),
      color-mix(in srgb, var(--atehad-accent-cyan) 26%, transparent),
      transparent 82% 100%
    );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  transition: opacity .22s ease;
}

.atehad-profile-stats article.is-magic-hot,
.atehad-capability-grid article.is-magic-hot,
.atehad-service-card.is-magic-hot,
.atehad-process-grid article.is-magic-hot,
.atehad-post-card.is-magic-hot,
.atehad-project-card.is-magic-hot,
.atehad-contact-cards a.is-magic-hot,
.atehad-faq-item.is-magic-hot,
.atehad-partner-logo.is-magic-hot {
  --magic-lift: -4px;
  border-color: color-mix(in srgb, var(--atehad-primary) 42%, var(--atehad-line));
  box-shadow: 0 18px 42px rgba(56, 80, 102, .13);
  will-change: transform;
}

.atehad-profile-stats article.is-magic-hot::before,
.atehad-capability-grid article.is-magic-hot::before,
.atehad-service-card.is-magic-hot::before,
.atehad-process-grid article.is-magic-hot::before,
.atehad-post-card.is-magic-hot::before,
.atehad-project-card.is-magic-hot::before,
.atehad-contact-cards a.is-magic-hot::before,
.atehad-faq-item.is-magic-hot::before,
.atehad-partner-logo.is-magic-hot::before {
  opacity: 1;
}

.atehad-profile-stats article.is-magic-hot::after,
.atehad-capability-grid article.is-magic-hot::after,
.atehad-service-card.is-magic-hot::after,
.atehad-process-grid article.is-magic-hot::after,
.atehad-post-card.is-magic-hot::after,
.atehad-project-card.is-magic-hot::after,
.atehad-contact-cards a.is-magic-hot::after,
.atehad-faq-item.is-magic-hot::after,
.atehad-partner-logo.is-magic-hot::after {
  opacity: 1;
}

@media (max-width: 768px), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .atehad-btn,
  .atehad-nav-cta,
  .atehad-floating-whatsapp,
  .atehad-wa-form button,
  .atehad-menu a,
  .atehad-mega-btn,
  .atehad-profile-stats article,
  .atehad-capability-grid article,
  .atehad-service-card,
  .atehad-process-grid article,
  .atehad-post-card,
  .atehad-project-card,
  .atehad-contact-cards a,
  .atehad-faq-item,
  .atehad-partner-logo {
    transform: none !important;
    will-change: auto !important;
  }

  .atehad-profile-stats article::before,
  .atehad-capability-grid article::before,
  .atehad-service-card::before,
  .atehad-process-grid article::before,
  .atehad-post-card::before,
  .atehad-project-card::before,
  .atehad-contact-cards a::before,
  .atehad-faq-item::before,
  .atehad-partner-logo::before,
  .atehad-profile-stats article::after,
  .atehad-capability-grid article::after,
  .atehad-service-card::after,
  .atehad-process-grid article::after,
  .atehad-post-card::after,
  .atehad-project-card::after,
  .atehad-contact-cards a::after,
  .atehad-faq-item::after,
  .atehad-partner-logo::after {
    display: none !important;
  }
}

/* v3.3.9 dark interface and layout repair */
html {
  color-scheme: dark;
  background: #0b1522;
}

:root {
  --atehad-primary-pale: color-mix(in srgb, var(--atehad-primary) 18%, transparent);
  --atehad-line: rgba(255, 255, 255, .13);
  --atehad-line-strong: rgba(243, 179, 63, .34);
}

body.atehad-site,
body.atehad-site:not(.home) {
  background:
    radial-gradient(circle at 12% 10%, rgba(243, 179, 63, .16), transparent 26%),
    radial-gradient(circle at 86% 36%, rgba(82, 127, 162, .18), transparent 28%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    var(--atehad-canvas-soft);
  background-size: auto, auto, 38px 38px, 38px 38px, auto;
  color: var(--atehad-body);
}

.atehad-bg {
  background:
    radial-gradient(circle at 12% 10%, rgba(243, 179, 63, .16), transparent 26%),
    radial-gradient(circle at 86% 36%, rgba(82, 127, 162, .16), transparent 28%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    transparent;
  background-size: auto, auto, 38px 38px, 38px 38px, auto;
}

.atehad-nav {
  background: color-mix(in srgb, var(--atehad-canvas) 74%, transparent);
  border-bottom-color: color-mix(in srgb, var(--atehad-primary) 18%, transparent);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .22);
}

.atehad-nav--scrolled {
  background: color-mix(in srgb, var(--atehad-canvas) 88%, transparent);
}

.atehad-menu a,
.atehad-mega-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--atehad-ink) !important;
}

.atehad-nav .atehad-menu a,
.atehad-nav .atehad-mega-btn,
.atehad-nav .atehad-nav-cta {
  --magnet-x: 0px !important;
  --magnet-y: 0px !important;
  transform: none !important;
}

.atehad-menu a > .atehad-icon,
.atehad-mega-btn > .atehad-icon:not(.atehad-chevron) {
  width: 17px;
  height: 17px;
  color: var(--atehad-primary);
  flex: 0 0 17px;
}

.atehad-menu a:hover,
.atehad-menu a:focus,
.atehad-mega-btn:hover,
.atehad-mega-btn:focus,
.atehad-nav[data-current-section="home"] .atehad-menu > a:nth-of-type(1),
.atehad-nav[data-current-section="about"] .atehad-menu > a:nth-of-type(2),
.atehad-nav[data-current-section="projects"] .atehad-menu > a:nth-of-type(3),
.atehad-nav[data-current-section="blog"] .atehad-menu > a:nth-of-type(4),
.atehad-nav[data-current-section="contact"] .atehad-menu > a:nth-of-type(5),
.atehad-nav[data-current-section="services"] .atehad-mega-btn {
  color: var(--atehad-ink) !important;
  background: color-mix(in srgb, var(--atehad-primary) 18%, transparent);
}

.atehad-brand-logo--wide {
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .22));
}

.atehad-nav .atehad-brand-logo--wide {
  width: clamp(128px, 13vw, 176px);
  max-height: 56px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 14px;
}

.atehad-mega-panel {
  width: min(1080px, calc(100vw - 40px));
  color: var(--atehad-ink);
  background: color-mix(in srgb, var(--atehad-canvas) 96%, #000);
  border-color: color-mix(in srgb, var(--atehad-primary) 32%, var(--atehad-line));
  box-shadow: 0 28px 80px rgba(0, 0, 0, .34);
}

.atehad-mega-cols {
  grid-template-columns: 260px minmax(0, 1fr);
}

.atehad-mega-groups,
.atehad-mega-footer {
  background: color-mix(in srgb, var(--atehad-canvas-soft) 72%, var(--atehad-canvas));
}

.atehad-mega-services-list a,
.atehad-mega-footer a,
.atehad-mega-group-btn,
.atehad-mega-mobile-list a {
  color: var(--atehad-ink) !important;
}

.atehad-mega-preview {
  display: grid;
  grid-template-columns: 1.1fr .9fr .8fr;
  gap: 14px;
  padding: 14px 16px 18px;
  border-top: 1px solid var(--atehad-line);
  background: color-mix(in srgb, var(--atehad-canvas) 78%, transparent);
}

.atehad-mega-preview-block {
  padding: 14px;
  background: color-mix(in srgb, var(--atehad-canvas-soft) 72%, var(--atehad-canvas));
  border: 1px solid var(--atehad-line);
  border-radius: 18px;
}

.atehad-nav-hover-panels {
  position: absolute;
  top: calc(100% + 14px);
  right: 50%;
  z-index: 230;
  width: min(560px, calc(100vw - 40px));
  transform: translate(50%, 8px);
  pointer-events: none;
}

.atehad-nav-hover-panel {
  display: none;
  padding: 16px;
  color: var(--atehad-ink);
  background: color-mix(in srgb, var(--atehad-canvas) 96%, #000);
  border: 1px solid color-mix(in srgb, var(--atehad-primary) 35%, var(--atehad-line));
  border-radius: 20px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .34);
}

.atehad-nav-hover-panel > strong {
  display: block;
  margin-bottom: 12px;
  color: var(--atehad-primary);
  font-size: .9rem;
  font-weight: 900;
}

.atehad-nav-hover-panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.atehad-menu:has(a[href*="/projects/"]:hover) .atehad-nav-hover-panels,
.atehad-menu:has(a[href*="/blog/"]:hover) .atehad-nav-hover-panels,
.atehad-menu:has(a[href*="/contact-us/"]:hover) .atehad-nav-hover-panels,
.atehad-nav-hover-panels.is-open,
.atehad-nav-hover-panels:hover {
  transform: translate(50%, 0);
  pointer-events: auto;
}

.atehad-menu:has(a[href*="/projects/"]:hover) .atehad-nav-hover-panel--projects,
.atehad-menu:has(a[href*="/blog/"]:hover) .atehad-nav-hover-panel--posts,
.atehad-menu:has(a[href*="/contact-us/"]:hover) .atehad-nav-hover-panel--contact,
.atehad-nav-hover-panels[data-active-panel="projects"] .atehad-nav-hover-panel--projects,
.atehad-nav-hover-panels[data-active-panel="posts"] .atehad-nav-hover-panel--posts,
.atehad-nav-hover-panels[data-active-panel="contact"] .atehad-nav-hover-panel--contact,
.atehad-nav-hover-panel:hover {
  display: block;
}

.atehad-mega-preview-block > strong {
  display: block;
  margin-bottom: 10px;
  color: var(--atehad-primary);
  font-weight: 900;
}

.atehad-mega-preview-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.atehad-mega-preview-cards a {
  display: grid;
  gap: 7px;
  color: var(--atehad-ink);
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.35;
}

.atehad-mega-preview-cards img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
}

.atehad-mega-preview-block ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.atehad-mega-contact-actions {
  display: grid;
  gap: 8px;
}

.atehad-mega-contact-actions a,
.atehad-mega-preview-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 11px;
  color: var(--atehad-ink);
  background: color-mix(in srgb, var(--atehad-primary) 15%, transparent);
  border-radius: var(--atehad-pill);
  font-size: .84rem;
  font-weight: 900;
}

.atehad-mega-contact-actions .atehad-icon {
  width: 17px;
  height: 17px;
  color: var(--atehad-primary);
}

.atehad-page-hero,
body.atehad-site:not(.home) .atehad-page-hero {
  min-height: auto;
  padding: clamp(30px, 4.2vw, 58px) 0 clamp(28px, 3.4vw, 46px);
}

body.atehad-site:not(.home) .atehad-page-hero::before {
  background:
    linear-gradient(135deg, rgba(20, 34, 51, .86), rgba(11, 21, 34, .9)),
    radial-gradient(circle at 92% 14%, rgba(243, 179, 63, .22), transparent 27%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='420' viewBox='0 0 900 420'%3E%3Cg fill='none' stroke='%23f3b33f' stroke-opacity='.18' stroke-width='2'%3E%3Cpath d='M60 330 210 120l170 125 160-180 220 230'/%3E%3Cpath d='M80 90h720M80 180h720M80 270h720M190 30v350M360 30v350M540 30v350M710 30v350' stroke-opacity='.10'/%3E%3Ccircle cx='210' cy='120' r='34'/%3E%3Ccircle cx='540' cy='65' r='28'/%3E%3C/g%3E%3C/svg%3E"),
    color-mix(in srgb, var(--atehad-canvas) 72%, transparent);
  background-size: auto, auto, cover, auto;
  background-position: center;
  border: 1px solid var(--atehad-line);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .18);
}

body.atehad-site:not(.home) .atehad-page-hero::after {
  content: "";
  position: absolute;
  inset: 18px 0 0;
  z-index: -1;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-radius: 0 0 var(--atehad-radius-xl) var(--atehad-radius-xl);
}

.atehad-hero h1,
.atehad-page-hero h1,
body.atehad-site:not(.home) .atehad-page-hero h1 {
  font-size: clamp(1.95rem, 3vw, 3.2rem);
  line-height: 1.16;
}

.atehad-section-head h2,
.atehad-cta h2,
.atehad-story h2,
.atehad-source-note h2 {
  font-size: clamp(1.75rem, 2.55vw, 2.85rem);
  line-height: 1.16;
}

.atehad-page-hero p,
body.atehad-site:not(.home) .atehad-page-hero p {
  max-width: 720px;
  color: var(--atehad-body);
}

.atehad-company-profile {
  display: none !important;
}

.atehad-trust article,
.atehad-capability-grid article,
.atehad-service-card,
.atehad-process-grid article,
.atehad-post-card,
.atehad-story article,
.atehad-service-detail article,
.atehad-contact-form-wrap,
.atehad-contact-cards a,
.atehad-faq-item,
.atehad-service-group-block,
.atehad-single-content,
.atehad-empty,
.atehad-source-note,
.atehad-wa-form,
.atehad-window,
.atehad-product-grid article {
  background: color-mix(in srgb, var(--atehad-canvas) 86%, #000);
  border: 1px solid var(--atehad-line);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .12);
}

.atehad-process-grid article {
  box-shadow: none;
}

.atehad-process {
  overflow: hidden;
}

.atehad-process-grid {
  gap: 0;
  padding: 24px 0;
  counter-reset: process-step;
}

.atehad-process-grid::before {
  top: 56px;
  right: 7%;
  left: 7%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--atehad-primary), color-mix(in srgb, var(--atehad-primary) 15%, transparent), var(--atehad-primary), transparent);
  opacity: .9;
}

.atehad-process-grid article {
  counter-increment: process-step;
  padding: 92px 18px 0;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0;
  text-align: right;
}

.atehad-process-grid article::before {
  content: counter(process-step, decimal-leading-zero);
  position: absolute;
  top: 4px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  color: transparent;
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--atehad-primary) 82%, #fff);
  font-size: 3.1rem;
  font-weight: 900;
  line-height: 1;
  background: radial-gradient(circle, color-mix(in srgb, var(--atehad-primary) 16%, transparent), transparent 68%);
  border: 1px solid color-mix(in srgb, var(--atehad-primary) 36%, transparent);
  border-radius: 50%;
}

.atehad-process-grid strong {
  display: none;
}

.atehad-process-grid h3 {
  margin-top: 0;
}

.atehad-capabilities {
  position: relative;
  overflow: hidden;
}

.atehad-capabilities::before {
  content: "";
  position: absolute;
  inset: 110px auto auto 50%;
  width: min(520px, 76vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  pointer-events: none;
  background:
    radial-gradient(circle, transparent 0 24%, color-mix(in srgb, var(--atehad-primary) 18%, transparent) 24.5% 25%, transparent 25.5% 43%, color-mix(in srgb, var(--atehad-accent-cyan) 18%, transparent) 43.5% 44%, transparent 44.5%),
    radial-gradient(circle, color-mix(in srgb, var(--atehad-primary) 10%, transparent), transparent 58%);
  opacity: .72;
}

.atehad-capability-grid {
  counter-reset: capability-card;
}

.atehad-capability-grid article {
  counter-increment: capability-card;
  min-height: 236px;
  padding: 34px 26px 28px;
  isolation: isolate;
}

.atehad-capability-grid article::before,
.atehad-capability-grid article::after {
  display: none !important;
}

.atehad-capability-grid article::marker {
  content: "";
}

.atehad-capability-grid article > * {
  position: relative;
  z-index: 1;
}

.atehad-capability-grid article h3::before {
  content: counter(capability-card, decimal-leading-zero);
  position: absolute;
  top: -28px;
  left: 0;
  z-index: -1;
  color: transparent;
  -webkit-text-stroke: 1.2px color-mix(in srgb, var(--atehad-primary) 45%, transparent);
  font-size: clamp(3.8rem, 7vw, 6.2rem);
  font-weight: 900;
  line-height: .8;
}

.atehad-service-card {
  overflow: hidden;
  border-color: color-mix(in srgb, var(--atehad-primary) 10%, var(--atehad-line));
  transition: transform .26s ease, background-color .26s ease, border-color .26s ease, box-shadow .26s ease;
}

.atehad-service-card:hover {
  background: color-mix(in srgb, var(--atehad-primary) 16%, var(--atehad-canvas));
  border-color: color-mix(in srgb, var(--atehad-primary) 58%, var(--atehad-line));
  box-shadow: 0 24px 58px rgba(0, 0, 0, .22);
  transform: translateY(-5px);
}

.atehad-service-card::before,
.atehad-service-card::after {
  display: none !important;
}

.atehad-service-card-image {
  margin-bottom: 16px;
  border: 1px solid var(--atehad-line);
}

.atehad-service-icon,
.atehad-service-card .atehad-service-icon {
  position: static;
  width: 38px;
  height: 38px;
  margin: 0 4px 12px auto;
  color: var(--atehad-on-primary-btn);
  border-color: color-mix(in srgb, var(--atehad-primary) 70%, var(--atehad-ink));
  box-shadow: 0 10px 24px rgba(243, 179, 63, .22);
}

.atehad-service-card small {
  color: var(--atehad-ink);
  background: color-mix(in srgb, var(--atehad-canvas) 72%, transparent);
  border-color: var(--atehad-line);
}

.atehad-service-card p {
  color: var(--atehad-body);
}

.atehad-service-link-grid a {
  background: color-mix(in srgb, var(--atehad-canvas) 78%, #000);
  border: 1px solid var(--atehad-line);
  transition: transform .22s ease, background-color .22s ease, border-color .22s ease;
}

.atehad-service-link-grid a:hover {
  background: color-mix(in srgb, var(--atehad-primary) 14%, var(--atehad-canvas));
  border-color: color-mix(in srgb, var(--atehad-primary) 45%, var(--atehad-line));
  transform: translateY(-3px);
}

.atehad-partners-copy {
  background: linear-gradient(135deg, color-mix(in srgb, var(--atehad-canvas) 88%, #000), color-mix(in srgb, var(--atehad-primary) 12%, var(--atehad-canvas)));
}

.atehad-partner-logo {
  background: color-mix(in srgb, var(--atehad-canvas) 88%, #000);
}

.atehad-footer,
.home .atehad-footer {
  padding-bottom: 28px !important;
  background: #142233;
  box-shadow: none !important;
}

.atehad-footer-grid {
  padding: 32px 0 22px;
}

.atehad-footer-bottom {
  padding: 14px 0 4px;
}

.atehad-footer .atehad-brand-logo--wide {
  width: clamp(146px, 13vw, 190px);
  padding: 8px 12px;
  background: rgba(255, 255, 255, .96);
  border-radius: 14px;
}

@media (min-width: 981px) {
  .atehad-mega-wrap:hover .atehad-mega-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(50%, 0);
  }
}

@media (max-width: 980px) {
  .atehad-nav-inner {
    grid-template-columns: auto 1fr auto;
  }

  .atehad-brand {
    grid-column: 1;
  }

  .atehad-menu-toggle {
    grid-column: 2;
  }

  .atehad-nav-cta {
    grid-column: 3;
    min-width: 118px;
    padding: 9px 12px;
    border-radius: var(--atehad-pill);
    font-size: .82rem;
  }

  .atehad-nav-cta span {
    display: inline;
  }

  .atehad-menu a,
  .atehad-mega-btn {
    color: var(--atehad-ink) !important;
    background: color-mix(in srgb, var(--atehad-canvas) 92%, #000);
  }

  .atehad-mega-preview {
    display: none;
  }

  .atehad-nav-hover-panels {
    display: none !important;
  }

  .atehad-mega-mobile-list.is-open {
    max-height: 300px;
  }

  .atehad-service-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .atehad-service-group-block header {
    position: static;
    top: auto;
    z-index: auto;
  }

  .atehad-partner-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .atehad-partners-copy {
    position: sticky;
    top: calc(var(--atehad-nav-h) + 10px);
    z-index: 3;
    padding: 16px;
  }
}

@media (max-width: 680px) {
  .atehad-nav-cta {
    min-width: 116px;
    min-height: 40px;
    font-size: .78rem;
  }

  .atehad-brand-logo--wide {
    width: clamp(104px, 28vw, 126px);
    max-height: 46px;
    padding: 5px 8px;
  }

  .atehad-hero h1,
  .atehad-page-hero h1,
  body.atehad-site:not(.home) .atehad-page-hero h1 {
    font-size: clamp(1.72rem, 6.5vw, 2.18rem);
    line-height: 1.2;
  }

  .atehad-section-head h2,
  .atehad-cta h2,
  .atehad-story h2,
  .atehad-source-note h2 {
    font-size: clamp(1.55rem, 6vw, 2rem);
    line-height: 1.22;
  }

  .atehad-service-grid {
    grid-template-columns: 1fr;
  }

  .atehad-service-link-grid a:nth-child(n + 4) {
    display: grid;
  }

  .atehad-partner-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px;
  }

  .atehad-partner-logo {
    min-height: 82px;
    padding: 8px 6px;
  }

  .atehad-partner-logo img {
    width: 34px;
    height: 34px;
  }

  .atehad-partner-logo span {
    font-size: .64rem;
  }

  .atehad-footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 28px;
  }

  .atehad-footer-bottom {
    gap: 8px;
    font-size: .78rem;
  }
}

/* v3.3.11 visual fixes: hero balance, CTA phone bidi, and project card contrast */
@media (min-width: 1180px) {
  body.home .atehad-hero {
    width: min(1900px, calc(100% - clamp(40px, 4vw, 80px)));
    grid-template-columns: minmax(620px, .95fr) minmax(700px, 1.05fr);
    min-height: min(690px, calc(100svh - var(--atehad-nav-h, 76px) - 18px));
    padding-top: clamp(46px, 6vh, 74px);
    padding-bottom: clamp(42px, 6vh, 72px);
  }

  body.home .atehad-hero-copy {
    max-width: 820px;
    justify-self: start;
  }

  body.home .atehad-hero-product {
    width: min(100%, 700px);
    justify-self: end;
  }
}

body.home .atehad-window {
  background:
    linear-gradient(145deg, rgba(15, 31, 48, .98), rgba(8, 19, 32, .96)),
    radial-gradient(circle at 16% 0%, color-mix(in srgb, var(--atehad-primary) 18%, transparent), transparent 30%);
  border-color: color-mix(in srgb, var(--atehad-primary) 18%, var(--atehad-line));
}

body.home .atehad-command {
  color: #f8fafc;
  background: rgba(248, 250, 252, .94);
}

body.home .atehad-command small {
  color: rgba(20, 34, 51, .72) !important;
}

body.home .atehad-command strong {
  color: var(--atehad-primary) !important;
}

body.home .atehad-command p {
  color: rgba(20, 34, 51, .9) !important;
  opacity: 1 !important;
}

body.home .atehad-trust {
  margin-top: clamp(8px, 2vh, 28px);
  align-items: stretch;
}

body.home .atehad-trust article {
  min-height: 238px;
  overflow: hidden;
}

body.home .atehad-hero-metrics {
  align-items: stretch;
}

body.home .atehad-hero-metrics article {
  min-width: 0;
  min-height: 112px;
}

.atehad-cta-links {
  align-items: center;
}

.atehad-cta-links a,
.atehad-contact-cards a {
  min-width: 0;
}

.atehad-phone-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
  white-space: normal;
}

.atehad-phone-link b,
.atehad-phone-link strong {
  display: inline-flex;
  direction: ltr;
  unicode-bidi: isolate;
  white-space: nowrap;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  letter-spacing: .02em;
}

.atehad-contact-cards .atehad-phone-link {
  justify-content: flex-start;
}

.atehad-contact-cards .atehad-phone-link strong {
  margin-inline-start: 0;
}

.atehad-project-card {
  background: #0d1b2b;
  border: 1px solid color-mix(in srgb, var(--atehad-primary) 18%, rgba(255, 255, 255, .1));
}

.atehad-project-card img {
  filter: saturate(.92) contrast(.96) brightness(.82);
}

.atehad-project-card div {
  color: #f8fafc !important;
  background:
    linear-gradient(180deg, rgba(11, 21, 34, .58), rgba(11, 21, 34, .86)),
    color-mix(in srgb, var(--atehad-canvas) 76%, transparent);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 44px rgba(0, 0, 0, .24);
}

.atehad-project-card h3,
.atehad-project-card p,
.atehad-project-card span {
  color: #f8fafc !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .28);
}

.atehad-project-card span,
.atehad-project-card p {
  color: rgba(248, 250, 252, .82) !important;
}

.atehad-nav-hover-panel {
  color: #f8fafc;
}

.atehad-nav-hover-panel a,
.atehad-nav-hover-panel li,
.atehad-nav-hover-panel span {
  color: #f8fafc !important;
}

body.atehad-projects-page .atehad-section-head {
  max-width: 980px;
  margin-inline-start: auto;
  margin-inline-end: auto;
  text-align: center;
}

body.atehad-projects-page .atehad-project-grid {
  align-items: stretch;
}

@media (max-width: 980px) {
  body.home .atehad-hero {
    width: min(100% - 28px, 760px);
    padding-top: 28px;
    padding-bottom: 44px;
  }

  body.home .atehad-trust article,
  .atehad-process-grid article {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  body.home .atehad-hero {
    width: calc(100% - 24px);
    gap: 22px;
  }

  .atehad-cta-links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .atehad-phone-link {
    gap: 8px;
  }

  .atehad-project-card,
  .atehad-project-card img {
    min-height: 330px;
  }

  .atehad-project-card div {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 14px;
  }
}
