:root {
  --ink: #111934;
  --ink-2: #1d2746;
  --ink-3: #29314f;
  --gold: #d3b15d;
  --gold-dark: #aa8841;
  --paper: #fbfaf7;
  --paper-2: #f0f2f4;
  --muted: #64708a;
  --line: rgba(17, 25, 52, 0.13);
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(17, 25, 52, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(17, 25, 52, 0.045) 1px, transparent 1px) 0 0 / 76px 76px,
    var(--paper);
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 10px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease, color 200ms ease;
}

.is-scrolled .site-header {
  color: var(--ink-2);
  background: rgba(251, 250, 247, 0.95);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 34px rgba(17, 25, 52, 0.08);
}

.brand {
  position: relative;
  display: block;
  width: min(196px, 48vw);
}

.brand img {
  width: min(196px, 48vw);
  height: auto;
}

.logo {
  transition: opacity 200ms ease;
}

.logo-color {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.is-scrolled .logo-white {
  opacity: 0;
}

.is-scrolled .logo-color {
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 32px);
  color: currentColor;
  font-size: 0.94rem;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding-block: 8px;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  transition: border-color 200ms ease, background 200ms ease;
}

.is-scrolled .language-switch {
  border-color: var(--line);
  background: rgba(17, 25, 52, 0.04);
}

.language-switch button {
  min-width: 34px;
  height: 30px;
  padding: 0 9px;
  color: currentColor;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 900;
}

.language-switch button.is-active {
  color: var(--ink);
  background: var(--gold);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.48fr);
  gap: clamp(24px, 4vw, 56px);
  min-height: 100svh;
  padding: calc(78px + clamp(34px, 5vw, 74px)) clamp(20px, 5vw, 72px) clamp(34px, 5vw, 74px);
  overflow: hidden;
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 25, 52, 0.99) 0%, rgba(17, 25, 52, 0.96) 54%, rgba(19, 28, 58, 0.9) 100%),
    radial-gradient(circle at 78% 26%, rgba(211, 177, 93, 0.2) 0 8%, transparent 9% 100%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 38px),
    var(--ink);
}

.hero::after {
  position: absolute;
  top: clamp(34px, 7vw, 90px);
  bottom: clamp(34px, 7vw, 90px);
  left: min(62vw, 900px);
  width: 1px;
  content: "";
  background: linear-gradient(transparent, rgba(211, 177, 93, 0.75), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  max-width: 820px;
  padding: 0;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.05;
}

h1 {
  max-width: 830px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 5.6vw, 5.85rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.3vw, 3.55rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.lead {
  max-width: 610px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.04rem, 1.35vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 690px;
  margin-top: clamp(28px, 5vw, 58px);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-stats div {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.055);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  margin-bottom: 4px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.4vw, 2.25rem);
  line-height: 1;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.8rem;
  font-weight: 700;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--ink);
  background: var(--gold);
}

.button.primary:hover {
  background: #e1c270;
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.button.secondary:hover {
  border-color: var(--gold);
}

.hero-panel {
  position: relative;
  z-index: 1;
  align-self: center;
  display: grid;
  gap: 24px;
  padding: clamp(24px, 3vw, 38px);
  color: var(--white);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel::before {
  position: absolute;
  inset: 12px;
  z-index: -1;
  content: "";
  border: 1px solid rgba(211, 177, 93, 0.34);
  border-radius: 6px;
}

.brief-top {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.brief-top span,
.brief-contact span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.brief-top strong {
  display: block;
  max-width: 280px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.05;
}

.brief-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.brief-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.brief-list span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--gold);
  border: 1px solid rgba(211, 177, 93, 0.45);
  border-radius: 999px;
  font-weight: 900;
}

.brief-list strong {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
}

.brief-contact {
  padding: 18px;
  background: rgba(17, 25, 52, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
}

.brief-contact strong,
.brief-contact a {
  display: block;
}

.brief-contact strong {
  margin-bottom: 6px;
  color: var(--white);
}

.brief-contact a {
  color: rgba(255, 255, 255, 0.86);
}

.section-pad {
  padding: clamp(48px, 6vw, 86px) clamp(20px, 5vw, 72px);
}

.intro,
.pricing,
.contact {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  max-width: 1240px;
  margin-inline: auto;
}

.intro {
  position: relative;
  margin-top: -34px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(17, 25, 52, 0.08);
}

.section-heading h2 {
  max-width: 620px;
}

.section-heading.narrow {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.intro-copy {
  color: var(--ink-2);
  font-size: 1.05rem;
}

.intro-copy p {
  margin-bottom: 20px;
}

.services {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 1240px;
  margin-inline: auto;
  background: var(--line);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(17, 25, 52, 0.07);
}

.service-grid article {
  min-height: 230px;
  padding: clamp(24px, 3vw, 34px);
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-grid article:hover {
  z-index: 1;
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(17, 25, 52, 0.12);
}

.service-grid span {
  display: block;
  margin-bottom: 28px;
  color: var(--gold-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 1;
}

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

.service-detail {
  background: var(--white);
}

.service-detail .section-heading {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 72px);
  max-width: 1240px;
  margin: 0 auto 34px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 1240px;
  margin-inline: auto;
  background: var(--line);
  border: 1px solid var(--line);
}

.detail-grid article {
  min-height: 310px;
  padding: clamp(22px, 2.6vw, 32px);
  background:
    linear-gradient(180deg, rgba(211, 177, 93, 0.06), transparent 120px),
    var(--paper);
}

.detail-grid article.wide {
  grid-column: span 3;
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: start;
}

.detail-grid h3 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.15;
}

.detail-grid p {
  margin-bottom: 12px;
  color: var(--ink-2);
}

.process {
  background: var(--paper-2);
}

.process-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(30px, 5vw, 80px);
  max-width: 1240px;
  margin-inline: auto;
  padding: clamp(28px, 4vw, 52px);
  background:
    radial-gradient(circle at 12% 16%, rgba(211, 177, 93, 0.18), transparent 28%),
    var(--ink);
  border-radius: 8px;
  color: var(--white);
  box-shadow: var(--shadow);
}

.process-card h2 {
  font-size: clamp(2rem, 3.4vw, 3.4rem);
}

.process-card ol {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-card li {
  position: relative;
  padding-left: 64px;
  counter-increment: process;
}

.process-card li::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  content: counter(process);
  color: var(--gold);
  border: 1px solid rgba(211, 177, 93, 0.5);
  border-radius: 999px;
  font-weight: 800;
}

.process-card strong,
.process-card span {
  display: block;
}

.process-card strong {
  margin-bottom: 6px;
  font-size: 1.04rem;
}

.process-card span {
  color: rgba(255, 255, 255, 0.72);
}

.pricing-note {
  align-self: start;
  padding: clamp(24px, 3vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(17, 25, 52, 0.08);
}

.fees {
  padding-top: 0;
  background: var(--paper);
}

.fee-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1240px;
  margin-inline: auto;
}

.fee-grid article {
  padding: clamp(22px, 2.8vw, 32px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(17, 25, 52, 0.07);
}

.fee-grid article.featured {
  grid-column: span 3;
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 18%, rgba(211, 177, 93, 0.2), transparent 30%),
    var(--ink);
  border-color: rgba(211, 177, 93, 0.25);
}

.fee-grid article.featured .eyebrow,
.fee-grid article.featured h3 {
  grid-column: 1;
}

.fee-grid article.featured .eyebrow {
  align-self: end;
  margin-bottom: 10px;
}

.fee-grid article.featured h3 {
  align-self: start;
  margin-bottom: 0;
}

.fee-grid article.featured p:not(.eyebrow) {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: 720px;
  align-self: center;
}

.fee-grid h3 {
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.38rem, 2vw, 1.85rem);
  line-height: 1.15;
}

.fee-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.fee-grid .featured p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.contact {
  max-width: none;
  margin: 0;
  background:
    linear-gradient(120deg, rgba(211, 177, 93, 0.08), transparent 34%),
    var(--ink);
  color: var(--white);
}

.contact-details,
.contact-form {
  max-width: 600px;
}

.contact-details {
  justify-self: end;
}

.contact dl {
  display: grid;
  gap: 18px;
  margin: 32px 0;
}

.contact dl div {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.contact dt {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact dd {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.registration {
  color: rgba(255, 255, 255, 0.68);
}

.contact-form {
  display: grid;
  gap: 18px;
  width: 100%;
  padding: clamp(24px, 3.4vw, 38px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  padding: 14px 15px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  outline: none;
}

.contact-form .button {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.74);
  background: #0b1125;
}

.site-footer p {
  margin: 0;
}

.site-credit {
  margin-top: 0;
  font-size: 0.92rem;
  text-align: right;
}

.site-footer a {
  color: var(--gold);
  font-weight: 800;
}

.floating-top {
  position: fixed;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 9;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--ink);
  background: var(--gold);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(17, 25, 52, 0.22);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.floating-top:hover {
  background: #e1c270;
  transform: translateY(6px);
}

.is-scrolled .floating-top {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .header-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .main-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .intro,
  .pricing,
  .contact,
  .process-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 240px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    align-self: auto;
  }

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

  .service-detail .section-heading,
  .detail-grid,
  .detail-grid article.wide,
  .fee-grid,
  .fee-grid article.featured {
    grid-template-columns: 1fr;
  }

  .detail-grid article.wide,
  .fee-grid article.featured {
    grid-column: span 1;
  }

  .fee-grid article.featured .eyebrow,
  .fee-grid article.featured h3,
  .fee-grid article.featured p:not(.eyebrow) {
    grid-column: 1;
    grid-row: auto;
  }

  .contact-details {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: auto;
    padding: 14px 18px;
  }

  .brand img {
    width: min(220px, 100%);
  }

  .brand {
    width: min(220px, 74vw);
  }

  .main-nav {
    gap: 16px;
    font-size: 0.9rem;
  }

  .language-switch button {
    min-width: 32px;
    height: 28px;
    padding-inline: 8px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(17, 25, 52, 0.97) 0%, rgba(17, 25, 52, 0.82) 100%),
      radial-gradient(circle at 82% 18%, rgba(211, 177, 93, 0.2) 0 14%, transparent 15% 100%),
      linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 34px),
      var(--ink);
  }

  .hero {
    gap: 26px;
    padding: 250px 20px 42px;
  }

  .hero::after {
    display: none;
  }

  h1 {
    font-size: clamp(2.32rem, 10.5vw, 3.35rem);
  }

  .lead {
    margin-bottom: 22px;
    font-size: 1rem;
  }

  h2 {
    font-size: clamp(2.05rem, 10vw, 3rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 24px;
  }

  .hero-stats div {
    padding: 12px 10px;
  }

  .hero-stats strong {
    font-size: 1.35rem;
  }

  .hero-stats span {
    font-size: 0.68rem;
    line-height: 1.25;
  }

  .hero-panel {
    gap: 16px;
    padding: 22px;
  }

  .brief-top {
    padding-bottom: 14px;
  }

  .brief-top strong {
    font-size: 2rem;
  }

  .brief-list {
    gap: 6px;
  }

  .brief-list li {
    grid-template-columns: 34px 1fr;
    gap: 12px;
    padding: 10px 0;
  }

  .brief-list span {
    width: 32px;
    height: 32px;
    font-size: 0.82rem;
  }

  .brief-contact {
    padding: 14px;
  }

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

  .service-grid article {
    min-height: 190px;
  }

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

  .detail-grid article {
    min-height: auto;
  }

  .fee-grid {
    gap: 12px;
  }

  .process-card li {
    padding-left: 0;
    padding-top: 58px;
  }

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

  .site-credit {
    text-align: left;
  }
}
