:root {
  --navy: #163967;
  --navy-dark: #081d38;
  --navy-deep: #07182f;
  --light: #f4f4f3;
  --white: #ffffff;
  --text: #101827;
  --muted: #6f7680;
  --cont: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
}

body {
  margin: 0;
  font-family: "PT Sans", sans-serif;
  font-size: 1.8rem;
  color: var(--text);
  background: var(--light);
}

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

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

.cont {
  width: min(100% - 8rem, var(--cont));
  margin: 0 auto;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "PT Serif", serif;
  font-weight: 400;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: 3.2rem 0;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled {
  padding: 1.6rem 0;
  background: rgba(8, 29, 56, 0.95);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15);
}

.nav-cont {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  width: 5.2rem;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 5rem;
}

.main-nav a {
  color: var(--white);
  text-transform: uppercase;
  font-size: 1.3rem;
  letter-spacing: 0.22em;
  transition: opacity 0.25s ease;
}

.main-nav a:hover {
  opacity: 0.65;
}

.nav-btn {
  background: var(--white);
  color: var(--navy) !important;
  padding: 1.4rem 4rem;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--white);
}

.language-switch span {
  opacity: 0.45;
}

.language-switch a {
  font-size: 1.2rem;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 78rem;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

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

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 29, 56, 0.96) 0%, rgba(8, 29, 56, 0.65) 18%, rgba(8, 29, 56, 0.15) 38%);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-cont {
  position: relative;
  min-height: 87rem;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 62rem;
  padding-top: 6rem;
}

.hero h1 {
  font-size: clamp(4.4rem, 5vw, 7.8rem);
  line-height: 1.05;
  margin-bottom: 2.6rem;
}

.hero-location {
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-location span {
  font-size: 1.2rem;
  margin-right: 0.8rem;
}

.hero-intro {
  margin-top: 24rem;
  max-width: 48rem;
}

.intro-line {
  display: block;
  width: 7rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.7);
  margin-bottom: 3rem;
}

.hero-intro p {
  font-size: 1.6rem;
  line-height: 1.35;
}

.section-light {
  padding: 10rem 0 0;
}

.section-title {
  font-size: clamp(3.8rem, 4vw, 5.4rem);
  line-height: 1.1;
  margin-bottom: 6rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  max-width: 100%;
}

.service-card {
  background: var(--navy);
  color: var(--white);
  min-height: 8.8rem;
  padding: 2.4rem;
  display: flex;
  align-items: center;
  font-family: "PT Serif", serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.15;
  transition: transform 0.35s ease, background 0.35s ease;
}

.service-card:hover {
  transform: translateY(-0.6rem);
  background: var(--navy-dark);
}

.team {
  padding-bottom: 12rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.team-card {
  background: var(--white);
  padding: 3rem 3.4rem;
}

.team-card h3,
.person-list h3 {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.2;
}

.team-card p,
.person-list p {
  margin-top: 0.6rem;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.team-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2.4rem;
  margin-top: 2.8rem;
}

.team-links a {
  font-size: 1.45rem;
  color: var(--navy);
}

.people-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  margin-top: 10rem;
}

.people-block h2 {
  font-size: clamp(3.8rem, 4vw, 5.3rem);
  margin-bottom: 7rem;
}

.person-list {
  display: grid;
  gap: 3.4rem;
  padding-left: 2.4rem;
}

.contact-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
  padding: 12rem 0;
}

.contact-bg {
  position: absolute;
  inset: 0;
  opacity: 1;
}

.contact-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 29, 56, 0.82);
}

.contact-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-cont {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 43rem;
  gap: 10rem;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(4rem, 4vw, 5.6rem);
  margin-bottom: 7rem;
}

.contact-group {
  display: grid;
  gap: 1.4rem;
  margin-bottom: 4rem;
}

.contact-group h3 {
  font-size: 2.3rem;
}

.contact-group h4 {
  font-family: "PT Sans", sans-serif;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.contact-group p,
.contact-group a {
  font-size: 1.6rem;
  line-height: 1.45;
}

.contact-form-box {
  background: rgba(8, 29, 56, 0.72);
  padding: 4rem;
}

.contact-form-box h3 {
  font-size: 2.4rem;
  margin-bottom: 3.4rem;
}

.contact-form {
  display: grid;
  gap: 2rem;
}

.form-field {
  display: grid;
  gap: 0.8rem;
}

label {
  font-size: 1.3rem;
}

input,
textarea {
  width: 100%;
  border: 0;
  background: var(--light);
  min-height: 4.6rem;
  padding: 1.2rem 1.4rem;
  font: inherit;
  font-size: 1.6rem;
}

textarea {
  resize: vertical;
  min-height: 11rem;
}

button {
  font-family: "PT Sans", sans-serif;
  cursor: pointer;
}

.contact-form button {
  height: 5rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.75);
  color: var(--white);
  font-size: 1.5rem;
  transition: background 0.25s ease, color 0.25s ease;
}

.contact-form button:hover {
  background: var(--white);
  color: var(--navy);
}

.site-footer {
  background: var(--navy-deep);
  color: var(--white);
  padding: 2.8rem 0;
}

.footer-cont {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
}

.footer-cont p {
  font-size: 1.2rem;
  line-height: 1.35;
}

.reveal {
  opacity: 0;
  transform: translateY(3rem);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

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

  .contact-cont {
    gap: 6rem;
  }
}

@media (max-width: 980px) {
  .cont {
    width: min(100% - 4rem, var(--cont));
  }

  .site-header {
    padding: 2rem 0;
  }

  .nav-toggle {
    display: flex;
    width: 4.4rem;
    height: 4.4rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.7rem;
  }

  .nav-toggle span {
    width: 2rem;
    height: 1px;
    background: var(--white);
    transition: transform 0.3s ease;
  }

  .nav-toggle.active span:first-child {
    transform: rotate(45deg) translate(0.3rem, 0.3rem);
  }

  .nav-toggle.active span:last-child {
    transform: rotate(-45deg) translate(0.3rem, -0.3rem);
  }

  .main-nav {
    position: fixed;
    top: 8rem;
    left: 2rem;
    right: 2rem;
    background: var(--navy-dark);
    padding: 3rem;
    display: grid;
    gap: 4rem;
    transform: translateY(-1rem);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .main-nav.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-btn {
    display: inline-flex;
    justify-content: center;
    width: fit-content;
  }

  .hero,
  .hero-cont {
    min-height: 72rem;
  }

  .hero-intro {
    margin-top: 16rem;
  }

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

  .team-grid,
  .people-row,
  .contact-cont {
    grid-template-columns: 1fr;
  }

  .people-row {
    gap: 8rem;
  }

  .person-list {
    padding-left: 0;
  }

  .contact-form-box {
    max-width: 54rem;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 1.6rem;
  }

  .cont {
    width: min(100% - 3rem, var(--cont));
  }

  .logo img {
    width: 4.4rem;
  }

  .hero,
  .hero-cont {
    min-height: 68rem;
  }

  .hero-bg::after {
    background: linear-gradient(90deg, rgba(8, 29, 56, 0.97) 0%, rgba(8, 29, 56, 0.72) 100%);
  }

  .hero-content {
    padding-top: 8rem;
  }

  .hero-location {
    font-size: 1.25rem;
  }

  .hero-intro {
    margin-top: 13rem;
  }

  .hero-intro p {
    font-size: 1.5rem;
  }

  .section-light {
    padding-top: 7rem;
  }

  .section-title {
    margin-bottom: 3.5rem;
  }

  .services-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 7.4rem;
  }

  .team {
    padding-bottom: 8rem;
  }

  .team-card {
    padding: 2.6rem 2.2rem;
  }

  .team-links {
    display: grid;
    gap: 1.2rem;
  }

  .people-row {
    margin-top: 7rem;
  }

  .people-block h2 {
    margin-bottom: 4rem;
  }

  .contact-section {
    padding: 8rem 0;
  }

  .contact-info h2 {
    margin-bottom: 4rem;
  }

  .contact-form-box {
    padding: 2.4rem;
  }

  .footer-cont {
    flex-direction: column;
  }
  
  .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
}