@font-face {
  font-family: "Asap";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/asap-400.woff2") format("woff2");
}
@font-face {
  font-family: "Asap";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/asap-500.woff2") format("woff2");
}
@font-face {
  font-family: "Asap";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/asap-600.woff2") format("woff2");
}
@font-face {
  font-family: "Asap";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/asap-700.woff2") format("woff2");
}

:root {
  --accent: #bed250;
  --accent-dark: #a9c03e;
  --ink: #1a1a1a;
  --text: #515151;
  --muted: #6f6f6f;
  --line: #e4e4e4;
  --white: #ffffff;

  --wrap: 980px;
  --gap: 38px;
  --radius: 10px;
  --font: "Asap", "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  background: #ececec;                 
}

body {
  margin: 0 auto;
  max-width: 1400px;                   
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: 50px; padding-bottom:0px; }
.section--tight { padding-block: 20px; }

.title {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 20px;
}
h1.title { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 1.9rem); }
h2.title { font-size: clamp(1.3rem, 1rem + 1.2vw, 1.6rem); margin-top: 14px; }

.text {
  margin: 0 0 18px;
  text-align: justify;
  hyphens: auto;
}

.hero { position: relative; overflow: hidden; }

.hero__media img {
  width: 100%;
  height: clamp(220px, 24vw, 360px);
  object-fit: cover;
  object-position: 50% 34%;
  
}

.hero::after {           
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40px;
  background: #d9d9d9;
  
  z-index: -1;
}

.brand { width: 230px; margin: 6px 0 30px; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-top: 34px;
}

.card {
  display: flex;
  flex-direction: column;
}

.card__logo {
  height: 70px;
  display: flex;
  align-items: center;
  margin-bottom: 22px;
  margin-top:25px;
}
.card__logo img { max-height: 60px; width: auto;margin: 0 auto;
 }

.card__title {
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 16px;
}

.card .text { flex: 1; }

.btn {
  display: inline-block;
  align-self: flex-start;
 
  padding: 12px 26px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
  min-width: 250px;
  text-align: center;
  margin: 0 auto;
 
  margin-bottom: 12px;
}

.btn--solid {
  background: var(--accent);
  color: var(--ink);
}
.btn--solid:hover { background: var(--accent-dark); transform: translateY(-1px); }

.btn--ghost {
  background: var(--white);
  color: var(--ink);
}
.btn--ghost:hover { box-shadow: 0 6px 16px rgba(0,0,0,.12); transform: translateY(-1px); }

.cta {
  position: relative;
  background: var(--accent);
  border-radius: 16px;
  padding: 40px 44px;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 24px;
}

.cta__body { flex: 1; max-width: 640px; }

.cta__title {
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 16px;
}

.cta__text {
  color: #2f3416;
  text-align: left;
  margin: 0 0 24px;
}

.cta__img {
  width: 190px;
  align-self: flex-end;
  margin-bottom: -40px;
}

.footer { padding-block: 40px 48px; margin-top: 26px; }

.footer__inner {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.footer__logo { width: 200px; }

.divider {
  width: 1px;
  align-self: stretch;
  min-height: 44px;
  background: var(--line);
}

.footer__brands {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.footer__brands img { height: 34px; width: auto; }

.legal {
  margin-top: 34px;
  border-top: 1px solid var(--line);
  background: #f5f5f4;
  padding-block: 18px;
}

.legal__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.legal__logo { width: 120px; }

.legal__copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: left;
}

.legal__nav {
  margin-left: auto;
  display: flex;
  gap: 26px;
}

.legal__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
.legal__link:hover { color: var(--accent-dark); text-decoration: underline; }

.masthead { position: relative; }
.masthead__logo {
  position: absolute;
  top: 30px;
  left: 44px;
  width: 210px;
  z-index: 3;
  background: #fff;
  padding: 10px;
  border-radius:10px;
}
.masthead--plain {
  min-height: 104px;
  border-bottom: 1px solid var(--line);
}

.doc { padding-block: 40px 24px; }
.doc h2 {
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 36px 0 12px;
}
.doc h3 {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 24px 0 8px;
}
.doc p { margin: 0 0 14px; }
.doc ul { margin: 0 0 16px; padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc a { color: var(--accent-dark); }
.doc address { font-style: normal; margin: 0 0 14px; }
.doc .meta { color: var(--muted); font-size: 0.9rem; margin-top: 6px; }
.doc .note {
  background: #f7f9ec;
  border-left: 3px solid var(--accent);
  padding: 12px 16px;
  border-radius: 4px;
  margin: 0 0 18px;
  font-size: 0.95rem;
}

@media (max-width: 820px) {
  .grid { grid-template-columns: 1fr; gap: 40px; }
  .card { max-width: 480px; }
  .card__logo { height: auto; margin-bottom: 16px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .text { text-align: left; }          

  .cta { flex-direction: column; align-items: flex-start; padding: 30px 26px; }
  .cta__img {
    position: absolute;
    right: 14px;
    bottom: 0;
    width: 120px;
   
    margin-bottom: 0;
  }
  .cta__body { max-width: 100%; }

  .footer__inner { gap: 20px; }
  .divider { display: none; }
  .footer__brands { gap: 22px; }
  .footer__brands img { height: 28px; }

  .legal__inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .legal__nav { margin-left: 0; gap: 22px; }

  .masthead__logo { top: 18px; left: 20px; width: 150px; }
  .masthead--plain { min-height: 80px; }
}

@media (max-width: 380px) {
  .cta__img { display: none; }
}
