/* ===================== KAIZEN — Built Better. ===================== */
/* Brand palette */
:root {
  --navy: #1d2f45;
  --navy-deep: #16243a;
  --steel: #5c5268;
  --sand: #d8c5a5;
  --sand-dark: #b39a78;
  --charcoal: #2b2b2b;
  --gray: #d9d9d9;
  --gray-light: #f5f3ef;
  --white: #ffffff;

  --font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 6px 18px rgba(29, 47, 69, 0.08);
  --shadow-md: 0 14px 40px rgba(29, 47, 69, 0.14);
  --shadow-lg: 0 26px 60px rgba(29, 47, 69, 0.22);
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===================== Reset ===================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background: var(--white);
}

body {
  font-family: var(--font);
  color: var(--charcoal);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================== Typography ===================== */
h1, h2, h3 {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.15;
  color: var(--navy);
}

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand-dark);
  margin-bottom: 16px;
}
.kicker--light { color: var(--sand); }

.section__title {
  font-size: clamp(1.7rem, 3.6vw, 2.8rem);
}

.section__head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}
.section__lead {
  margin-top: 16px;
  color: var(--steel);
  font-size: 1.05rem;
}

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
    color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn--primary {
  background: var(--sand);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--sand-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}
.btn--ghost:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-3px);
}
.btn--full { width: 100%; }

.text-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}
.text-link:hover { color: var(--sand-dark); transform: translateX(4px); }

/* ===================== Header ===================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 22px 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.header.scrolled {
  background: var(--navy);
  padding: 14px 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand__logo { display: block; height: 26px; width: auto; }
.brand__name {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--white);
  text-transform: uppercase;
}
.brand__tagline {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--sand);
  margin-top: 5px;
}

.nav { display: flex; align-items: center; gap: 36px; }
.nav__link {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  transition: color 0.25s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--sand);
  transition: width 0.3s var(--ease);
}
.nav__link:hover { color: var(--sand); }
.nav__link:hover::after { width: 100%; }
.nav__link--cta {
  background: var(--sand);
  color: var(--navy);
  padding: 10px 22px;
  border-radius: 50px;
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover { background: var(--sand-dark); color: var(--navy); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== Hero ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url("../assets/img/hero.png") center/cover no-repeat;
  color: var(--white);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(22, 36, 58, 0.92) 0%,
    rgba(29, 47, 69, 0.78) 45%,
    rgba(29, 47, 69, 0.45) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding-top: 90px;
}
.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 20px;
}
.hero__title {
  font-size: clamp(2.8rem, 8vw, 6rem);
  color: var(--white);
  letter-spacing: 0.03em;
  margin-bottom: 22px;
}
.hero__subtitle {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  max-width: 560px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.hero__scroll span {
  width: 4px; height: 8px;
  background: var(--sand);
  border-radius: 4px;
  animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ===================== Sections ===================== */
.section { padding: 100px 0; }
.section--alt { background: var(--gray-light); }
.section--dark { background: var(--navy); }

/* About */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.about__text p { color: var(--steel); margin-bottom: 16px; }

/* Grids */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

/* Service cards */
.card {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}
.card__num {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--sand-dark);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.card__title { font-size: 1.18rem; margin-bottom: 12px; }
.card p { color: var(--steel); font-size: 0.95rem; }
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--sand);
}

/* Why */
.why__item {
  text-align: center;
  padding: 30px 18px;
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.why__item h3 { font-size: 1.05rem; margin-bottom: 10px; }
.why__item p { color: var(--steel); font-size: 0.88rem; }
.why__item:hover { transform: translateY(-6px); background: var(--gray-light); }
.why__item--accent { background: var(--navy); }
.why__item--accent h3 { color: var(--sand); }
.why__item--accent p { color: rgba(255, 255, 255, 0.8); }
.why__item--accent:hover { background: var(--navy-deep); }

/* Projects */
.project {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.project__media { overflow: hidden; aspect-ratio: 4 / 3; }
.project__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.project__media img.img--toned {
  filter: saturate(0.82) contrast(1.04) brightness(0.96) sepia(0.12) hue-rotate(-6deg);
}
.project__body { padding: 26px 26px 30px; }
.project__body h3 { font-size: 1.15rem; margin-bottom: 10px; }
.project__body p { color: var(--steel); font-size: 0.92rem; }
.project:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.project:hover .project__media img { transform: scale(1.08); }

/* Process */
.steps {
  display: grid;
  gap: 22px;
  max-width: 820px;
  margin: 0 auto;
}
.step {
  display: flex;
  align-items: flex-start;
  gap: 26px;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.step:hover { transform: translateX(8px); box-shadow: var(--shadow-md); }
.step__num {
  flex: 0 0 auto;
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--sand);
  font-weight: 800;
  font-size: 1.25rem;
  border-radius: 50%;
}
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { color: var(--steel); font-size: 0.95rem; }

/* Mission / Vision */
.mv__item { padding: 16px 0; }
.mv__text {
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.6;
}

/* ===================== Contact ===================== */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.contact__intro { color: var(--steel); margin: 16px 0 30px; }
.contact__list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray);
  font-size: 0.95rem;
}
.contact__list span {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--navy);
}
.contact__list a:hover { color: var(--sand-dark); }

.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow-sm);
}
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  font-family: var(--font);
  font-size: 0.95rem;
  padding: 13px 16px;
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  background: var(--gray-light);
  color: var(--charcoal);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sand-dark);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(179, 154, 120, 0.18);
}
.field textarea { resize: vertical; }
.form__status {
  grid-column: 1 / -1;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sand-dark);
  min-height: 1em;
}

/* ===================== Footer ===================== */
.footer { background: var(--navy-deep); color: var(--white); }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  padding: 56px 24px;
}
.footer__brand .brand__name { font-size: 1.5rem; }
.footer__logo { display: block; height: 24px; width: auto; }
.footer__tagline {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sand);
  margin-top: 6px;
}
.footer__loc { color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; margin-top: 12px; }
.footer__nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__nav a {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.25s var(--ease);
}
.footer__nav a:hover { color: var(--sand); }
.footer__social { display: flex; gap: 12px; }
.social {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.social:hover {
  background: var(--sand);
  color: var(--navy);
  border-color: var(--sand);
  transform: translateY(-3px);
}
.social--ig { background: var(--white); border-color: var(--white); }
.social--ig img { width: 22px; height: 22px; display: block; }
.social--ig:hover { background: var(--white); border-color: var(--white); transform: translateY(-3px); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
  text-align: center;
}
.footer__bottom p { font-size: 0.82rem; color: rgba(255, 255, 255, 0.55); }

/* ===================== Reveal animation ===================== */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

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

@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78%, 320px);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    background: var(--navy);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.4);
  }
  .nav.open { transform: translateX(0); }
  .nav-toggle { display: flex; z-index: 110; }
  .header { background: var(--navy); padding: 16px 0; }

  .about__grid,
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .grid--2 { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .section { padding: 72px 0; }
  .grid--5 { grid-template-columns: repeat(2, 1fr); }
  .contact__form { grid-template-columns: 1fr; padding: 26px; }
  .step { flex-direction: row; gap: 18px; padding: 22px; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1; }
}

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

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll span { animation: none; }
}
