:root {
  color-scheme: dark;
  --ink: #08090b;
  --panel: rgba(16, 17, 20, 0.78);
  --panel-strong: rgba(10, 11, 13, 0.94);
  --gold: #d6a640;
  --gold-soft: #ffe199;
  --ivory: #fff8e7;
  --muted: #bfc2c5;
  --line: rgba(255, 225, 153, 0.22);
  --emerald: #2fd096;
  --steel: #8eb4c7;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 84% 8%, rgba(214, 166, 64, 0.18), transparent 26rem),
    radial-gradient(circle at 8% 80%, rgba(47, 208, 150, 0.12), transparent 24rem),
    linear-gradient(140deg, #050608 0%, #101217 52%, #07080a 100%);
  color: var(--ivory);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 80%);
}

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

.site-shell {
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 28px clamp(18px, 4vw, 64px) 64px;
  isolation: isolate;
}

.hero__ambient {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 28%),
    repeating-linear-gradient(60deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 32px);
  opacity: 0.65;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1200px;
  margin: 0 auto;
}

.brand,
.topbar__actions,
.contact-card,
.status-panel,
.service-grid article,
.floating-actions {
  border: 1px solid var(--line);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px 14px 10px 10px;
  border-radius: 8px;
  background: rgba(7, 8, 10, 0.64);
}

.brand__mark,
.mini-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(214, 166, 64, 0.18), rgba(255, 248, 231, 0.05));
}

svg {
  display: block;
}

.brand svg,
.mini-mark svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--gold-soft);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.brand strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1;
  letter-spacing: 0;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.76rem;
  white-space: nowrap;
}

.topbar__actions {
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(7, 8, 10, 0.58);
}

.icon-link,
.floating-actions a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: var(--ivory);
  background: rgba(255, 255, 255, 0.07);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.icon-link:hover,
.floating-actions a:hover {
  transform: translateY(-2px);
  background: var(--gold);
  color: #111;
}

.icon-link--whatsapp {
  color: var(--emerald);
}

.hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.74fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  width: min(1200px, 100%);
  min-height: calc(100vh - 120px);
  margin: 0 auto;
  padding-top: 40px;
}

.hero__copy {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow span {
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

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

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3.6rem, 10vw, 7.4rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero__lead {
  max-width: 660px;
  margin-bottom: 28px;
  color: #d9dcdd;
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.8;
}

.status-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(520px, 100%);
  margin-bottom: 28px;
  padding: 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
}

.status-panel strong {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-soft);
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.status-panel span {
  color: var(--muted);
  line-height: 1.5;
}

.pulse {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(47, 208, 150, 0.7);
  animation: pulse 1.7s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 18px rgba(47, 208, 150, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(47, 208, 150, 0);
  }
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button--primary {
  color: #111;
  background: linear-gradient(135deg, #ffe7a9, #c89222);
}

.button--ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
}

.contact-card {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 4vw, 34px);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(13, 14, 17, 0.98), rgba(22, 24, 30, 0.82)),
    url("assets/finz-business-card.jpeg") center / cover;
  background-blend-mode: multiply;
  box-shadow: var(--shadow);
}

.contact-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 8, 10, 0.94), rgba(7, 8, 10, 0.72)),
    rgba(7, 8, 10, 0.5);
}

.contact-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 7px;
  content: "";
  background: linear-gradient(90deg, #fce7a6, #c89125, #fff1bd);
}

.contact-card__shine {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 10%, rgba(255, 255, 255, 0.11), transparent 42%);
  transform: translateX(-70%);
  animation: shine 5.5s ease-in-out infinite;
}

@keyframes shine {
  45%,
  100% {
    transform: translateX(90%);
  }
}

.contact-card__header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  color: var(--gold-soft);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mini-mark {
  width: 42px;
  height: 42px;
}

.mini-mark svg {
  width: 29px;
  height: 29px;
}

.contact-card h2 {
  position: relative;
  z-index: 2;
  margin-bottom: 4px;
  color: var(--gold-soft);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.contact-card p {
  position: relative;
  z-index: 2;
  margin-bottom: 28px;
  color: var(--ivory);
  font-weight: 600;
}

.contact-list {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
}

.contact-list a {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 38px;
  color: #eef0ef;
  line-height: 1.45;
  transition: color 180ms ease, transform 180ms ease;
}

.contact-list a:hover {
  color: var(--gold-soft);
  transform: translateX(3px);
}

.contact-list i,
.button i,
.icon-link i,
.floating-actions i,
.service-grid i {
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
}

.contact-list i {
  color: var(--gold-soft);
}

.services {
  width: min(1200px, calc(100% - 36px));
  margin: -34px auto 0;
  padding: 0 0 64px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px;
}

.section-heading p {
  margin-bottom: 6px;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.65rem, 4vw, 3.2rem);
  line-height: 1.1;
  text-wrap: balance;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.service-grid article {
  min-height: 132px;
  padding: 22px;
  border-radius: 8px;
  background: rgba(12, 13, 16, 0.72);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 225, 153, 0.5);
  background: rgba(24, 26, 31, 0.86);
}

.service-grid i {
  margin-bottom: 18px;
  color: var(--steel);
}

.service-grid h3 {
  margin-bottom: 0;
  color: #f7f2e7;
  font-size: 1.02rem;
  line-height: 1.45;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  display: grid;
  gap: 8px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(7, 8, 10, 0.72);
  box-shadow: var(--shadow);
}

.floating-actions a:first-child {
  color: var(--emerald);
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .hero__content {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .contact-card {
    max-width: 620px;
  }

  .services {
    margin-top: 0;
  }

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

@media (max-width: 620px) {
  body {
    padding-bottom: 78px;
  }

  .hero {
    padding: 16px 14px 48px;
  }

  .brand {
    flex: 1 1 auto;
  }

  .brand small {
    white-space: normal;
  }

  .topbar__actions {
    display: none;
  }

  h1 {
    font-size: clamp(2.85rem, 13.4vw, 3.45rem);
    line-height: 0.96;
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__buttons,
  .button {
    width: 100%;
  }

  .status-panel {
    align-items: flex-start;
  }

  .section-heading {
    display: block;
  }

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

  .floating-actions {
    right: 8px;
    top: 50%;
    bottom: auto;
    grid-template-columns: 1fr;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%);
  }

  body.has-scrolled .floating-actions {
    opacity: 1;
    pointer-events: auto;
  }

  .floating-actions a {
    width: 42px;
    height: 42px;
  }

  .contact-card {
    padding-right: 22px;
    background-position: center;
  }

  .contact-list a {
    font-size: 0.96rem;
  }
}
