/* ISC × Customer GRC — Under construction */

:root {
  --green: #084828;
  --leaf: #78c078;
  --navy: #103048;
  --ink: #202a27;
  --muted: #4f5a56;
  --line: rgba(16, 48, 72, 0.14);
  --white: #ffffff;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ar: "Noto Sans Arabic", "Manrope", system-ui, sans-serif;

  --wrap: 62rem;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: #eef1ee;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, p, address { margin: 0; }
address { font-style: normal; }
[lang="ar"] { font-family: var(--font-ar); }

:focus-visible {
  outline: 3px solid var(--leaf);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Background: industrial photo under a white blur ---------- */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.backdrop::before {
  content: "";
  position: absolute;
  inset: -2rem;
  background: url("assets/industrial.jpg") center 60% / cover no-repeat;
  filter: blur(3px) saturate(0.85);
}

.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.94) 0%,
      rgba(255, 255, 255, 0.82) 20%,
      rgba(255, 255, 255, 0.74) 52%,
      rgba(255, 255, 255, 0.86) 100%);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
}

/* ---------- Page ---------- */

.page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Header */

.site-header {
  width: 100%;
}

.utility__inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: calc(72.5rem + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.utility {
  background: var(--green);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.75rem;
  font-weight: 600;
}

.utility__inner {
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.25rem;
}

.utility__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.utility a,
.utility__place {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: inherit;
  text-decoration: none;
}
.utility a { padding-block: 0.5rem; transition: color 0.2s var(--ease); }
.utility a:hover { color: var(--white); }

.utility svg {
  width: 0.875rem;
  height: 0.875rem;
  fill: none;
  stroke: var(--leaf);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* Logos */

.brands {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 3.5vw, 2.75rem);
  padding: clamp(1.5rem, 4vh, 2.5rem) var(--gutter) 0;
}

.brands__isc { height: 4.75rem; width: auto; }
.brands__grc { height: 4rem; width: auto; }

.brands__rule {
  width: 1px;
  height: 3.75rem;
  background: linear-gradient(transparent, rgba(16, 48, 72, 0.35), transparent);
}

/* Hero */

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: clamp(1.25rem, 4vh, 2.5rem) var(--gutter);
  text-align: center;
}

.burst {
  width: min(100%, 48rem);
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 1rem;
}

.eyebrow,
.tuned {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}

.title {
  margin-top: 0.9rem;
  font-size: clamp(1.9rem, 4.6vw, 3.6rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

.title span {
  font-weight: 700;
  color: var(--green);
}

.title-ar {
  margin-top: 0.75rem;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 600;
  color: var(--green);
}

.tuned {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1rem;
  letter-spacing: 0.28em;
}
.tuned::before,
.tuned::after {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: var(--leaf);
}

.lead {
  max-width: 34rem;
  margin: 1.1rem auto 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted);
  text-wrap: pretty;
}

/* Buttons */

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.875rem;
  padding: 0 1.4rem;
  border-radius: 0.625rem;
  border: 1.5px solid transparent;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn--primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 10px 22px -12px rgba(8, 72, 40, 0.65);
}
.btn--primary:hover { background: var(--navy); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.85);
  color: var(--navy);
  border-color: rgba(16, 48, 72, 0.22);
}
.btn--ghost:hover { border-color: var(--green); color: var(--green); }

/* Email chooser */

.mail-menu {
  position: fixed;
  z-index: 50;
  width: 16rem;
  padding: 0.375rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  box-shadow: 0 24px 48px -20px rgba(16, 48, 72, 0.45);
  animation: menu-in 0.18s var(--ease);
}
.mail-menu[hidden] { display: none; }

.mail-menu__addr {
  padding: 0.55rem 0.75rem 0.6rem;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  overflow-wrap: anywhere;
  text-align: left;
}

.mail-menu__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 2.75rem;
  padding: 0 0.75rem;
  border: 0;
  border-radius: 0.5rem;
  background: none;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}
.mail-menu__item:hover,
.mail-menu__item:focus-visible {
  background: #eef4ef;
  color: var(--green);
  outline-offset: -2px;
}
.mail-menu__item svg {
  flex: none;
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes menu-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* Contact */

.contact {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1.3fr;
  width: calc(100% - var(--gutter) * 2);
  max-width: var(--wrap);
  margin-bottom: clamp(1.25rem, 3.5vh, 2rem);
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 0.875rem;
  box-shadow: 0 24px 50px -36px rgba(16, 48, 72, 0.45);
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.1rem 1.35rem;
  min-width: 0;
}
.contact__item + .contact__item { border-left: 1px solid var(--line); }

.contact__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: var(--green);
  color: var(--white);
}
.contact__icon svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact__item > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact__label {
  margin-bottom: 0.2rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact__item a {
  align-self: flex-start;
  padding-block: 0.1rem;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--navy);
  text-decoration: none;
  overflow-wrap: break-word;
  transition: color 0.2s var(--ease);
}
.contact__item a:hover { color: var(--green); }

.contact__item address {
  font-weight: 600;
}

/* Footer */

.footer {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1.5rem;
  width: 100%;
  padding: 0.95rem max(var(--gutter), calc((100% - 72.5rem) / 2));
  background: var(--green);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.8125rem;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 38%;
  height: 3px;
  background: var(--leaf);
}
.footer a { text-decoration: none; color: var(--white); }
.footer a:hover { text-decoration: underline; }
.dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 0.5rem;
  border-radius: 50%;
  background: var(--leaf);
  vertical-align: middle;
}

/* ---------- Motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: rise 0.7s var(--ease) forwards;
  animation-delay: calc(var(--d, 0) * 110ms + 100ms);
}

@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .contact { grid-template-columns: 1fr 1fr; }
  .contact__item:nth-child(3) {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .utility__place { display: none; }
  .utility__inner { justify-content: center; }
  .utility__links { gap: 1rem; }
  .brands { flex-direction: column; gap: 1rem; }
  .brands__isc { height: 3.5rem; }
  .brands__grc { height: 3rem; }
  .brands__rule {
    width: 4rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(16, 48, 72, 0.35), transparent);
  }
  .burst { padding: 1.75rem 0; }
  .title { font-size: clamp(1.6rem, 8vw, 2.2rem); letter-spacing: 0.05em; }
  .eyebrow, .tuned { font-size: 0.6875rem; letter-spacing: 0.22em; }
  .tuned::before, .tuned::after { display: none; }
  .actions { width: 100%; max-width: 22rem; flex-wrap: nowrap; }
  .actions .btn { flex: 1 1 0; padding-inline: 1rem; }
  .contact { grid-template-columns: 1fr; }
  .contact__item + .contact__item { border-left: 0; border-top: 1px solid var(--line); }
  .footer { flex-direction: column; align-items: flex-start; }
}
