:root {
  --line: #d6d6d6;
  --colour-2: #ffffff;
  --buttons: #1f3d2b;
  --main-background: #fcfcfc;
  --text-body: #4e6e3a;
  --text-sub-2: #d4a857;
  --text-2: #6d6c6c;
  --text-sub: #2b2b2b;
  --text-headings: #2a2521;
  --background: #8faf9a;
  --sub-background: rgba(143, 175, 154, 0.18);
  --footer-bg: #101828;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--main-background);
  color: var(--text-headings);
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

.page-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.page-scale {
  width: 1920px;
  margin: 0;
  transform-origin: top left;
  will-change: transform;
}

.page {
  width: 1920px;
  background: var(--main-background);
}

.header {
  height: 96px;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
  position: relative;
}

/* Wordmark: footer uses <img>; header uses mask + var(--buttons) for exact brand color */
.flean-logo-img {
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  object-position: left center;
}

.flean-logo-img--on-dark {
  filter: none;
}

/* Header only — white SVG as luminance mask, fill = --buttons */
.site-header-logo {
  display: block;
  flex-shrink: 0;
  background-color: var(--buttons);
  -webkit-mask-image: url("../assets/images/flean-logo.svg");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: left center;
  -webkit-mask-size: contain;
  mask-image: url("../assets/images/flean-logo.svg");
  mask-repeat: no-repeat;
  mask-position: left center;
  mask-size: contain;
}

.header-logo {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 151px;
  height: 34px;
}

.header-logo-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: left center;
}

.footer-logo-link {
  position: absolute;
  left: 0;
  top: 1px;
  display: block;
  width: 120px;
  height: 26px;
}

.footer-logo-link .flean-logo-img {
  width: 100%;
  height: 100%;
}

.header-nav {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 36px;
}

.header-nav a {
  position: static;
  line-height: 1.2;
  font-family: "Inter", sans-serif;
  font-size: 20px;
  color: #828282;
  text-decoration: none;
  white-space: nowrap;
}

.header-nav a.active {
  color: var(--buttons);
  font-weight: 600;
}

.hero {
  height: 1059px;
  position: relative;
  background: linear-gradient(151deg, rgba(143, 175, 154, 0.05) 0%, #fcfcfc 38%, #fcfcfc 58%, rgba(143, 175, 154, 0.05) 100%);
  overflow: hidden;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 65px;
  border: 0.858px solid rgba(143, 175, 154, 0.3);
  border-radius: 100px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  background: white;
  padding: 0 24px;
  font-family: "DM Sans", sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--buttons);
}

.hero-left {
  position: absolute;
  left: 99px;
  top: 72px;
  width: 664px;
}

.hero-title {
  margin: 54px 0 0;
  font-family: "Figtree", sans-serif;
  font-size: 60px;
  line-height: 53px;
  color: var(--buttons);
}

.hero-title em,
.adv-title em {
  color: var(--text-sub-2);
  font-style: italic;
  font-weight: 300;
}

.hero-subline {
  margin: 22px 0 0;
  font-family: "Figtree", sans-serif;
  font-size: 60px;
  line-height: 53px;
  color: var(--text-body);
}

.hero-body {
  margin: 64px 0 0;
  font-family: "Manrope", sans-serif;
  font-size: 24px;
  line-height: 38px;
  color: var(--buttons);
  text-align: justify;
}

.cta-btn {
  margin-top: 120px;
  width: 463px;
  height: 89px;
  background: var(--buttons);
  border-radius: 18px;
  color: #fcfcfc;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font: 500 32px/28px "DM Sans", sans-serif;
}

.hero-image {
  position: absolute;
  top: 200px;
  left: 821px;
  width: 1116px;
  height: 697px;
  object-fit: cover;
}

.float-card {
  position: absolute;
  height: 100px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1), 0 8px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  padding: 10px 12px;
  gap: 16px;
}

.float-card .icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 999px;
  display: grid;
  place-items: center;
}

.float-card .kicker {
  font: 400 20px/20px "DM Sans", sans-serif;
  color: #6a7282;
}

.float-card .text {
  margin-top: 8px;
  font: 600 24px/24px "DM Sans", sans-serif;
  color: #101828;
  white-space: nowrap;
}

.cards-3 {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(3, 505px);
  gap: 56px;
}

.adv-title {
  font-family: "Figtree", sans-serif;
  font-size: 50px;
  line-height: 45px;
  color: var(--buttons);
  text-align: center;
}

.feature-card {
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.download {
  height: 633px;
  background: linear-gradient(162deg, #1f3d2b 0%, #0b321a 100%);
}

.footer {
  height: 369px;
  background: var(--footer-bg);
  color: var(--line);
}

.about-hero-desktop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 72px;
  padding: 64px 98px 92px;
  min-height: 700px;
  background: linear-gradient(118deg, rgba(143, 175, 154, 0.05) 0%, #fcfcfc 38%, #fcfcfc 59%, rgba(143, 175, 154, 0.05) 100%);
}

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

.about-pill {
  display: inline-grid;
  place-items: center;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: rgba(143, 175, 154, 0.18);
  box-shadow: 0 0 4px #1f3d2b;
  color: #4e6e3a;
  font: 600 24px/20px "DM Sans", sans-serif;
}

.about-hero-title {
  margin: 30px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: "Figtree", sans-serif;
  font-size: 60px;
  line-height: 66px;
  letter-spacing: -1.2px;
  color: #1f3d2b;
}

.about-hero-title em {
  color: #d4a857;
  font-style: italic;
  font-weight: 500;
}

.about-hero-title-sub {
  color: #4e6e3a;
  font-style: italic;
}

.about-hero-body {
  margin: 24px 0 0;
  width: 610px;
  color: #1f3d2b;
  font: 500 22px/34px "Manrope", sans-serif;
}

.about-hero-image-wrap {
  width: 760px;
  height: 470px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
}

.about-hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-drives-desktop {
  padding: 80px 98px 64px;
}

.about-kicker {
  margin: 0;
  text-align: center;
  color: #4e6e3a;
  font: 600 28px/1.2 "Figtree", sans-serif;
}

.about-drives-desktop h2 {
  margin: 16px 0 0;
  text-align: center;
  color: #1f3d2b;
  font: 500 50px/56px "Figtree", sans-serif;
}

.about-lead {
  margin: 18px auto 0;
  width: 620px;
  text-align: center;
  color: #6d6c6c;
  font: 500 22px/32px "Manrope", sans-serif;
}

.about-drive-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.about-drive-card {
  min-height: 388px;
  border-radius: 24px;
  padding: 26px;
}

.about-drive-card h3 {
  margin: 18px 0 0;
  font: 600 34px/1.15 "Figtree", sans-serif;
}

.about-drive-card p {
  margin: 14px 0 0;
  font: 500 20px/31px "Manrope", sans-serif;
  max-width: 32ch;
}

.about-drive-card--mission {
  min-height: 412px;
}

.about-drive-card--vision {
  min-height: 388px;
}

.about-drive-card--values {
  min-height: 388px;
}

.about-drive-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-size: 32px;
}

.about-drive-card--mission {
  background: #8faf9a;
  border: 1px solid #1f3d2b;
  color: #1f3d2b;
}

.about-drive-card--mission .about-drive-icon {
  border: 1px solid #1f3d2b;
  background: linear-gradient(180deg, rgba(143, 175, 154, 0.25) 0%, rgba(26, 66, 40, 0.25) 100%);
}

.about-drive-card--vision {
  background: #e0d5c0;
  border: 1px solid #2a2521;
  color: #2a2521;
}

.about-drive-card--vision .about-drive-icon {
  border: 1px solid #2a2521;
  background: linear-gradient(180deg, rgba(212, 168, 87, 0.25) 0%, rgba(87, 57, 1, 0.25) 100%);
}

.about-drive-card--values {
  background: #1f3d2b;
  border: 1px solid #d6d6d6;
  color: #ffffff;
}

.about-drive-card--values p {
  color: #8faf9a;
}

.about-drive-card--values .about-drive-icon {
  border: 1px solid #ffffff;
  background: rgba(151, 152, 153, 0.3);
}

.about-drive-mobile {
  min-height: 212px;
}

.about-drive-mobile p {
  max-width: 300px;
}

.about-drive-mobile--mission {
  min-height: 236px;
}

.about-features-desktop {
  padding: 28px 98px 88px;
}

.about-badge {
  margin: 0 auto;
  width: fit-content;
  min-height: 42px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(143, 175, 154, 0.18);
  box-shadow: 0 0 4px #1f3d2b;
  color: #4e6e3a;
  text-align: center;
  font: 500 24px/1 "DM Sans", sans-serif;
}

.about-features-desktop h2 {
  margin: 28px auto 0;
  width: 700px;
  text-align: center;
  color: #1f3d2b;
  font: 500 50px/56px "Figtree", sans-serif;
}

.about-features-desktop > p {
  margin: 18px auto 0;
  width: 720px;
  text-align: center;
  color: #6d6c6c;
  font: 500 22px/32px "Manrope", sans-serif;
}

.about-feature-grid {
  margin: 48px auto 0;
  width: 1360px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.about-feature-card {
  min-height: 236px;
  border: 1px solid #d6d6d6;
  border-radius: 18px;
  padding: 22px;
}

.about-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #fff;
  display: grid;
  place-items: center;
}

.about-feature-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.about-feature-card h3 {
  margin: 14px 0 0;
  font: 600 24px/1.2 "Inter", sans-serif;
}

.about-feature-card p {
  margin: 12px 0 0;
  color: #2b2b2b;
  font: 400 16px/25px "Inter", sans-serif;
}

.about-feature-card--green {
  background: rgba(143, 175, 154, 0.18);
}

.about-feature-card--green h3 {
  color: #4e6e3a;
}

.about-feature-card--gold {
  background: rgba(212, 168, 87, 0.18);
}

.about-feature-card--gold h3 {
  color: #d4a857;
}

.about-feature-card--red {
  background: rgba(229, 121, 100, 0.25);
}

.about-feature-card--red h3 {
  color: #d24c4c;
}

.about-feature-card--plum {
  background: rgba(72, 40, 58, 0.3);
}

.about-feature-card--plum h3 {
  color: #2a2521;
}

.about-team-desktop {
  padding: 18px 98px 90px;
  background: #fcfcfc;
}

.about-badge--team {
  background: rgba(212, 168, 87, 0.3);
  box-shadow: 0 0 4px #b37e1d;
  color: #b37e1d;
}

.about-team-desktop h2 {
  margin: 18px 0 0;
  text-align: center;
  color: #1f3d2b;
  font: 500 50px/56px "Figtree", sans-serif;
}

.about-team-desktop > p {
  margin: 12px auto 0;
  width: 680px;
  text-align: center;
  color: #4a5565;
  font: 400 22px/32px "Manrope", sans-serif;
}

.about-team-grid {
  margin: 42px auto 0;
  width: 1360px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.about-member-card {
  min-height: 234px;
  border: 0.858px solid #d6d6d6;
  border-radius: 18px;
  background: #fff;
  padding: 18px 20px 20px;
  text-align: center;
}

.about-member-emoji {
  width: 52px;
  height: 52px;
  margin: 0 auto;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 30px;
  background: rgba(212, 168, 87, 0.3);
}

.about-member-card h3 {
  margin: 12px 0 0;
  color: #1f3d2b;
  font: 500 24px/28px "Figtree", sans-serif;
}

.about-member-card h4 {
  margin: 4px 0 0;
  color: #4e6e3a;
  font: 400 16px/24px "Figtree", sans-serif;
}

.about-member-card p {
  margin: 12px 0 0;
  color: #6d6c6c;
  font: 400 14px/20px "Manrope", sans-serif;
}

.about-team-mobile-card {
  background: #fff;
  border: 0.858px solid #d6d6d6;
  border-radius: 16px;
  min-height: 177px;
  padding: 13px 12px;
  text-align: center;
}

.about-team-mobile-emoji {
  width: 40px;
  height: 40px;
  margin: 0 auto;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(212, 168, 87, 0.3);
  font-size: 22px;
}

.about-team-mobile-card h3 {
  margin: 10px 0 0;
  color: #1f3d2b;
  font: 500 16px/28px "Figtree", sans-serif;
}

.about-team-mobile-card h4 {
  margin: -2px 0 0;
  color: #4e6e3a;
  font: 400 12px/24px "Figtree", sans-serif;
}

.about-team-mobile-card p {
  margin: 6px 0 0;
  color: #6d6c6c;
  font: 400 12px/18px "Manrope", sans-serif;
}

.contact-desktop {
  min-height: 1020px;
  padding: 60px 98px 84px;
  background: linear-gradient(118deg, rgba(143, 175, 154, 0.05) 0%, #fcfcfc 38%, #fcfcfc 59%, rgba(143, 175, 154, 0.05) 100%);
}

.contact-desktop__intro h1 {
  margin: 20px 0 0;
  color: var(--buttons);
  font: 600 52px/60px "Figtree", sans-serif;
}

.contact-desktop__intro h1 span {
  color: var(--text-body);
}

.contact-desktop__intro p {
  margin: 16px 0 0;
  width: 780px;
  color: var(--text-2);
  font: 500 22px/32px "Manrope", sans-serif;
}

.contact-desktop__grid {
  margin-top: 38px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-form-card,
.contact-info-card {
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(143, 175, 154, 0.4);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
}

.contact-form-card {
  padding: 26px;
}

.contact-form-card h2,
.contact-info-card h2 {
  margin: 0;
  color: var(--buttons);
  font: 600 30px/1.2 "Figtree", sans-serif;
}

.contact-form-card form {
  margin-top: 18px;
}

.contact-form-card label {
  display: block;
  margin-top: 12px;
  color: var(--text-headings);
  font: 500 18px/1.2 "DM Sans", sans-serif;
}

.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fcfcfc;
  color: var(--text-headings);
  font: 500 16px/1.4 "Manrope", sans-serif;
  padding: 12px 14px;
}

.contact-form-card textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form-card button {
  margin-top: 20px;
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 14px;
  background: var(--buttons);
  color: #fff;
  font: 600 20px/1.2 "DM Sans", sans-serif;
  cursor: pointer;
}

.contact-info-card {
  padding: 26px;
}

.contact-info-card__sub {
  margin: 12px 0 0;
  color: var(--text-2);
  font: 500 18px/28px "Manrope", sans-serif;
}

.contact-info-row {
  margin-top: 16px;
}

.contact-info-row h3,
.contact-hours h3 {
  margin: 0;
  color: var(--buttons);
  font: 600 22px/1.2 "Figtree", sans-serif;
}

.contact-info-row a {
  display: inline-block;
  margin-top: 6px;
  color: var(--text-body);
  text-decoration: none;
  font: 500 18px/28px "Manrope", sans-serif;
}

.contact-hours {
  margin-top: 18px;
}

.contact-hours p {
  margin: 6px 0 0;
  color: var(--text-sub);
  font: 500 17px/26px "Manrope", sans-serif;
}

.contact-mobile {
  padding: 36px 20px 34px;
  background: linear-gradient(118deg, rgba(143, 175, 154, 0.05) 0%, #fcfcfc 38%, #fcfcfc 59%, rgba(143, 175, 154, 0.05) 100%);
}

.contact-mobile h1 {
  margin: 18px 0 0;
  color: var(--buttons);
  font: 600 30px/40px "Figtree", sans-serif;
}

.contact-mobile__lead {
  margin: 12px 0 0;
  color: var(--text-2);
  font: 500 15px/24px "Manrope", sans-serif;
}

.contact-mobile__form,
.contact-mobile__info {
  margin-top: 18px;
  border: 1px solid rgba(143, 175, 154, 0.4);
  border-radius: 20px;
  background: #fff;
  padding: 16px;
}

.contact-mobile__form label {
  display: block;
  margin-top: 12px;
  color: var(--text-headings);
  font: 500 14px/1.2 "DM Sans", sans-serif;
}

.contact-mobile__form input,
.contact-mobile__form textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fcfcfc;
  color: var(--text-headings);
  font: 500 14px/1.4 "Manrope", sans-serif;
  padding: 10px 12px;
}

.contact-mobile__form textarea {
  min-height: 112px;
}

.contact-mobile__form button {
  margin-top: 14px;
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  background: var(--buttons);
  color: #fff;
  font: 600 16px/1.2 "DM Sans", sans-serif;
}

.contact-mobile__info h2 {
  margin: 0;
  color: var(--buttons);
  font: 600 22px/30px "Figtree", sans-serif;
}

.contact-mobile__info div {
  margin-top: 14px;
}

.contact-mobile__info h3 {
  margin: 0;
  color: var(--buttons);
  font: 600 16px/1.2 "Figtree", sans-serif;
}

.contact-mobile__info a {
  display: inline-block;
  margin-top: 6px;
  color: var(--text-body);
  text-decoration: none;
  font: 500 14px/22px "Manrope", sans-serif;
}

.contact-mobile__info p {
  margin: 6px 0 0;
  color: var(--text-sub);
  font: 500 14px/22px "Manrope", sans-serif;
}

.policy-desktop {
  min-height: 980px;
  padding: 60px 98px 84px;
  background: linear-gradient(118deg, rgba(143, 175, 154, 0.05) 0%, #fcfcfc 38%, #fcfcfc 59%, rgba(143, 175, 154, 0.05) 100%);
}

.policy-intro h1 {
  margin: 20px 0 0;
  color: var(--buttons);
  font: 600 52px/60px "Figtree", sans-serif;
}

.policy-intro p {
  margin: 14px 0 0;
  width: 900px;
  color: var(--text-2);
  font: 500 22px/32px "Manrope", sans-serif;
}

.policy-meta {
  margin-top: 12px;
  color: var(--text-sub-2);
  font: 600 18px/1.4 "DM Sans", sans-serif;
}

.policy-desktop__card {
  margin-top: 34px;
  background: #fff;
  border: 1px solid rgba(143, 175, 154, 0.4);
  border-radius: 24px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  padding: 30px;
}

.policy-desktop__card h2 {
  margin: 24px 0 0;
  color: var(--buttons);
  font: 600 30px/1.2 "Figtree", sans-serif;
}

.policy-desktop__card h2:first-child {
  margin-top: 0;
}

.policy-desktop__card h3 {
  margin: 18px 0 0;
  color: var(--text-headings);
  font: 600 22px/1.3 "Figtree", sans-serif;
}

.policy-desktop__card p {
  margin: 10px 0 0;
  color: var(--text-sub);
  font: 500 18px/30px "Manrope", sans-serif;
}

.policy-desktop__card ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

.policy-desktop__card li {
  margin-top: 6px;
  color: var(--text-sub);
  font: 500 18px/30px "Manrope", sans-serif;
}

.policy-desktop__card a {
  color: var(--text-body);
  text-decoration: none;
}

.policy-mobile {
  padding: 36px 20px 30px;
  background: linear-gradient(118deg, rgba(143, 175, 154, 0.05) 0%, #fcfcfc 38%, #fcfcfc 59%, rgba(143, 175, 154, 0.05) 100%);
}

.policy-mobile h1 {
  margin: 14px 0 0;
  color: var(--buttons);
  font: 600 34px/42px "Figtree", sans-serif;
}

.policy-mobile .policy-meta {
  margin-top: 8px;
  font-size: 14px;
}

.policy-mobile__card {
  margin-top: 16px;
  border: 1px solid rgba(143, 175, 154, 0.4);
  border-radius: 20px;
  background: #fff;
  padding: 16px;
}

.policy-mobile__card h2 {
  margin: 16px 0 0;
  color: var(--buttons);
  font: 600 22px/30px "Figtree", sans-serif;
}

.policy-mobile__card h2:first-child {
  margin-top: 0;
}

.policy-mobile__card h3 {
  margin: 14px 0 0;
  color: var(--text-headings);
  font: 600 17px/1.3 "Figtree", sans-serif;
}

.policy-mobile__card p {
  margin: 8px 0 0;
  color: var(--text-sub);
  font: 500 14px/24px "Manrope", sans-serif;
}

.policy-mobile__card ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.policy-mobile__card li {
  margin-top: 4px;
  color: var(--text-sub);
  font: 500 14px/24px "Manrope", sans-serif;
}

.policy-mobile__card a {
  color: var(--text-body);
  text-decoration: none;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes scanLine {
  0% { transform: translateY(0); opacity: 0.85; }
  50% { opacity: 1; }
  100% { transform: translateY(320px); opacity: 0.85; }
}

.animate-f1 { animation: floatY 5.2s ease-in-out infinite; }
.animate-f2 { animation: floatY 5.9s ease-in-out infinite 0.6s; }
.animate-f3 { animation: floatY 6.4s ease-in-out infinite 1s; }

.scan-line {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 24px;
  height: 3px;
  border-radius: 4px;
  background: linear-gradient(90deg, transparent, rgba(143,175,154,.95), rgba(212,168,87,.9), transparent);
  box-shadow: 0 0 12px rgba(143,175,154,.6);
  animation: scanLine 2.8s ease-in-out infinite;
}

.mobile-footer-logo {
  display: block;
  height: 28px;
  width: 120px;
  max-width: min(160px, 100%);
}

.mobile-view {
  display: none;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 40, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 50;
}

.mobile-menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(280px, 78vw);
  height: 100vh;
  background: #fff;
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 51;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu-panel.is-open {
  transform: translateX(0);
}

.mobile-menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-close {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--buttons);
  font: 600 28px/1 "DM Sans", sans-serif;
  cursor: pointer;
  padding: 2px 8px;
}

.mobile-nav-link {
  display: block;
  border-radius: 10px;
  padding: 10px 8px;
  text-decoration: none;
  font: 500 20px/1.3 "DM Sans", sans-serif;
  color: var(--text-body);
}

.mobile-nav-link.is-active {
  color: var(--buttons);
  font-weight: 600;
}

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

.mobile-reviews-marquee {
  overflow: hidden;
  width: 100%;
}

.mobile-reviews-marquee-track {
  display: flex;
  width: max-content;
  animation: mobileReviewsMarquee 48s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-reviews-marquee {
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .mobile-reviews-marquee-track {
    animation: none;
  }
}

@keyframes mobileReviewsMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .page-frame {
    display: none;
  }

  .mobile-view {
    display: block;
  }
}
