:root {
  --bg: #f7f5f1;
  --surface: #ffffff;
  --surface-alt: #efe9e0;
  --line: #ddd5ca;
  --text: #171513;
  --muted: #6f6a63;
  --deep: #11161f;
  --blue: #1b2f56;
  --blue-soft: #dfe6f3;
  --gold: #b89a6b;
  --shadow: 0 18px 50px rgba(17, 21, 29, 0.08);
  --radius: 22px;
  --max: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.24s;
}

.delay-3 {
  transition-delay: 0.36s;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 22px 0;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

.site-header.scrolled {
  background: rgba(247, 245, 241, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  padding: 14px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand-text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  position: relative;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--text);
}

.nav-toggle span:first-child {
  top: 18px;
}

.nav-toggle span:last-child {
  bottom: 18px;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--deep);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(0.75);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 14, 19, 0.15) 0%, rgba(10, 14, 19, 0.75) 100%),
    radial-gradient(circle at 80% 20%, rgba(27, 47, 86, 0.4), transparent 35%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: end;
  padding-bottom: 84px;
  padding-top: 140px;
}

.eyebrow,
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--gold);
  margin-bottom: 18px;
}

.hero h1,
.section-heading h2,
.section-copy h2,
.contact-copy h2 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.hero h1 {
  font-size: clamp(3.5rem, 8vw, 7rem);
  color: #fff;
}

.hero h1 em {
  color: var(--gold);
  font-style: italic;
}

.hero-subtitle {
  margin: 0 0 30px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
}

.hero-aside {
  align-self: end;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1rem;
  max-width: 360px;
  justify-self: end;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #2e4778, #1c2d4d);
  color: #fff;
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.section {
  padding: 110px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 52px;
}

.section-heading h2,
.section-copy h2,
.contact-copy h2 {
  font-size: clamp(2.1rem, 4.2vw, 4rem);
}

.section-heading p,
.section-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 1rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 70px;
  align-items: center;
}

.visual-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.stat-card {
  padding: 22px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.stat-card strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.services {
  background: #12151b;
  color: #fff;
}

.services .section-heading p,
.services .section-heading h2 {
  color: #fff;
}

.services .section-heading p {
  color: rgba(255, 255, 255, 0.66);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: #181d25;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(184, 154, 107, 0.45);
}

.service-media img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.service-body {
  padding: 26px;
}

.service-number {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.service-body h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 400;
}

.service-body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.tabs {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.tab-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.tab-btn {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 12px 18px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
}

.tab-btn.active {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.feature-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 12px;
}

.feature-list li {
  color: var(--text);
}

.philosophy {
  background: var(--surface-alt);
}

.philosophy blockquote {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.35;
  text-align: center;
  color: var(--blue);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-items {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

.contact-items span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 8px;
}

.contact-items a,
.contact-items p {
  margin: 0;
  color: var(--text);
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.field label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  color: var(--text);
}

.field textarea {
  resize: vertical;
}

.site-footer {
  background: #101317;
  color: rgba(255, 255, 255, 0.7);
  padding: 34px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 26px;
  align-items: center;
}

.footer-brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 6px;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.footer-copy {
  font-size: 0.78rem;
}

@media (max-width: 980px) {
  .hero-content,
  .two-col,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-aside {
    justify-self: start;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: start;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-list {
    position: absolute;
    top: calc(100% + 12px);
    right: 20px;
    min-width: 220px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .nav-list.open {
    display: flex;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .section {
    padding: 80px 0;
  }
}