/* =========================================================
   Zunotiz Group of Industries — Homepage
   Visual source of truth: design reference mockup
   ========================================================= */

:root {
  --gold: #c19a5b;
  --gold-hover: #b08a4d;
  --ink: #111111;
  --ink-soft: #0f141a;
  --charcoal: #1a1a1a;
  --text: #1c1c1c;
  --text-muted: #6b6b6b;
  --text-faint: #8a8a8a;
  --white: #ffffff;
  --off-white: #f9f8f6;
  --grey-bg: #f5f5f5;
  --grey-line: #e6e6e6;
  --footer-link: #a8a8a8;
  --container: 1180px;
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-btn: 4px;
  --radius-card: 6px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  border-radius: var(--radius-btn);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
  white-space: nowrap;
}

.btn .icon-arrow {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}

.btn:hover .icon-arrow {
  transform: translateX(3px);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}

.btn-gold:hover {
  background: var(--gold-hover);
  box-shadow: 0 8px 24px rgba(193, 154, 91, 0.28);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: #2a2a2a;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.btn-white {
  background: var(--white);
  color: var(--ink);
}

.btn-white:hover {
  background: var(--off-white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.85);
  padding: 11px 20px;
  font-size: 12px;
  font-weight: 500;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-nav {
  flex-shrink: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}

.text-link .icon-arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}

.text-link:hover {
  color: var(--gold);
}

.text-link:hover .icon-arrow {
  transform: translateX(3px);
}

/* ---------- Brand ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--white);
}

.brand-sub {
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 2px;
}

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
}

.site-header.is-scrolled {
  position: fixed;
  background: rgba(15, 20, 26, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.header-inner {
  width: min(100% - 40px, 1280px);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  padding: 6px 0;
  transition: color 0.25s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--white);
}

.nav-link.is-active::after,
.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  place-items: center;
  gap: 5px;
  flex-direction: column;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.02);
  animation: heroZoom 18s var(--ease) infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8, 12, 20, 0.72) 0%,
    rgba(8, 12, 20, 0.45) 42%,
    rgba(8, 12, 20, 0.18) 100%
  );
}

.hero-mark {
  position: absolute;
  right: 8%;
  top: 18%;
  width: clamp(120px, 16vw, 220px);
  height: auto;
  aspect-ratio: 1;
  pointer-events: none;
  filter: drop-shadow(0 0 28px rgba(193, 154, 91, 0.45));
  opacity: 0.92;
  animation: markGlow 4.5s ease-in-out infinite alternate;
}

.hero-mark svg {
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 48px) 0 100px;
  max-width: 640px;
  margin-left: max(24px, calc((100% - var(--container)) / 2));
  margin-right: auto;
  width: min(100% - 48px, 640px);
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.eyebrow-light {
  color: var(--gold);
}

.eyebrow-muted {
  color: #7a8794;
}

.hero-title {
  font-size: clamp(36px, 5.2vw, 56px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.hero-desc {
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  max-width: 480px;
  margin-bottom: 34px;
}

/* ---------- Highlights ---------- */
.highlights {
  background: var(--grey-bg);
  padding: 64px 0;
  border-bottom: 1px solid #ececec;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.highlight-item {
  text-align: center;
  padding: 12px 36px;
  position: relative;
}

.highlight-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 12%;
  height: 76%;
  width: 1px;
  background: #ddd;
}

.highlight-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  color: #5c5c5c;
}

.highlight-icon svg {
  width: 100%;
  height: 100%;
}

.highlight-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.highlight-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 280px;
  margin-inline: auto;
}

/* ---------- What We Do ---------- */
.what-we-do {
  padding: 96px 0 88px;
  background: var(--white);
}

.section-header {
  max-width: 560px;
  margin-bottom: 48px;
}

.section-title {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 14px;
}

.section-lead {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.business-card {
  background: var(--white);
  border: 1px solid #ececec;
  border-radius: var(--radius-card);
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.05);
  overflow: visible;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.business-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(17, 17, 17, 0.1);
}

.business-media {
  position: relative;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  overflow: hidden;
  aspect-ratio: 4 / 3.15;
}

.business-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.business-card:hover .business-media img {
  transform: scale(1.04);
}

.business-badge {
  position: absolute;
  left: 14px;
  bottom: -18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid #e8e8e8;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  display: grid;
  place-items: center;
  color: var(--gold);
  z-index: 1;
}

.business-badge svg {
  width: 18px;
  height: 18px;
}

.business-body {
  padding: 28px 18px 22px;
}

.business-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.business-body p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* ---------- Vision ---------- */
.vision {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.vision-media {
  position: absolute;
  inset: 0;
}

.vision-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.vision-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(10, 18, 24, 0.62) 0%,
    rgba(10, 18, 24, 0.35) 48%,
    rgba(10, 18, 24, 0.15) 100%
  );
}

.vision-content {
  position: relative;
  z-index: 1;
  padding: 96px 0;
  max-width: 560px;
  margin-left: max(24px, calc((100% - var(--container)) / 2));
  margin-right: auto;
  width: min(100% - 48px, 560px);
}

.vision-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  margin-bottom: 18px;
}

.vision-rule {
  width: 28px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

.vision-title {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 420px;
}

.vision-desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  max-width: 460px;
  margin-bottom: 30px;
}

/* ---------- Industries ---------- */
.industries {
  padding: 96px 0 88px;
  background: var(--white);
}

.industries-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 56px;
}

.industries-lead {
  max-width: 520px;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 28px 16px;
}

.industry-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  transition: transform 0.3s var(--ease);
}

.industry-item:hover {
  transform: translateY(-3px);
}

.industry-icon {
  width: 56px;
  height: 56px;
  color: #6a6358;
  transition: color 0.3s var(--ease);
}

.industry-item:hover .industry-icon {
  color: var(--gold);
}

.industry-icon svg {
  width: 100%;
  height: 100%;
}

.industry-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  max-width: 110px;
}

/* ---------- Pre-footer ---------- */
.prefooter {
  background: var(--off-white);
  padding: 56px 0;
  border-top: 1px solid #ebe7e1;
}

.prefooter-inner {
  display: grid;
  grid-template-columns: 1.15fr 1.2fr auto;
  align-items: center;
  gap: 36px;
}

.prefooter-title {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 360px;
}

.prefooter-text {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 380px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-soft);
  color: var(--white);
  padding-top: 72px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.35fr 2.8fr;
  gap: 56px;
  padding-bottom: 56px;
}

.brand-footer .brand-name,
.brand-footer .brand-sub {
  color: var(--white);
}

.brand-footer .brand-sub {
  color: rgba(255, 255, 255, 0.7);
}

.footer-about {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--footer-link);
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.social-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.85);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease);
}

.social-link svg {
  width: 14px;
  height: 14px;
}

.social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}

.footer-col a {
  display: inline-block;
  font-size: 13px;
  color: var(--footer-link);
  margin-bottom: 10px;
  transition: color 0.25s var(--ease);
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: #7d7d7d;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-legal a {
  color: #7d7d7d;
  transition: color 0.25s var(--ease);
}

.footer-legal a:hover {
  color: var(--gold);
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

.delay-1 {
  transition-delay: 0.08s;
}
.delay-2 {
  transition-delay: 0.16s;
}
.delay-3 {
  transition-delay: 0.24s;
}
.delay-4 {
  transition-delay: 0.32s;
}

@keyframes heroZoom {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.08);
  }
}

@keyframes markGlow {
  from {
    opacity: 0.75;
    filter: drop-shadow(0 0 18px rgba(193, 154, 91, 0.3));
  }
  to {
    opacity: 1;
    filter: drop-shadow(0 0 36px rgba(193, 154, 91, 0.55));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-img {
    animation: none;
  }
  .hero-mark {
    animation: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .business-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .industries-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 36px 20px;
  }

  .nav-list {
    gap: 18px;
  }

  .nav-link {
    font-size: 12px;
  }
}

@media (max-width: 1024px) {
  .btn-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .primary-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(15, 20, 26, 0.97);
    backdrop-filter: blur(12px);
    padding: 20px 24px 28px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
    justify-content: flex-start;
  }

  .primary-nav.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
  }

  .nav-link {
    font-size: 15px;
    padding: 12px 0;
    display: block;
  }

  .site-header.is-scrolled,
  .site-header {
    position: fixed;
    background: rgba(15, 20, 26, 0.92);
    backdrop-filter: blur(14px);
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-cols {
    grid-template-columns: repeat(3, 1fr);
  }

  .prefooter-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .prefooter-title {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .hero {
    min-height: 92vh;
  }

  .hero-content,
  .vision-content {
    margin-left: 16px;
    width: min(100% - 32px, 640px);
  }

  .hero-content {
    padding: calc(var(--header-h) + 36px) 0 72px;
  }

  .hero-mark {
    width: 90px;
    right: 4%;
    top: 22%;
    opacity: 0.55;
  }

  .highlights {
    padding: 40px 0;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .highlight-item {
    padding: 0 12px 28px;
  }

  .highlight-item:not(:last-child)::after {
    left: 20%;
    right: 20%;
    top: auto;
    bottom: 0;
    width: auto;
    height: 1px;
  }

  .what-we-do,
  .industries {
    padding: 72px 0 64px;
  }

  .business-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .vision {
    min-height: 460px;
  }

  .vision-content {
    padding: 72px 0;
  }

  .industries-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .business-grid {
    grid-template-columns: 1fr;
  }

  .business-card {
    max-width: 400px;
    margin-inline: auto;
    width: 100%;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-title {
    font-size: 32px;
  }

  .brand-sub {
    display: none;
  }
}
