:root {
  --bg: #f5f8fc;
  --bg-alt: #eaf0f7;
  --surface: #ffffff;
  --text: #162033;
  --muted: #5c6678;
  --primary: #123d6a;
  --primary-strong: #0d2d4d;
  --accent: #c89232;
  --border: #dbe3ee;
  --shadow: 0 18px 40px rgba(16, 36, 64, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

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

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section__eyebrow {
  margin: 0 0 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.section__title {
  margin: 0 0 2rem;
  font-family: "DM Serif Display", serif;
  line-height: 1.1;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.bg-header {
  background: rgba(10, 23, 42, 0.92);
  box-shadow: 0 8px 24px rgba(9, 22, 40, 0.3);
}

.nav-wrap {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: "DM Serif Display", serif;
  font-size: 1.6rem;
  color: #fff;
}

.nav__toggle,
.nav__close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.7rem;
  cursor: pointer;
}

.nav__menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(300px, 85%);
  background: var(--primary-strong);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 1.25rem;
}

.show-menu {
  transform: translateX(0);
}

.nav__close {
  margin-left: auto;
  display: block;
}

.nav__list {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.nav__link {
  color: #d2dceb;
  font-weight: 600;
}

.nav__link:hover,
.nav__link:focus-visible,
.active-link {
  color: #fff;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: clip;
  color: #fff;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(200, 146, 50, 0.32), transparent 50%),
    linear-gradient(140deg, rgba(6, 16, 31, 0.8), rgba(15, 42, 77, 0.7));
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2.5rem;
  align-items: center;
  grid-template-columns: 1fr;
  padding-top: 5rem;
}

.hero__eyebrow {
  margin: 0 0 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f1d9a8;
  font-size: 0.82rem;
  font-weight: 700;
}

.home__title {
  margin: 0;
  font-family: "DM Serif Display", serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.05;
}

.hero__lead {
  margin: 1rem 0 0;
  max-width: 52ch;
  color: #ebf1f9;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.78rem 1.3rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.btn--primary {
  color: #fff;
  background: var(--accent);
}

.btn--primary:hover {
  background: #a97721;
}

.btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.nav__link:focus-visible,
.scroll-up:focus-visible {
  outline: 3px solid #9ec5ff;
  outline-offset: 3px;
}

.hero__visual {
  width: min(360px, 90%);
  margin-inline: auto;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  backdrop-filter: blur(4px);
}

.card-grid,
.gallery-grid {
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--surface);
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.gallery-item {
  padding: 50px;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--surface);
  border: 1px solid var(--border);
}

.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.gallery-item__content {
  padding: 1rem 1rem 1.1rem;
}

.gallery-item__content h3 {
  margin: 0 0 0.35rem;
  font-size: 1.08rem;
}

.gallery-item__content p {
  margin: 0;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal--left {
  transform: translate3d(-44px, 0, 0);
}

.reveal--right {
  transform: translate3d(44px, 0, 0);
}

.reveal--up {
  transform: translate3d(0, 36px, 0);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.two-col {
  display: grid;
  gap: 1.6rem;
  align-items: center;
}

.about__img img {
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.about__data p {
  color: var(--muted);
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1.25rem;
  display: grid;
  gap: 1rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

label {
  display: block;
  margin: 0 0 0.35rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c9d6e8;
  border-radius: 10px;
  padding: 0.72rem 0.8rem;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.scroll-up {
  position: fixed;
  right: 1rem;
  bottom: -4rem;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  display: grid;
  place-content: center;
  background: var(--primary);
  color: #fff;
  transition: bottom 0.25s ease;
}

.show-scroll {
  bottom: 1.2rem;
}

.footer {
  background: #0a1d35;
  color: #d5deeb;
  padding: 2rem 0;
}

.footer__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__socials {
  display: flex;
  gap: 0.75rem;
  font-size: 1.2rem;
}

@media (min-width: 768px) {
  .hero__content {
    grid-template-columns: 1.25fr 0.75fr;
  }

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

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

  .gallery-item img {
    height: 260px;
  }

  .two-col {
    grid-template-columns: 1fr 1fr;
  }

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

@media (min-width: 980px) {
  .nav__toggle,
  .nav__close {
    display: none;
  }

  .nav__menu {
    position: static;
    width: auto;
    transform: none;
    background: transparent;
    padding: 0;
  }

  .nav__list {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1.2rem;
  }

  .nav__link {
    color: #dce8f7;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
