/* =========================
   BRAND
========================= */

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}

.brand img{
  width:58px;
  height:auto;
}

.brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.1;
  text-align:justify;
  text-justify:inter-word;
}

.brand strong{
  font-size:1.35rem;
  font-weight:800;
  color:#0d47c7;
  text-transform:uppercase;
  letter-spacing:-0.02em;
}

.brand-subtitle{
  display:block;
  width:100%;

  font-size:0.78rem;
  font-weight:700;
  letter-spacing:0.5px;
  text-transform:uppercase;

  color:#3d4657;

  margin-top:2px;
}

.brand-tagline{
  display:block;
  width:100%;

  font-size:0.63rem;
  font-weight:600;
  letter-spacing:0.65px;
  text-transform:uppercase;

  color:#6b7280;

  margin-top:2px;
}

/* =========================
   FOOTER
========================= */

.footer{
  background:#020617;
  color:#fff;
  margin-top:80px;
}

.footer-main{
  padding:70px 0;
  display:grid;
  grid-template-columns:1.2fr .7fr 1fr;
  gap:50px;
}

.footer h3{
  font-size:1.5rem;
  margin-bottom:10px;
}

.footer h4{
  font-size:1rem;
  margin-bottom:20px;
  color:#fff;
}

.footer-tag{
  color:#cbd5e1;
  font-weight:700;
  margin-bottom:18px;
}

.footer-copy{
  color:#94a3b8;
  line-height:1.8;
  margin-bottom:24px;
  max-width:420px;
}

.footer-contact{
  display:grid;
  gap:12px;
}

.footer-contact a,
.footer-contact span{
  color:#cbd5e1;
  font-weight:600;
}

.footer-links-wrap{
  display:flex;
  flex-direction:column;
}

.footer-links{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.footer-links a{
  color:#cbd5e1;
  font-weight:700;
  transition:.2s ease;
}

.footer-links a:hover{
  color:#fff;
}

/* =========================
   FOOTER FORM
========================= */

.footer-form{
  display:grid;
  gap:12px;
}

.footer-form input,
.footer-form textarea{
  width:100%;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
  color:#fff;
  border-radius:14px;
  padding:14px 16px;
  font:inherit;
  outline:none;
}

.footer-form textarea{
  min-height:110px;
  resize:vertical;
}

.footer-form input::placeholder,
.footer-form textarea::placeholder{
  color:#94a3b8;
}

.footer-form input:focus,
.footer-form textarea:focus{
  border-color:rgba(255,255,255,.18);
}

/* =========================
   FOOTER BOTTOM
========================= */

.footer-bottom{
  border-top:1px solid rgba(255,255,255,.08);
}

.footer-bottom-inner{
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.footer-bottom p{
  color:#94a3b8;
}

.footer-bottom-links{
  display:flex;
  gap:18px;
}

.footer-bottom-links a{
  color:#cbd5e1;
  font-weight:600;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:980px){

  .footer-main{
    grid-template-columns:1fr;
  }

  .footer-bottom-inner{
    flex-direction:column;
    justify-content:center;
    padding:20px 0;
    text-align:center;
  }

}

@media(max-width:640px){

  .footer-main{
    padding:50px 0;
    gap:40px;
  }

}

/* =========================
   PROJECTS PAGE
========================= */

.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item.is-hidden {
  display: none;
}

.project-image {
  position: relative;
  width: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  border-radius: 18px;
  background: transparent;
}

.project-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.project-image span {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.3s ease;
}

.project-image:hover img {
  transform: scale(1.06);
}

.project-image:hover span {
  opacity: 1;
  transform: translateY(0);
}

.project-info {
  padding-top: 1rem;
}

.gallery-load-wrap {
  text-align: center;
  margin-top: 2.5rem;
}

.empty-gallery {
  padding: 3rem;
  border-radius: 20px;
  background: #f7f7f7;
  text-align: center;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.88);
}

.gallery-lightbox.active {
  display: flex;
}

.gallery-window {
  width: min(1000px, 90vw);
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
}

.gallery-window img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
  background: #111;
}

.gallery-caption {
  padding: 1.25rem 1.5rem;
}

.gallery-close,
.gallery-nav {
  position: absolute;
  border: 0;
  cursor: pointer;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.gallery-close {
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 2rem;
}

.gallery-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 70px;
  border-radius: 999px;
  font-size: 3rem;
}

.gallery-prev {
  left: 1.5rem;
}

.gallery-next {
  right: 1.5rem;
}

@media (max-width: 900px) {
  .project-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .project-gallery {
    grid-template-columns: 1fr;
  }
}

/* =========================
   REGISTRATION LOGOS
========================= */

.footer-registrations {
  margin-top: 2rem;
}

.registration-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
  margin-bottom: 1rem;
}

.registration-logos {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.registration-logos img {
  height: 100px;
  width: auto;
  object-fit: contain;
  background: #fff;
  padding: 0.5rem;
  border-radius: 10px;
}