:root {
  --green: #009b4c;
  --deep-green: #003d21;
  --text: #171717;
  --muted: #555;
  --line: #e7e7e7;
  --surface: #f5f5f5;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

body.menu-is-open {
  overflow: hidden;
}

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

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

.hero {
  min-height: 580px;
  padding: 40px 24px 160px;
  position: relative;
  background:
    linear-gradient(rgba(0, 155, 76, 0.9), rgba(0, 155, 76, 0.9)),
    url("assets/hero-background.jpg") center top / cover no-repeat;
}

.nav {
  width: min(710px, calc(100% - 32px));
  height: 70px;
  margin: 0 auto;
  padding: 0 28px;
  border-radius: 999px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.11);
  transition: width 180ms ease, height 180ms ease, border-radius 180ms ease, box-shadow 180ms ease, top 180ms ease;
  z-index: 20;
}

.nav.is-sticky {
  width: 100%;
  height: 70px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  border-radius: 0;
  box-shadow: 0 9px 22px rgba(0, 0, 0, 0.16);
}

.brand-mark {
  width: 46px;
  height: 56px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 12px;
}

.nav-links a.is-active {
  color: var(--green);
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #050505;
  font-size: 16px;
  font-weight: 700;
}

.nav-social button {
  display: none;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
}

.nav-social button span,
.nav-social button::before,
.nav-social button::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: #171717;
}

.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  background: rgba(0, 0, 0, 0.28);
}

.menu-panel.is-open {
  display: block;
}

.menu-panel-inner {
  width: min(760px, 100%);
  min-height: 100vh;
  padding: 44px 54px;
  background: #fff;
  box-shadow: 12px 0 30px rgba(0, 0, 0, 0.16);
}

.menu-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.menu-header img {
  width: 178px;
}

.menu-close {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  position: relative;
  background: transparent;
  cursor: pointer;
}

.menu-close::before,
.menu-close::after {
  content: "";
  width: 21px;
  height: 2px;
  position: absolute;
  top: 15px;
  left: 5px;
  border-radius: 999px;
  background: #171717;
}

.menu-close::before {
  transform: rotate(45deg);
}

.menu-close::after {
  transform: rotate(-45deg);
}

.menu-links {
  margin-top: 104px;
  display: grid;
  gap: 42px;
  font-size: 28px;
  line-height: 1.1;
}

.menu-links a.is-active {
  color: var(--green);
}

.menu-social {
  margin-top: 112px;
  display: flex;
  gap: 58px;
  font-size: 24px;
  font-weight: 700;
}

.hero-content {
  width: min(720px, 100%);
  margin: 145px auto 0;
  text-align: center;
  color: #fff;
}

.hero-logo {
  width: min(520px, 82vw);
  margin: 0 auto 16px;
}

.hero-content p {
  margin: 0 0 38px;
  font-size: 24px;
  font-weight: 400;
}

.button,
.submit-button {
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #1f1f1f;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 198px;
  min-height: 42px;
  padding: 0 24px;
}

.section {
  padding: 96px 24px;
}

.story-card {
  width: min(1000px, calc(100% - 48px));
  margin: -68px auto 0;
  padding: 78px 82px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 64px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

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

h1,
h2 {
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 48px;
  line-height: 1.05;
}

h2 {
  margin-bottom: 58px;
  text-align: center;
  font-size: 46px;
  line-height: 1.12;
}

.story-card p {
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.45;
}

.partners {
  padding-top: 100px;
  padding-bottom: 125px;
}

.logo-grid {
  width: min(1000px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  border-top: 1px solid var(--line);
}

.partner-logo {
  width: 210px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.partner-logo-glory {
  width: 132px;
  height: 132px;
}

.partner-logo-gd {
  width: 250px;
}

.partner-logo-bpi {
  width: 122px;
}

.partner-logo-pbcom {
  width: 150px;
}

.partner-logo-security-bank {
  width: 210px;
}

.partner-logo-robinsons {
  width: 118px;
}

.partner-logo-marketplace {
  width: 230px;
}

.partner-logo-ever {
  width: 168px;
}

.partner-logo-brinks {
  width: 245px;
}

.logo-grid img:nth-child(-n + 6) {
  padding: 45px 0;
  border-bottom: 1px solid var(--line);
}

.logo-grid img:nth-child(n + 7) {
  padding: 58px 0 0;
}

.products {
  background: var(--surface);
}

.section-inner {
  width: min(1000px, 100%);
  margin: 0 auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.product-card {
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 7px 16px rgba(0, 0, 0, 0.16);
}

.product-card-wide {
  grid-column: 1 / -1;
}

.product-image {
  width: 100%;
  height: 318px;
  object-fit: cover;
}

.product-image-cash {
  height: 316px;
  object-position: center center;
}

.product-image-digital {
  object-position: center center;
}

.product-image-management {
  object-position: 52% 38%;
}

.product-card div {
  min-height: 224px;
  padding: 62px 34px 34px;
}

.product-card h3 {
  margin-bottom: 14px;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.14;
}

.product-card p {
  margin-bottom: 0;
  font-size: 12px;
}

.contact {
  padding-top: 105px;
  padding-bottom: 100px;
}

.contact-inner {
  width: min(640px, 100%);
  margin: 0 auto;
  text-align: center;
}

.contact h2 {
  margin-bottom: 24px;
}

.contact p {
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.6;
}

.contact a {
  color: #39a9e6;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  color: #333;
  font-size: 12px;
}

label b {
  color: #e13939;
}

input,
textarea {
  width: 100%;
  border: 1px solid #bfbfbf;
  border-radius: 5px;
  padding: 0 16px;
  color: #222;
  font: inherit;
  font-size: 12px;
}

input {
  height: 39px;
}

textarea {
  min-height: 120px;
  padding-top: 14px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #b5b5b5;
}

.submit-button {
  justify-self: center;
  min-width: 102px;
  height: 41px;
  margin-top: 4px;
  background: var(--green);
  color: #fff;
}

footer {
  min-height: 430px;
  padding: 145px 24px 70px;
  position: relative;
  overflow: hidden;
  background: var(--deep-green);
  color: #fff;
  text-align: center;
}

.footer-mark {
  width: 720px;
  height: 990px;
  position: absolute;
  left: -78px;
  bottom: -690px;
  background: url("assets/Dinero-D-only.svg") center / contain no-repeat;
  opacity: 0.16;
  filter: brightness(0) saturate(100%) invert(25%) sepia(41%) saturate(1042%) hue-rotate(105deg) brightness(83%) contrast(96%);
  pointer-events: none;
}

footer p,
.footer-social {
  position: relative;
  z-index: 1;
}

footer p {
  margin-bottom: 48px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

footer a {
  color: #55aee7;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-weight: 700;
}

.legal-header {
  padding: 40px 24px 72px;
  background:
    linear-gradient(rgba(0, 155, 76, 0.92), rgba(0, 155, 76, 0.92)),
    url("assets/hero-background.jpg") center top / cover no-repeat;
}

.legal-nav {
  margin-bottom: 86px;
}

.legal-title {
  width: min(1000px, 100%);
  margin: 0 auto;
  color: #fff;
  text-align: center;
}

.legal-title h1 {
  margin-bottom: 14px;
  font-size: 52px;
}

.legal-title p {
  margin-bottom: 0;
  font-size: 14px;
}

.legal-main {
  padding: 72px 24px 96px;
  background: #fff;
}

.legal-content {
  width: min(920px, 100%);
  margin: 0 auto;
}

.legal-content section + section {
  margin-top: 42px;
}

.legal-content h2 {
  margin-bottom: 14px;
  text-align: left;
  font-size: 26px;
  line-height: 1.2;
}

.legal-content p {
  margin-bottom: 14px;
  color: #333;
  font-size: 15px;
  line-height: 1.7;
}

.legal-content a {
  color: #1688c7;
}

@media (max-width: 900px) {
  .hero {
    min-height: 520px;
    padding-top: 24px;
    padding-bottom: 135px;
  }

  .nav {
    width: min(720px, calc(100% - 32px));
    height: 62px;
    padding: 0 22px;
  }

  .nav.is-sticky {
    width: 100%;
    height: 62px;
  }

  .nav-links {
    display: none;
  }

  .nav-social button {
    display: block;
  }

  .hero-content {
    margin-top: 126px;
  }

  .hero-content p {
    font-size: 18px;
  }

  .story-card {
    width: 100%;
    margin-top: -82px;
    padding: 56px 86px 76px;
    grid-template-columns: 1fr;
    gap: 28px;
    border-radius: 26px;
    text-align: center;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 42px;
  }

  .story-card p {
    text-align: left;
  }

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

  .logo-grid img {
    width: 240px;
    padding: 48px 0;
    border-bottom: 1px solid var(--line);
  }

  .logo-grid img:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .product-image {
    height: 415px;
  }

  .product-image-cash,
  .product-image-management {
    height: 415px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 14px;
  }

  .hero {
    min-height: 408px;
    padding: 16px 12px 96px;
  }

  .nav {
    width: 100%;
    height: 50px;
    padding: 0 16px;
  }

  .nav.is-sticky {
    height: 50px;
  }

  .brand-mark {
    width: 34px;
    height: 42px;
  }

  .nav-social {
    gap: 18px;
    font-size: 13px;
  }

  .menu-panel-inner {
    width: 100%;
    padding: 36px 48px;
  }

  .menu-header img {
    width: 142px;
  }

  .menu-links {
    margin-top: 98px;
    gap: 36px;
    font-size: 21px;
  }

  .menu-social {
    margin-top: 82px;
    gap: 46px;
    font-size: 20px;
  }

  .hero-content {
    margin-top: 96px;
  }

  .hero-logo {
    width: 264px;
    margin-bottom: 10px;
  }

  .hero-content p {
    width: 260px;
    margin: 0 auto 22px;
    font-size: 15px;
    line-height: 1.25;
  }

  .button {
    min-width: 150px;
    min-height: 34px;
    font-size: 10px;
  }

  .story-card {
    padding: 40px 34px 48px;
    border-radius: 18px;
  }

  h1,
  h2 {
    font-size: 34px;
  }

  .story-card p {
    font-size: 11px;
  }

  .section {
    padding: 72px 16px;
  }

  .partners {
    padding-top: 62px;
    padding-bottom: 70px;
  }

  h2 {
    margin-bottom: 40px;
  }

  .logo-grid {
    display: flex;
    flex-direction: column;
    gap: 36px;
    border-top: 0;
  }

  .partner-logo,
  .logo-grid img:nth-child(-n + 6),
  .logo-grid img:nth-child(n + 7) {
    width: 180px;
    height: auto;
    max-height: 84px;
    padding: 0;
    border-bottom: 0;
  }

  .logo-grid img:first-child {
    width: 126px;
    max-height: 126px;
  }

  .products {
    padding-top: 72px;
    padding-bottom: 78px;
  }

  .product-grid {
    gap: 30px;
  }

  .product-card {
    border-radius: 8px;
  }

  .product-image {
    height: 240px;
  }

  .product-image-cash,
  .product-image-management {
    height: 240px;
  }

  .product-card div {
    min-height: 142px;
    padding: 24px 20px 22px;
  }

  .product-card h3 {
    margin-bottom: 10px;
    font-size: 24px;
  }

  .product-card p {
    font-size: 10px;
  }

  .contact {
    padding-top: 68px;
    padding-bottom: 58px;
  }

  .contact-inner {
    max-width: 292px;
  }

  .contact h2 {
    max-width: 270px;
    margin: 0 auto 24px;
  }

  .contact p,
  label,
  input,
  textarea,
  footer p {
    font-size: 10px;
  }

  .contact p {
    font-size: 13px;
  }

  input {
    height: 30px;
    border-radius: 4px;
    padding: 0 12px;
  }

  textarea {
    min-height: 90px;
    padding: 10px 12px;
  }

  .submit-button {
    min-width: 84px;
    height: 34px;
    font-size: 10px;
  }

  footer {
    min-height: 288px;
    padding-top: 86px;
  }

  .legal-header {
    padding: 18px 12px 56px;
  }

  .legal-nav {
    margin-bottom: 56px;
  }

  .legal-title h1 {
    font-size: 34px;
  }

  .legal-main {
    padding: 52px 20px 68px;
  }

  .legal-content h2 {
    font-size: 22px;
  }

  .legal-content p {
    font-size: 13px;
  }

  footer p {
    width: 190px;
    margin: 0 auto 34px;
  }

  .footer-mark {
    width: 460px;
    height: 632px;
    left: -104px;
    bottom: -436px;
  }
}
