﻿:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #666666;
  --header: #050505;
  --surface: #f5f5f5;
  --brand: #d9a221;
  --radius: 18px;
  --shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Sora", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 100% 0%, #fff5db 0%, #ffffff 40%);
  line-height: 1.6;
}

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

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header);
  border-bottom: 1px solid #202020;
}

.nav-wrap {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  height: 86px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(217, 162, 33, 0.18));
}

.desktop-nav {
  display: flex;
  gap: 22px;
}

.desktop-nav a,
.mobile-nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.desktop-nav a::after,
.mobile-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width 0.25s ease;
}

.desktop-nav a:hover::after,
.mobile-nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 46px;
  height: 46px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  margin: 6px auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 0 4% 18px;
}

.mobile-nav.open {
  display: flex;
  animation: slideDown 0.3s ease;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: center;
  overflow: clip;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(120deg, rgba(255, 255, 255, 0.9) 35%, rgba(255, 255, 255, 0.5) 65%),
    url("assets/images/gallery/ihi-front.webp");
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  filter: hue-rotate(165deg) saturate(1.2) contrast(1.03);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-block: 52px;
}

.highlights {
  margin-top: -28px;
  position: relative;
  z-index: 5;
}

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

.highlight-item {
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}

.highlight-item svg {
  width: 20px;
  height: 20px;
  fill: var(--brand);
}

.highlight-item p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.overline {
  margin: 0 0 6px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand);
  font-weight: 700;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.15;
}

h1 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.03em;
  font-size: clamp(2.6rem, 8vw, 5.4rem);
}

h2 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.03em;
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 20px;
}

h3 {
  font-size: 1.2rem;
}

.lead {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  max-width: 62ch;
}

.hero-cta {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-dark {
  background: var(--header);
  color: #ffffff;
}

.btn-light {
  background: #ffffff;
  color: var(--header);
  border-color: #dddddd;
}

.section {
  padding: 78px 0;
}

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

.card {
  background: #ffffff;
  border: 1px solid #ebebeb;
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(217, 162, 33, 0.12);
  margin-bottom: 14px;
}

.card-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--brand);
}

.projects {
  background: linear-gradient(180deg, #ffffff 0%, #f9f9f9 100%);
}

.project {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0;
  background: #ffffff;
  border: 1px solid #ebebeb;
}

.project img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  cursor: zoom-in;
}

.project figcaption {
  padding: 14px 16px;
  font-size: 0.95rem;
  color: #242424;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 120;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(1200px, 94vw);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.about-wrap,
.contact-wrap {
  display: grid;
  gap: 26px;
  grid-template-columns: 1.15fr 1fr;
  align-items: start;
}

.about {
  background:
    radial-gradient(circle at 10% 30%, rgba(217, 162, 33, 0.1) 0, rgba(217, 162, 33, 0) 36%),
    #ffffff;
}

.about-copy p {
  margin-bottom: 16px;
}

.about-points {
  display: grid;
  gap: 10px;
}

.point-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: #1f1f1f;
}

.point-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 rgba(217, 162, 33, 0.55);
  animation: pulseDot 2.2s ease infinite;
}

.stats {
  display: grid;
  gap: 14px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1px solid #ebebeb;
  border-radius: var(--radius);
  padding: 18px 20px;
}

.stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(217, 162, 33, 0.12);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  animation: floatIcon 3.2s ease-in-out infinite;
}

.stat-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--brand);
}

.stat-text {
  display: grid;
  gap: 3px;
}

.stats strong {
  display: block;
  font-family: "Bebas Neue", sans-serif;
  color: var(--brand);
  font-size: 2.3rem;
  letter-spacing: 0.04em;
}

.stats span {
  color: #2f2f2f;
}

.contact-form {
  background: #ffffff;
  border: 1px solid #ebebeb;
  border-radius: var(--radius);
  padding: 24px;
}

.contact-map {
  grid-area: map;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #ebebeb;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.contact-map iframe {
  width: 100%;
  height: 250px;
  display: block;
}

.contact-copy {
  grid-area: copy;
}

.contact-form {
  grid-area: form;
}

.contact-wrap {
  grid-template-columns: 1.15fr 1fr;
  grid-template-areas:
    "copy form"
    "map form";
}

.contact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.contact-chips span {
  border: 1px solid #e5e5e5;
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #2a2a2a;
}

label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 6px;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid #d5d5d5;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 15px;
  font: inherit;
  background: #ffffff;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(217, 162, 33, 0.4);
  border-color: var(--brand);
}

.form-note {
  margin: 12px 0 0;
  color: #1f1f1f;
  font-size: 0.9rem;
}

.site-footer {
  background: #0b0b0b;
  color: #efefef;
  padding: 24px 0;
}

.footer-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
}

.site-footer h3,
.site-footer h4 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.site-footer p {
  margin: 0 0 4px;
  color: #d8d8d8;
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIcon {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(217, 162, 33, 0.55);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(217, 162, 33, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(217, 162, 33, 0);
  }
}

@media (max-width: 960px) {
  .highlight-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .about-wrap,
  .contact-wrap,
  .footer-wrap {
    grid-template-columns: 1fr;
  }

  .contact-wrap {
    grid-template-areas:
      "copy"
      "form"
      "map";
  }
}

@media (max-width: 760px) {
  .nav-wrap {
    min-height: 80px;
  }

  .brand img {
    height: 68px;
  }

  .desktop-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
  }

  .hero {
    min-height: 72vh;
  }

  .section {
    padding: 64px 0;
  }

  .highlights {
    margin-top: -16px;
  }

  .highlight-wrap {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .gallery {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .gallery::-webkit-scrollbar {
    display: none;
  }

  .gallery .project {
    flex: 0 0 84%;
    scroll-snap-align: start;
  }

  .gallery .project img {
    aspect-ratio: 4 / 3;
  }

  .contact-map iframe {
    height: 220px;
  }
}
