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

:root {
  --navy: #00263E;
  --navy-light: #0a3352;
  --navy-dark: #001a2c;
  --gold: #C9A84C;
  --gold-light: #e0c070;
  --white: #ffffff;
  --white-60: rgba(255,255,255,0.6);
  --white-20: rgba(255,255,255,0.08);
}

html, body {
  height: 100%;
  font-family: 'Montserrat', sans-serif;
  background-color: var(--navy);
  color: var(--white);
  overflow-x: hidden;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  animation: fadeDown 0.8s 0.2s ease forwards;
  position: relative;
  z-index: 2;
}

header img {
  width: 7.4375rem;
  height: 2.5rem;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 80px;
  position: relative;

  /* background image */
  background-image: url('building.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

/* dark overlay: image visible top, fades to navy at bottom */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 38, 62, 0.35) 0%,
      rgba(0, 38, 62, 0.65) 40%,
      rgba(0, 38, 62, 0.88) 70%,
      rgba(0, 38, 62, 1.00) 100%
    );
  z-index: 0;
}

/* all hero children above the overlay */
.hero > * {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 820px;
  margin-top: 100px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s ease forwards;
  text-shadow: -3px 3px 20px rgba(0, 0, 0, 0.9);
}

.hero-title strong {
  font-weight: 800;
  display: block;
}

.divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 36px;
  opacity: 0;
  animation: fadeUp 0.7s 0.9s ease forwards;
}

.hero-body {
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 400;
  line-height: 1.8;
  color: var(--white);
  max-width: 560px;
  margin: 0 auto 56px;
  opacity: 0;
  animation: fadeUp 0.8s 1.05s ease forwards;
}

.contact-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  padding: 28px 48px;
  border-radius: 3px;
  backdrop-filter: blur(8px);
  opacity: 0;
  animation: fadeUp 0.8s 1.35s ease forwards;
  transition: border-color 0.3s, background 0.3s;
  text-decoration: none;
}

.contact-card:hover {
  border-color: rgba(201,168,76,0.4);
  background: rgba(201,168,76,0.06);
}

.contact-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-email {
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.contact-email:hover { color: var(--gold-light); }

footer {
  padding: 28px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.07);
  background-color: var(--navy);
  opacity: 0;
  animation: fadeUp 0.8s 1.5s ease forwards;
}

.footer-copy {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.08em;
}

.footer-langs {
  display: flex;
  gap: 20px;
}

.footer-langs button {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.3);
  background: none;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  transition: color 0.2s;
  padding: 0;
}

.footer-langs button:hover,
.footer-langs button.active { color: var(--white); }

.translatable {
  transition: opacity 0.25s ease;
}
.translatable.switching {
  opacity: 0;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@media (max-width: 600px) {
  header { padding: 28px 24px; }
  footer { padding: 24px; flex-direction: column; gap: 14px; text-align: center; }
  .contact-card { padding: 22px 32px; }
}