:root {
  --hfin-ink: #12332f;
  --hfin-ink-deep: #0b2320;
  --hfin-brass: #b0873f;
  --hfin-brass-soft: #d9bf8c;
  --hfin-sage: #7d9a8c;
  --hfin-cream: #f6f2ea;
  --hfin-paper: #fbf9f5;
  --hfin-text: #1e2422;
  --hfin-muted: #5c6763;
  --hfin-line: rgba(18, 51, 47, 0.12);
  --hfin-white: #ffffff;
  --hfin-radius: 8px;
  --hfin-shadow: 0 10px 30px rgba(11, 35, 32, 0.08);
  --hfin-shadow-strong: 0 18px 44px rgba(11, 35, 32, 0.14);
  --hfin-font-head: "DM Serif Display", Georgia, "Times New Roman", serif;
  --hfin-font-body: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --hfin-max: 1200px;
  --hfin-header-h: 84px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--hfin-font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--hfin-text);
  background: var(--hfin-paper);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--hfin-font-head);
  font-weight: 400;
  line-height: 1.2;
  color: var(--hfin-ink);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  color: var(--hfin-muted);
}

.hfin-container {
  width: 100%;
  max-width: var(--hfin-max);
  margin: 0 auto;
  padding: 0 24px;
}

.hfin-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hfin-brass);
  margin-bottom: 18px;
}

.hfin-eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--hfin-brass);
}

.hfin-block {
  padding: 110px 0;
  position: relative;
}

.hfin-block-cream {
  background: var(--hfin-cream);
}

.hfin-block-ink {
  background: var(--hfin-ink);
  color: var(--hfin-cream);
}

.hfin-block-ink h2,
.hfin-block-ink h3 {
  color: var(--hfin-cream);
}

.hfin-block-ink p {
  color: rgba(246, 242, 234, 0.72);
}

.hfin-heading {
  max-width: 640px;
  margin-bottom: 56px;
}

.hfin-heading p {
  margin-top: 18px;
  font-size: 1.08rem;
}

.hfin-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--hfin-radius);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

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

.hfin-btn-brass {
  background: var(--hfin-brass);
  color: var(--hfin-white);
}

.hfin-btn-brass:hover {
  background: #9a7533;
}

.hfin-btn-ink {
  background: var(--hfin-ink);
  color: var(--hfin-cream);
}

.hfin-btn-ink:hover {
  background: var(--hfin-ink-deep);
}

.hfin-btn-line {
  border-color: rgba(246, 242, 234, 0.5);
  color: var(--hfin-cream);
}

.hfin-btn-line:hover {
  border-color: var(--hfin-brass-soft);
  color: var(--hfin-brass-soft);
}

.hfin-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--hfin-brass);
  transition: gap 0.3s ease;
}

.hfin-link-arrow:hover {
  gap: 14px;
}

.hfin-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--hfin-header-h);
  background: rgba(251, 249, 245, 0.96);
  border-bottom: 1px solid var(--hfin-line);
  backdrop-filter: blur(8px);
  transition: box-shadow 0.3s ease, height 0.3s ease;
}

.hfin-header-scrolled {
  box-shadow: var(--hfin-shadow);
}

.hfin-header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.company-logo {
  width: 180px;
  height: 60px;
  background-image: url('img/company-logo.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.hfin-nav-list {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hfin-nav-item {
  position: relative;
}

.hfin-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--hfin-ink);
  position: relative;
}

.hfin-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--hfin-brass);
  transition: width 0.3s ease;
}

.hfin-nav-link:hover::after,
.hfin-nav-link.hfin-active::after {
  width: 100%;
}

.hfin-nav-link i {
  font-size: 0.7rem;
}

.hfin-dropdown {
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 230px;
  padding: 10px 0;
  background: var(--hfin-white);
  border-radius: var(--hfin-radius);
  box-shadow: var(--hfin-shadow-strong);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.hfin-nav-item:hover .hfin-dropdown,
.hfin-nav-item:focus-within .hfin-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hfin-dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.94rem;
  color: var(--hfin-text);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.hfin-dropdown a:hover {
  background: var(--hfin-cream);
  color: var(--hfin-brass);
}

.hfin-nav-cta {
  padding: 11px 22px;
}

.hfin-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--hfin-line);
  border-radius: var(--hfin-radius);
  background: transparent;
  font-size: 1.1rem;
  color: var(--hfin-ink);
  cursor: pointer;
}

.hfin-page-banner {
  position: relative;
  margin-top: var(--hfin-header-h);
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--hfin-ink-deep);
}

.hfin-page-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.hfin-page-banner-content {
  position: relative;
  z-index: 1;
  padding-top: 120px;
  padding-bottom: 72px;
}

.hfin-page-banner h1 {
  color: var(--hfin-cream);
  max-width: 760px;
}

.hfin-page-banner p {
  margin-top: 18px;
  max-width: 560px;
  color: rgba(246, 242, 234, 0.8);
  font-size: 1.1rem;
}

.hfin-breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
  font-size: 0.88rem;
  color: var(--hfin-brass-soft);
}

.hfin-breadcrumb a:hover {
  color: var(--hfin-cream);
}

.hfin-breadcrumb i {
  font-size: 0.65rem;
  color: rgba(246, 242, 234, 0.5);
}

.hfin-shape {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  border: 1px solid rgba(176, 135, 63, 0.25);
}

.hfin-cta-band {
  background: var(--hfin-ink);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.hfin-cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.hfin-cta-band h2 {
  color: var(--hfin-cream);
  max-width: 620px;
}

.hfin-cta-band p {
  margin-top: 14px;
  color: rgba(246, 242, 234, 0.7);
}

.hfin-footer {
  background: var(--hfin-ink-deep);
  color: rgba(246, 242, 234, 0.7);
  padding: 80px 0 0;
  font-size: 0.95rem;
}

.hfin-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(246, 242, 234, 0.1);
}

.hfin-footer p {
  color: rgba(246, 242, 234, 0.62);
}

.hfin-footer-brand p {
  margin-top: 20px;
  max-width: 360px;
}

.hfin-footer h4 {
  color: var(--hfin-cream);
  font-size: 1.15rem;
  margin-bottom: 22px;
}

.hfin-footer-links li + li {
  margin-top: 12px;
}

.hfin-footer-links a {
  transition: color 0.2s ease;
}

.hfin-footer-links a:hover {
  color: var(--hfin-brass-soft);
}

.hfin-footer-contact li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.hfin-footer-contact li + li {
  margin-top: 16px;
}

.hfin-footer-contact i {
  color: var(--hfin-brass);
  margin-top: 6px;
  width: 16px;
}

.hfin-footer-contact a:hover {
  color: var(--hfin-brass-soft);
}

.hfin-footer-legal {
  padding: 28px 0 36px;
  font-size: 0.82rem;
  line-height: 1.6;
}

.hfin-footer-legal p + p {
  margin-top: 10px;
}

.hfin-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.hfin-cookie {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  max-width: 560px;
  padding: 24px 26px;
  background: var(--hfin-white);
  border-radius: 12px;
  border-top: 3px solid var(--hfin-brass);
  box-shadow: var(--hfin-shadow-strong);
  transform: translateY(calc(100% + 40px));
  transition: transform 0.45s ease;
}

.hfin-cookie.hfin-cookie-show {
  transform: translateY(0);
}

.hfin-cookie h5 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.hfin-cookie h5 i {
  color: var(--hfin-brass);
}

.hfin-cookie p {
  font-size: 0.92rem;
  line-height: 1.6;
}

.hfin-cookie-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.hfin-cookie-actions .hfin-btn {
  padding: 10px 22px;
  font-size: 0.9rem;
}

.hfin-btn-plain {
  background: transparent;
  border-color: var(--hfin-line);
  color: var(--hfin-ink);
}

.hfin-btn-plain:hover {
  border-color: var(--hfin-ink);
}

@media (max-width: 1024px) {
  .hfin-nav-list {
    gap: 28px;
  }

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

  .hfin-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  :root {
    --hfin-header-h: 72px;
  }

  .company-logo {
    width: 150px;
    height: 50px;
  }

  .hfin-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hfin-nav {
    position: fixed;
    top: var(--hfin-header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hfin-paper);
    padding: 24px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }

  .hfin-nav.hfin-nav-open {
    transform: translateX(0);
  }

  .hfin-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .hfin-nav-item {
    border-bottom: 1px solid var(--hfin-line);
  }

  .hfin-nav-link {
    padding: 16px 0;
    font-size: 1.05rem;
  }

  .hfin-nav-link::after {
    display: none;
  }

  .hfin-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    padding: 0 0 12px 16px;
    min-width: 0;
  }

  .hfin-dropdown a {
    padding: 8px 0;
  }

  .hfin-nav-item:last-child {
    border-bottom: 0;
    padding-top: 24px;
  }

  .hfin-nav-cta {
    justify-content: center;
    width: 100%;
  }

  .hfin-block {
    padding: 76px 0;
  }

  .hfin-cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hfin-page-banner {
    min-height: 340px;
  }

  .hfin-page-banner-content {
    padding-bottom: 52px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .hfin-container {
    padding: 0 16px;
  }

  .hfin-footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hfin-cookie {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .hfin-cookie-actions {
    flex-direction: column;
  }

  .hfin-cookie-actions .hfin-btn {
    justify-content: center;
  }
}

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

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