:root {
  --bg: #07152b;
  --bg-soft: #0b2142;
  --surface: #102b52;
  --gold: #c9a45c;
  --gold-soft: #e0c28a;
  --text: #f3f5f9;
  --muted: #b8c2d8;
  --line: rgba(201, 164, 92, 0.28);
  --shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
  --mouse-x: 50%;
  --mouse-y: 20%;
  --scroll-progress: 0%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px circle at 15% 10%, #1a3762 0%, transparent 40%),
    radial-gradient(900px circle at 85% 0%, #132d53 0%, transparent 38%),
    linear-gradient(180deg, #061327 0%, #0b1f3d 100%);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: var(--scroll-progress);
  z-index: 50;
  background: linear-gradient(90deg, #f3d299, var(--gold), #7d6130);
  box-shadow: 0 0 16px rgba(201, 164, 92, 0.5);
  transition: width 0.12s linear;
}

.container {
  width: min(1300px, 95%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(7, 21, 43, 0.72);
  border-bottom: 1px solid rgba(224, 194, 138, 0.18);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.brand-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
  line-height: 1.1;
  color: var(--gold-soft);
}

.header-logo {
  height: 85px;
  max-width: 95px;
  width: auto;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.header-logo:hover {
  transform: scale(1.02);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--gold-soft);
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0.45rem 0.85rem;
  cursor: pointer;
}

.lang-btn.active {
  background: rgba(201, 164, 92, 0.2);
  color: var(--gold-soft);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero {
  position: relative;
  min-height: 84vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(7, 21, 43, 0.65), rgba(7, 21, 43, 0.88)),
    url("https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1800&q=80") center / cover no-repeat;
  z-index: -2;
  opacity: var(--hero-opacity, 1);
  transform: translateY(var(--hero-offset, 0)) scale(1.03);
  will-change: transform;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px circle at var(--mouse-x) var(--mouse-y), rgba(201, 164, 92, 0.2), transparent 34%),
    radial-gradient(700px circle at calc(var(--mouse-x) + 12%) calc(var(--mouse-y) + 18%), rgba(153, 179, 223, 0.14), transparent 40%);
  z-index: -1;
  pointer-events: none;
  transition: background 0.2s ease;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(6, 19, 39, 0.92) 22%, rgba(6, 19, 39, 0.4) 100%);
  z-index: -1;
}

.hero-content {
  padding: 5.5rem 0 4rem;
}

.hero-kicker,
.section-label {
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  margin-bottom: 0.65rem;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  line-height: 1.15;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  max-width: 860px;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  margin-bottom: 0.9rem;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.45rem;
}

.hero-sub {
  font-size: clamp(1rem, 2.1vw, 1.25rem);
  color: #d8dff0;
  max-width: 760px;
}

.hero-highlight {
  font-weight: 600;
  color: var(--gold-soft);
  max-width: 760px;
}

.cta-group {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0.78rem 1.25rem;
  border-radius: 0.6rem;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow);
}

.btn-gold {
  background: linear-gradient(145deg, #c9a45c, #af8a44);
  color: #08172f;
}

.btn-outline {
  border: 1px solid var(--line);
  color: var(--text);
}

.section {
  padding: 4.8rem 0;
}

.section-dark {
  background: linear-gradient(180deg, rgba(16, 43, 82, 0.5), rgba(10, 25, 50, 0.7));
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  align-items: start;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(224, 194, 138, 0.18);
  border-radius: 1rem;
  padding: 1.1rem;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background-color 0.35s ease;
  transform-style: preserve-3d;
}

.cards .card:hover,
.blog-grid .card:hover,
.contact-form.card:hover {
  transform: translateY(-4px) rotateX(2deg) rotateY(-2deg);
  border-color: rgba(224, 194, 138, 0.45);
  box-shadow: 0 20px 40px rgba(1, 7, 20, 0.45);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.feature {
  padding: 0.95rem 1rem;
  border-radius: 0.8rem;
  border: 1px solid var(--line);
  background: rgba(10, 24, 48, 0.4);
  transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.feature:hover {
  transform: translateY(-2px);
  border-color: rgba(224, 194, 138, 0.5);
  background: rgba(10, 24, 48, 0.75);
}

.timeline {
  margin-top: 1rem;
  padding-left: 1.1rem;
}

.timeline li {
  margin: 0.9rem 0;
  padding: 0.6rem 0.8rem;
  border-left: 2px solid var(--gold);
  background: rgba(7, 21, 43, 0.36);
  list-style-position: inside;
}

.blog-grid .card p {
  color: var(--muted);
}

.section-contact {
  background: linear-gradient(180deg, rgba(6, 18, 37, 0.3), rgba(6, 18, 37, 0.7));
}

.contact-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  gap: 1.1rem;
}

.contact-info-panel {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(224, 194, 138, 0.18);
  border-radius: 1rem;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-stack {
  display: grid;
  gap: 0.7rem;
}

.contact-line {
  display: grid;
  gap: 0.2rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(224, 194, 138, 0.18);
  border-radius: 0.7rem;
  background: rgba(4, 14, 29, 0.45);
  transition: border-color 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

.contact-line:hover {
  transform: translateY(-1px);
  border-color: rgba(224, 194, 138, 0.38);
  background: rgba(4, 14, 29, 0.72);
}

.contact-label {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.contact-value {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
}

a.contact-value {
  transition: color 0.25s ease;
}

a.contact-value:hover {
  color: var(--gold-soft);
}

.contact-form {
  display: grid;
  gap: 0.65rem;
  padding: 1.35rem;
  height: 100%;
  align-content: start;
}

.contact-form.card:hover {
  transform: none;
  border-color: rgba(224, 194, 138, 0.3);
  box-shadow: none;
}

label {
  font-size: 0.92rem;
  color: var(--gold-soft);
}

input,
textarea {
  width: 100%;
  padding: 0.75rem 0.8rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(184, 194, 216, 0.35);
  background: rgba(3, 10, 23, 0.6);
  color: var(--text);
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(201, 164, 92, 0.35);
  border-color: var(--gold);
}

.site-footer {
  border-top: 1px solid rgba(224, 194, 138, 0.2);
  padding: 2rem 0 1.25rem;
  color: var(--muted);
  background: rgba(5, 15, 31, 0.75);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 1rem;
}

.footer-title {
  margin: 0 0 0.55rem;
  color: var(--gold-soft);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  margin-bottom: 1.2rem;
}

.footer-brand-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-soft);
  line-height: 1.1;
}

.footer-logo {
  height: 115px;
  max-width: 130px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
  opacity: 0.95;
  transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}

.footer-logo:hover {
  opacity: 1;
  filter: drop-shadow(0 4px 8px rgba(201, 164, 92, 0.4));
}

.footer-text,
.footer-note {
  margin: 0;
  color: var(--muted);
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 0.4rem;
}

.footer-links a,
.footer-contact a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--gold-soft);
}

.footer-contact span {
  color: var(--muted);
}

.footer-bottom {
  margin-top: 1.2rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(224, 194, 138, 0.15);
  display: flex;
  justify-content: space-between;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.stagger>* {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger.visible>* {
  opacity: 1;
  transform: translateY(0);
}

.stagger.visible>*:nth-child(1) {
  transition-delay: 0.05s;
}

.stagger.visible>*:nth-child(2) {
  transition-delay: 0.1s;
}

.stagger.visible>*:nth-child(3) {
  transition-delay: 0.15s;
}

.stagger.visible>*:nth-child(4) {
  transition-delay: 0.2s;
}

.stagger.visible>*:nth-child(5) {
  transition-delay: 0.25s;
}

.stagger.visible>*:nth-child(6) {
  transition-delay: 0.3s;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 300ms;
  animation-timing-function: ease;
}

@media (max-width: 980px) {

  .grid-2,
  .cards,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .brand {
    gap: 0.5rem;
  }

  .brand-text {
    font-size: 1rem;
    white-space: pre-wrap;
    line-height: 1;
  }

  .header-logo {
    height: 65px;
    max-width: 75px;
  }

  .footer-logo {
    height: 100px;
    max-width: 120px;
  }

  .contact-layout {
    gap: 1rem;
  }

  .nav-wrap {
    gap: 0.25rem;
  }

  .lang-btn {
    padding: 0.35rem 0.65rem;
    font-size: 0.85rem;
  }

  .main-nav {
    display: none;
  }

  .header-right {
    gap: 0.5rem;
  }

  .hero {
    min-height: 72vh;
  }

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

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}