:root {
  --ink: #061a3a;
  --text: #14233a;
  --muted: #526174;
  --blue: #0969e8;
  --blue-dark: #0757bf;
  --line: #d6e0eb;
  --panel: #ffffff;
  --green: #05a55b;
  --green-soft: #e3faec;
  --graphite: #093023;
  --shadow: 0 18px 46px rgba(20, 35, 58, 0.12);
  font-family: Inter, Manrope, Arial, sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: #fff;
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--blue-dark);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.container {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 128px;
  align-items: center;
  min-height: 72px;
  padding: 0 max(28px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(20, 35, 58, 0.1);
  background: #fff;
  backdrop-filter: blur(14px);
}

.brand,
.brand img {
  display: block;
}

.brand img {
  width: 150px;
  height: auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 42px;
}

.nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.header-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
}

.header-button,
.button.primary {
  background: linear-gradient(180deg, #0b76ff, #075ed8);
  color: #fff;
  box-shadow: 0 12px 20px rgba(9, 105, 232, 0.2);
}

.header-button:hover,
.button.primary:hover {
  color: #fff;
}

.button.secondary {
  border-color: var(--blue);
  background: rgba(255, 255, 255, 0.88);
  color: var(--blue);
}

.button.link-button {
  border-color: rgba(5, 165, 91, 0.22);
  background: #fff;
  color: var(--green);
}

.menu-button {
  display: none;
  width: 38px;
  height: 38px;
  padding: 9px;
}

.menu-button span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  border-radius: 10px;
  background: var(--ink);
}

.hero {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.68) 43%, rgba(255, 255, 255, 0.08) 76%),
    url("/assets/hmara-hero-bg.png") center / cover no-repeat;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 42px;
  align-items: end;
  min-height: 416px;
  padding: 70px 0 56px;
}

.eyebrow,
.section-label {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 650px;
}

.hero-copy h1 {
  max-width: 720px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 58px;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 540px;
  margin-bottom: 28px;
  color: #314158;
  font-size: 19px;
}

.hero-actions,
.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-status {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(5, 165, 91, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.hero-status img {
  width: 84px;
  height: 84px;
  border-radius: 8px;
}

.hero-status span {
  display: block;
  margin-bottom: 4px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.hero-status strong {
  display: block;
  margin-bottom: 4px;
  color: var(--graphite);
  font-size: 22px;
  line-height: 1;
}

.hero-status p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 54px 0;
}

.project-section {
  background: linear-gradient(180deg, #fff, #f7fbff);
}

.project-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  gap: 34px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(5, 165, 91, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(227, 250, 236, 0.94), rgba(255, 255, 255, 0.88)),
    #fff;
  box-shadow: 0 18px 42px rgba(9, 48, 35, 0.08);
}

.project-copy h2,
.payment-copy h2,
.contact-panel h2,
.info-card h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: 0;
}

.project-copy p:not(.section-label),
.payment-copy p {
  color: var(--muted);
  font-size: 16px;
}

.project-visual {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 8px;
  background: radial-gradient(circle at 68% 36%, rgba(115, 235, 166, 0.42), transparent 34%), #093023;
}

.project-avatar {
  position: absolute;
  z-index: 2;
  left: 24px;
  top: 24px;
  width: 112px;
  height: 112px;
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(5, 165, 91, 0.28);
}

.project-hero-image {
  position: absolute;
  right: -72px;
  bottom: -30px;
  width: min(700px, 118%);
  max-width: none;
}

.info-section {
  background: #fff;
}

.info-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 22px;
}

.info-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(20, 35, 58, 0.05);
}

.legal-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.legal-card dl div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 14px;
}

.legal-card dt {
  color: #23344a;
  font-size: 13px;
  font-weight: 800;
}

.legal-card dd {
  min-width: 0;
  margin: 0;
  color: #26364d;
  font-size: 13px;
}

.fact-list {
  display: grid;
  gap: 14px;
}

.fact-list p {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.fact-list p:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.fact-list strong {
  color: var(--ink);
  font-size: 14px;
}

.fact-list span {
  color: var(--muted);
  font-size: 14px;
}

.payment-section {
  background: linear-gradient(180deg, #f7fbff, #fff);
}

.payment-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 42px;
  align-items: center;
}

.payment-copy p {
  max-width: 690px;
  margin-bottom: 12px;
}

.payment-logos {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 22px;
  border: 1px solid rgba(20, 35, 58, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(20, 35, 58, 0.06);
}

.payment-logos span {
  color: var(--muted);
  font-size: 12px;
}

.payment-logos img {
  display: block;
  width: 100%;
  max-width: 380px;
  height: auto;
}

.contact-section {
  padding-top: 20px;
  padding-bottom: 62px;
  background: #fff;
}

.contact-panel {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 38px;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.contact-list a {
  display: grid;
  gap: 8px;
  min-height: 104px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 10px 28px rgba(20, 35, 58, 0.05);
}

.contact-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.contact-list strong {
  overflow-wrap: anywhere;
  color: var(--blue);
  font-size: 14px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fbfdff;
}

.footer-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 86px;
  padding: 24px 0;
}

.footer-layout span {
  color: #667386;
  font-size: 13px;
}

.footer-layout nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

.footer-layout a {
  color: var(--ink);
  font-size: 13px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr 40px;
    min-height: 64px;
    padding: 0 20px;
  }

  .nav,
  .header-button {
    display: none;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .hero-layout,
  .project-panel,
  .info-grid,
  .payment-panel,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    gap: 24px;
    min-height: 0;
    padding: 52px 0 34px;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-status {
    max-width: 420px;
  }

  .project-panel {
    padding: 24px;
  }

  .project-visual {
    min-height: 230px;
  }

  .payment-panel {
    gap: 24px;
  }

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

@media (max-width: 640px) {
  .container {
    width: calc(100% - 32px);
  }

  .brand img {
    width: 132px;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(235, 248, 255, 0.72) 100%),
      url("/assets/hmara-hero-bg.png") 58% center / cover no-repeat;
  }

  .hero-layout {
    padding: 42px 0 30px;
  }

  .hero-copy h1 {
    font-size: 34px;
    line-height: 1.05;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 16px;
  }

  .hero-actions,
  .project-links {
    display: grid;
    gap: 10px;
  }

  .button {
    width: 100%;
  }

  .hero-status {
    grid-template-columns: 64px minmax(0, 1fr);
    padding: 14px;
  }

  .hero-status img {
    width: 64px;
    height: 64px;
  }

  .hero-status strong {
    font-size: 19px;
  }

  .section {
    padding: 38px 0;
  }

  .project-panel,
  .info-card,
  .payment-logos {
    padding: 18px;
  }

  .project-copy h2,
  .payment-copy h2,
  .contact-panel h2,
  .info-card h2 {
    font-size: 25px;
  }

  .project-visual {
    min-height: 190px;
  }

  .project-avatar {
    left: 16px;
    top: 16px;
    width: 76px;
    height: 76px;
  }

  .project-hero-image {
    right: -118px;
    width: 145%;
  }

  .legal-card dl div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .payment-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-list {
    grid-template-columns: 1fr;
  }

  .contact-list a {
    min-height: 86px;
  }

  .footer-layout {
    align-items: flex-start;
  }

  .footer-layout nav {
    gap: 14px 22px;
  }
}
