/* =========================================================
   FUTUREFUNDS
   Landing Page Styles
   ========================================================= */


/* =========================================================
   1. VARIABLES / RESET
   ========================================================= */

:root {
  --green: #23c686;
  --green-dark: #159d69;
  --green-light: #e8f8f1;

  --charcoal: #333333;
  --charcoal-light: #454545;

  --white: #ffffff;
  --off-white: #f8faf9;
  --light-gray: #eef3f1;
  --border: #dce5e1;

  --text: #333333;
  --text-light: #626b67;

  --max-width: 1200px;

  --radius-small: 8px;
  --radius-medium: 16px;
  --radius-large: 28px;

  --shadow-small:
    0 4px 14px rgba(0, 0, 0, 0.06);

  --shadow-medium:
    0 12px 35px rgba(0, 0, 0, 0.09);

  --transition: 0.25s ease;
}


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


html {
  scroll-behavior: smooth;
}


body {
  margin: 0;

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  color: var(--text);
  background: var(--white);

  line-height: 1.6;
}


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


a {
  color: inherit;
}


button,
input,
select {
  font: inherit;
}


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


section {
  scroll-margin-top: 100px;
}


/* =========================================================
   2. ACCESSIBILITY
   ========================================================= */

.skip-link {
  position: absolute;

  top: -100px;
  left: 20px;

  z-index: 9999;

  padding: 12px 20px;

  background: var(--charcoal);
  color: var(--white);

  text-decoration: none;

  border-radius: 0 0 8px 8px;
}


.skip-link:focus {
  top: 0;
}


.sr-only {
  position: absolute;

  width: 1px;
  height: 1px;

  padding: 0;
  margin: -1px;

  overflow: hidden;

  clip: rect(0, 0, 0, 0);
  white-space: nowrap;

  border: 0;
}


a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}


/* =========================================================
   3. GENERAL LAYOUT
   ========================================================= */

.container {
  width: min(90%, var(--max-width));

  margin-inline: auto;
}


.section {
  padding: 100px 0;
}


.eyebrow {
  margin: 0 0 12px;

  color: var(--green-dark);

  font-size: 0.78rem;
  font-weight: 800;

  letter-spacing: 0.13em;
  text-transform: uppercase;
}


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


h1,
h2,
h3 {
  line-height: 1.12;
}


h1 {
  margin-bottom: 24px;

  font-size: clamp(2.8rem, 6vw, 5rem);

  letter-spacing: -0.045em;
}


h2 {
  margin-bottom: 22px;

  font-size: clamp(2rem, 4vw, 3.3rem);

  letter-spacing: -0.035em;
}


h3 {
  font-size: 1.35rem;
}


p {
  color: var(--text-light);
}


.section-heading {
  display: grid;

  grid-template-columns:
    minmax(0, 1.4fr)
    minmax(250px, 0.6fr);

  gap: 70px;

  align-items: end;

  margin-bottom: 55px;
}


.section-heading h2 {
  max-width: 720px;

  margin-bottom: 0;
}


.section-heading > p {
  margin-bottom: 4px;

  font-size: 1.05rem;
}


/* =========================================================
   4. BUTTONS
   ========================================================= */

.button {
  display: inline-flex;

  justify-content: center;
  align-items: center;

  min-height: 50px;

  padding: 13px 24px;

  border: 2px solid transparent;
  border-radius: 999px;

  font-weight: 700;

  line-height: 1.2;
  text-align: center;
  text-decoration: none;

  cursor: pointer;

  transition:
    background-color var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}


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


.button-primary {
  background: var(--green);
  color: #17241f;
}


.button-primary:hover {
  background: var(--green-dark);
  color: var(--white);

  box-shadow:
    0 8px 20px rgba(35, 198, 134, 0.25);
}


.button-secondary {
  border-color: var(--charcoal);

  background: transparent;
  color: var(--charcoal);
}


.button-secondary:hover {
  background: var(--charcoal);
  color: var(--white);
}


.button-dark {
  background: var(--charcoal);
  color: var(--white);
}


.button-dark:hover {
  background: var(--green);
  color: var(--charcoal);
}


.button-light {
  background: var(--white);
  color: var(--charcoal);
}


.button-light:hover {
  background: var(--charcoal);
  color: var(--white);
}


/* =========================================================
   5. HEADER
   ========================================================= */

.site-header {
  position: sticky;

  top: 0;

  z-index: 1000;

  background:
    rgba(255, 255, 255, 0.96);

  border-bottom:
    1px solid rgba(51, 51, 51, 0.08);

  backdrop-filter: blur(10px);
}


.header-inner {
  display: flex;

  justify-content: space-between;
  align-items: center;

  min-height: 82px;
}


/* =========================================================
   6. FUTUREFUNDS LOGO
   ========================================================= */

.brand {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  color: var(--charcoal);

  text-decoration: none;
}


.brand-text {
  display: flex;

  font-size: 1.55rem;
  font-weight: 800;

  letter-spacing: -0.04em;
}


.brand-text strong {
  color: var(--green);

  font-weight: 800;
}


.brand-icon {
  position: relative;

  width: 35px;
  height: 35px;

  transform: rotate(-45deg);
}


.brand-mark {
  position: absolute;

  width: 23px;
  height: 12px;

  border-radius: 3px;
}


.mark-dark {
  bottom: 4px;
  left: 2px;

  background: var(--charcoal);
}


.mark-green {
  top: 4px;
  right: 1px;

  background: var(--green);
}


/* =========================================================
   7. NAVIGATION
   ========================================================= */

.primary-nav {
  display: flex;

  align-items: center;

  gap: 32px;
}


.primary-nav a {
  position: relative;

  font-size: 0.93rem;
  font-weight: 700;

  text-decoration: none;
}


.primary-nav > a:not(.nav-cta)::after {
  content: "";

  position: absolute;

  right: 0;
  bottom: -6px;
  left: 0;

  height: 2px;

  background: var(--green);

  transform: scaleX(0);

  transform-origin: center;

  transition:
    transform var(--transition);
}


.primary-nav > a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}


.nav-cta {
  padding: 11px 19px;

  background: var(--green);

  border-radius: 999px;

  color: var(--charcoal);
}


.nav-cta:hover {
  background: var(--charcoal);
  color: var(--white);
}


/* Mobile menu button */

.menu-toggle {
  display: none;

  width: 44px;
  height: 44px;

  padding: 10px;

  border: 0;

  background: transparent;

  cursor: pointer;
}


.menu-toggle > span:not(.sr-only) {
  display: block;

  width: 24px;
  height: 2px;

  margin: 5px auto;

  background: var(--charcoal);

  transition: var(--transition);
}


/* =========================================================
   8. HERO
   ========================================================= */

.hero {
  position: relative;

  overflow: hidden;

  padding: 110px 0 100px;

  background:
    linear-gradient(
      135deg,
      #f8fbfa 0%,
      #edf8f3 100%
    );
}


.hero::after {
  content: "";

  position: absolute;

  top: -200px;
  right: -180px;

  width: 500px;
  height: 500px;

  border: 80px solid rgba(35, 198, 134, 0.07);

  border-radius: 50%;

  pointer-events: none;
}


.hero-grid {
  position: relative;

  z-index: 2;

  display: grid;

  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(380px, 0.95fr);

  gap: 80px;

  align-items: center;
}


.hero-copy h1 {
  max-width: 720px;
}


.hero-copy h1 span {
  color: var(--green-dark);
}


.hero-description {
  max-width: 650px;

  margin-bottom: 32px;

  font-size: 1.15rem;
}


.hero-actions {
  display: flex;

  flex-wrap: wrap;

  gap: 14px;

  margin-bottom: 50px;
}


.hero-trust {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 24px;

  padding-top: 30px;

  border-top:
    1px solid var(--border);
}


.hero-trust div {
  display: flex;

  flex-direction: column;

  gap: 4px;
}


.hero-trust strong {
  font-size: 0.95rem;
}


.hero-trust span {
  color: var(--text-light);

  font-size: 0.78rem;
  line-height: 1.45;
}


/* =========================================================
   9. HERO DASHBOARD
   ========================================================= */

.hero-visual {
  display: flex;

  justify-content: center;
  align-items: center;
}


.dashboard-card {
  position: relative;

  width: min(100%, 480px);

  padding: 34px;

  background: var(--charcoal);

  color: var(--white);

  border-radius: var(--radius-large);

  box-shadow:
    0 30px 70px rgba(51, 51, 51, 0.22);

  transform: rotate(2deg);
}


.dashboard-card::before {
  content: "";

  position: absolute;

  top: -18px;
  right: -18px;

  width: 90px;
  height: 90px;

  background: var(--green);

  border-radius: 24px;

  z-index: -1;
}


.dashboard-top {
  display: flex;

  justify-content: space-between;
  align-items: center;

  gap: 20px;

  margin-bottom: 45px;

  font-size: 0.82rem;
}


.status-pill {
  padding: 6px 12px;

  background:
    rgba(35, 198, 134, 0.15);

  border:
    1px solid var(--green);

  border-radius: 999px;

  color: #72e6b7;
}


.dashboard-balance {
  display: flex;

  flex-direction: column;

  margin-bottom: 30px;
}


.dashboard-balance span {
  margin-bottom: 4px;

  color: #c8cecb;

  font-size: 0.82rem;
}


.dashboard-balance strong {
  font-size: 2.7rem;

  letter-spacing: -0.04em;
}


.chart {
  display: flex;

  align-items: end;

  gap: 12px;

  height: 150px;

  margin-bottom: 35px;

  padding: 20px;

  background:
    rgba(255, 255, 255, 0.05);

  border-radius: var(--radius-medium);
}


.bar {
  flex: 1;

  min-height: 20px;

  background: var(--green);

  border-radius: 6px 6px 2px 2px;
}


.bar-1 {
  height: 28%;
}

.bar-2 {
  height: 42%;
}

.bar-3 {
  height: 39%;
}

.bar-4 {
  height: 61%;
}

.bar-5 {
  height: 75%;
}

.bar-6 {
  height: 94%;
}


.dashboard-stats {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 16px;
}


.dashboard-stats div {
  display: flex;

  flex-direction: column;

  padding: 17px;

  background:
    rgba(255, 255, 255, 0.07);

  border-radius: 12px;
}


.dashboard-stats span {
  color: #c8cecb;

  font-size: 0.76rem;
}


.dashboard-stats strong {
  margin-top: 3px;

  color: var(--green);

  font-size: 1.3rem;
}


/* =========================================================
   10. ABOUT
   ========================================================= */

.about-section {
  background: var(--white);
}


.about-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 100px;

  align-items: start;
}


.about-grid h2 {
  max-width: 550px;
}


.about-copy {
  padding-top: 10px;
}


.about-copy p {
  font-size: 1.05rem;
}


.text-link {
  display: inline-flex;

  align-items: center;

  gap: 9px;

  margin-top: 10px;

  color: var(--charcoal);

  font-weight: 800;

  text-decoration-color: var(--green);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}


.text-link span {
  color: var(--green);

  font-size: 1.3rem;

  transition:
    transform var(--transition);
}


.text-link:hover span {
  transform: translateX(5px);
}


/* =========================================================
   11. SERVICES
   ========================================================= */

.services-section {
  background: var(--off-white);
}


.service-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 20px;
}


.service-card {
  position: relative;

  min-height: 315px;

  padding: 32px;

  background: var(--white);

  border:
    1px solid var(--border);

  border-radius: var(--radius-medium);

  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}


.service-card:hover {
  transform: translateY(-6px);

  border-color:
    rgba(35, 198, 134, 0.7);

  box-shadow: var(--shadow-medium);
}


.service-number {
  display: block;

  margin-bottom: 45px;

  color: var(--green-dark);

  font-size: 0.75rem;
  font-weight: 800;

  letter-spacing: 0.12em;
}


.service-card h3 {
  margin-bottom: 14px;
}


.service-card p {
  margin-bottom: 25px;

  font-size: 0.93rem;
}


.service-card a {
  position: absolute;

  right: 32px;
  bottom: 28px;
  left: 32px;

  display: flex;

  justify-content: space-between;

  gap: 15px;

  color: var(--charcoal);

  font-size: 0.85rem;
  font-weight: 800;

  text-decoration: none;
}


.service-card a span {
  color: var(--green);

  transition:
    transform var(--transition);
}


.service-card a:hover span {
  transform: translateX(5px);
}


/* =========================================================
   12. FINANCIAL TOOLS
   ========================================================= */

.tools-section {
  background: var(--white);
}


.tool-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 22px;
}


.tool-card {
  display: flex;

  flex-direction: column;

  min-height: 390px;

  padding: 34px;

  border:
    1px solid var(--border);

  border-radius: var(--radius-medium);

  background: var(--off-white);
}


.tool-card.featured-tool {
  background: var(--charcoal);
  color: var(--white);

  border-color: var(--charcoal);

  transform: translateY(-15px);
}


.featured-tool p {
  color: #d5dbd8;
}


.tool-icon {
  display: grid;

  place-items: center;

  width: 54px;
  height: 54px;

  margin-bottom: 45px;

  background: var(--green-light);

  color: var(--green-dark);

  border-radius: 14px;

  font-size: 1.4rem;
  font-weight: 900;
}


.featured-tool .tool-icon {
  background:
    rgba(35, 198, 134, 0.15);

  color: var(--green);
}


.tool-card p {
  flex-grow: 1;

  font-size: 0.94rem;
}


.tool-card .button {
  width: 100%;

  margin-top: 20px;
}


/* =========================================================
   13. CALCULATOR PANEL
   ========================================================= */

.calculator-panel {
  margin-top: 50px;
}


.calculator-panel[hidden] {
  display: none;
}


.calculator-panel-inner {
  max-width: 850px;

  margin: 0 auto;

  padding: 40px;

  background: var(--off-white);

  border:
    1px solid var(--border);

  border-radius: var(--radius-medium);

  box-shadow: var(--shadow-small);
}


.calculator-header {
  display: flex;

  justify-content: space-between;
  align-items: start;

  gap: 30px;

  margin-bottom: 30px;
}


.calculator-header h3 {
  margin-bottom: 0;

  font-size: 1.8rem;
}


.calculator-close {
  display: grid;

  place-items: center;

  flex-shrink: 0;

  width: 42px;
  height: 42px;

  border: 0;

  background: var(--charcoal);
  color: var(--white);

  border-radius: 50%;

  font-size: 1.7rem;
  line-height: 1;

  cursor: pointer;
}


/* Styles for fields inserted later by JavaScript */

.calculator-form {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 20px;
}


.calculator-result {
  grid-column: 1 / -1;

  margin-top: 10px;

  padding: 25px;

  background: var(--green-light);

  border-left:
    5px solid var(--green);

  border-radius: var(--radius-small);
}


.calculator-result strong {
  display: block;

  color: var(--charcoal);

  font-size: 1.8rem;
}


/* =========================================================
   14. CONSULTATION
   ========================================================= */

.consultation-section {
  background: var(--charcoal);
}


.consultation-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 0.8fr)
    minmax(450px, 1.2fr);

  gap: 80px;

  align-items: center;
}


.consultation-copy h2 {
  color: var(--white);
}


.consultation-copy > p:not(.eyebrow) {
  max-width: 500px;

  color: #d4dad7;

  font-size: 1.05rem;
}


.consultation-points {
  display: grid;

  gap: 20px;

  margin-top: 45px;
}


.consultation-points div {
  display: flex;

  flex-direction: column;

  padding-left: 18px;

  border-left:
    3px solid var(--green);
}


.consultation-points strong {
  color: var(--white);
}


.consultation-points span {
  margin-top: 2px;

  color: #bfc7c3;

  font-size: 0.84rem;
}


/* =========================================================
   15. CONSULTATION FORM
   ========================================================= */

.consultation-form {
  padding: 42px;

  background: var(--white);

  border-radius: var(--radius-large);

  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.18);
}


.form-row {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 18px;
}


.form-group {
  display: flex;

  flex-direction: column;

  margin-bottom: 20px;
}


.form-group label {
  margin-bottom: 7px;

  color: var(--charcoal);

  font-size: 0.83rem;
  font-weight: 800;
}


.form-group label span {
  color: var(--green-dark);
}


.form-group input,
.form-group select {
  width: 100%;

  min-height: 50px;

  padding: 12px 14px;

  border:
    1px solid #bbc8c2;

  border-radius: var(--radius-small);

  background: var(--white);

  color: var(--charcoal);

  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}


.form-group input:hover,
.form-group select:hover {
  border-color: var(--charcoal);
}


.form-group input:focus,
.form-group select:focus {
  border-color: var(--green);

  outline: none;

  box-shadow:
    0 0 0 3px rgba(35, 198, 134, 0.18);
}


.form-note {
  margin: 0 0 20px;

  font-size: 0.78rem;
}


.form-submit {
  width: 100%;
}


.form-message {
  margin: 18px 0 0;

  font-size: 0.88rem;
  font-weight: 700;
}


.form-message.success {
  color: #11734e;
}


.form-message.error {
  color: #a32626;
}


/* =========================================================
   16. BLOG
   ========================================================= */

.blog-section {
  background: var(--off-white);
}


.blog-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 22px;
}


.blog-card {
  overflow: hidden;

  background: var(--white);

  border:
    1px solid var(--border);

  border-radius: var(--radius-medium);

  transition:
    transform var(--transition),
    box-shadow var(--transition);
}


.blog-card:hover {
  transform: translateY(-6px);

  box-shadow: var(--shadow-medium);
}


.blog-image {
  position: relative;

  height: 220px;

  overflow: hidden;
}


.blog-image::before,
.blog-image::after {
  content: "";

  position: absolute;

  border-radius: 50%;
}


.blog-image-one {
  background:
    linear-gradient(
      135deg,
      #dff7ed,
      #8fe2bf
    );
}


.blog-image-one::before {
  width: 130px;
  height: 130px;

  top: 45px;
  left: 50%;

  background: var(--green);

  transform:
    translateX(-50%);
}


.blog-image-one::after {
  width: 75px;
  height: 75px;

  top: 72px;
  left: 50%;

  background: var(--white);

  transform:
    translateX(-50%);
}


.blog-image-two {
  background:
    linear-gradient(
      135deg,
      var(--charcoal),
      #5c625f
    );
}


.blog-image-two::before {
  width: 220px;
  height: 120px;

  right: -20px;
  bottom: -55px;

  border:
    25px solid var(--green);

  background: transparent;
}


.blog-image-two::after {
  width: 75px;
  height: 75px;

  top: 35px;
  left: 40px;

  background: var(--green);
}


.blog-image-three {
  background:
    linear-gradient(
      135deg,
      #eff7f4,
      #c9eee0
    );
}


.blog-image-three::before {
  width: 180px;
  height: 180px;

  top: 30px;
  right: 30px;

  border:
    30px solid var(--charcoal);

  background: transparent;
}


.blog-image-three::after {
  width: 55px;
  height: 55px;

  bottom: 30px;
  left: 35px;

  background: var(--green);
}


.blog-content {
  padding: 28px;
}


.blog-meta {
  display: block;

  margin-bottom: 15px;

  color: var(--green-dark);

  font-size: 0.74rem;
  font-weight: 800;

  letter-spacing: 0.04em;
  text-transform: uppercase;
}


.blog-content h3 {
  min-height: 60px;

  margin-bottom: 15px;
}


.blog-content p {
  font-size: 0.9rem;
}


.blog-content a {
  display: inline-flex;

  gap: 8px;

  margin-top: 8px;

  color: var(--charcoal);

  font-size: 0.85rem;
  font-weight: 800;

  text-decoration-color: var(--green);
  text-underline-offset: 4px;
}


/* =========================================================
   17. TESTIMONIALS
   ========================================================= */

.testimonial-section {
  background: var(--white);
}


.testimonial-heading {
  max-width: 720px;

  margin-bottom: 50px;
}


.testimonial-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 22px;
}


.testimonial-card {
  margin: 0;

  padding: 32px;

  background: var(--charcoal);

  border-radius: var(--radius-medium);
}


.stars {
  margin-bottom: 24px;

  color: var(--green);

  letter-spacing: 0.15em;
}


.testimonial-card blockquote {
  margin: 0 0 30px;

  color: var(--white);

  font-size: 1.05rem;
  line-height: 1.65;
}


.testimonial-card figcaption {
  display: flex;

  flex-direction: column;

  padding-top: 20px;

  border-top:
    1px solid rgba(255, 255, 255, 0.15);
}


.testimonial-card figcaption strong {
  color: var(--green);
}


.testimonial-card figcaption span {
  color: #bfc7c3;

  font-size: 0.8rem;
}


/* =========================================================
   18. FINAL CTA
   ========================================================= */

.final-cta {
  padding: 70px 0;

  background: var(--green);
}


.final-cta-inner {
  display: flex;

  justify-content: space-between;
  align-items: center;

  gap: 40px;
}


.final-cta .eyebrow {
  color: #174c39;
}


.final-cta h2 {
  max-width: 700px;

  margin-bottom: 0;

  color: var(--charcoal);
}


/* =========================================================
   19. FOOTER
   ========================================================= */

.site-footer {
  padding: 75px 0 25px;

  background: #252525;

  color: var(--white);
}


.footer-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 80px;

  padding-bottom: 55px;
}


.footer-logo {
  margin-bottom: 18px;
}


.footer-logo .brand-text span {
  color: var(--white);
}


.footer-brand p {
  max-width: 330px;

  color: #abb4b0;
}


.footer-links {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 50px;
}


.footer-links div {
  display: flex;

  flex-direction: column;

  gap: 10px;
}


.footer-links h3 {
  margin-bottom: 10px;

  color: var(--white);

  font-size: 0.9rem;
}


.footer-links a {
  width: fit-content;

  color: #bfc7c3;

  font-size: 0.85rem;

  text-decoration: none;
}


.footer-links a:hover {
  color: var(--green);
}


.footer-bottom {
  padding-top: 22px;

  border-top:
    1px solid rgba(255, 255, 255, 0.12);
}


.footer-bottom p {
  margin: 0;

  color: #8f9994;

  font-size: 0.75rem;
}


/* =========================================================
   20. TABLET
   ========================================================= */

@media (max-width: 1000px) {

  .section {
    padding: 80px 0;
  }


  /* Header */

  .menu-toggle {
    display: block;
  }


  .primary-nav {
    position: absolute;

    top: 82px;
    right: 0;
    left: 0;

    display: none;

    flex-direction: column;
    align-items: stretch;

    gap: 0;

    padding:
      15px
      5% 
      25px;

    background: var(--white);

    border-bottom:
      1px solid var(--border);

    box-shadow: var(--shadow-small);
  }


  .primary-nav.open {
    display: flex;
  }


  .primary-nav a {
    padding: 14px 0;
  }


  .primary-nav > a:not(.nav-cta)::after {
    display: none;
  }


  .nav-cta {
    margin-top: 10px;

    padding: 14px 20px;

    text-align: center;
  }


  /* Hero */

  .hero-grid {
    grid-template-columns: 1fr;

    gap: 65px;
  }


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


  .hero-visual {
    justify-content: flex-start;
  }


  .dashboard-card {
    width: min(100%, 600px);
  }


  /* About */

  .about-grid {
    gap: 60px;
  }


  /* Cards */

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


  .tool-card.featured-tool {
    transform: none;
  }


  /* Consultation */

  .consultation-grid {
    grid-template-columns: 1fr;

    gap: 55px;
  }


  .consultation-copy {
    max-width: 700px;
  }

}


/* =========================================================
   21. MOBILE
   ========================================================= */

@media (max-width: 700px) {

  .container {
    width: min(88%, var(--max-width));
  }


  .section {
    padding: 65px 0;
  }


  h1 {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }


  h2 {
    font-size: clamp(1.9rem, 9vw, 2.7rem);
  }


  /* Header */

  .header-inner {
    min-height: 72px;
  }


  .brand-text {
    font-size: 1.3rem;
  }


  .brand-icon {
    width: 30px;
    height: 30px;
  }


  .primary-nav {
    top: 72px;
  }


  /* Hero */

  .hero {
    padding: 75px 0 65px;
  }


  .hero-description {
    font-size: 1rem;
  }


  .hero-actions {
    flex-direction: column;
  }


  .hero-actions .button {
    width: 100%;
  }


  .hero-trust {
    grid-template-columns: 1fr;

    gap: 18px;
  }


  .dashboard-card {
    padding: 25px;

    transform: none;
  }


  .dashboard-card::before {
    display: none;
  }


  .dashboard-balance strong {
    font-size: 2.1rem;
  }


  .chart {
    height: 125px;

    gap: 8px;

    padding: 15px;
  }


  /* Section headings */

  .section-heading {
    grid-template-columns: 1fr;

    gap: 18px;

    margin-bottom: 40px;
  }


  /* About */

  .about-grid {
    grid-template-columns: 1fr;

    gap: 20px;
  }


  /* Cards */

  .service-grid,
  .tool-grid,
  .blog-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }


  .service-card {
    min-height: 290px;
  }


  .tool-card {
    min-height: 350px;
  }


  /* Calculator */

  .calculator-panel-inner {
    padding: 25px;
  }


  .calculator-form {
    grid-template-columns: 1fr;
  }


  /* Consultation */

  .consultation-form {
    padding: 28px 22px;

    border-radius: var(--radius-medium);
  }


  .form-row {
    grid-template-columns: 1fr;

    gap: 0;
  }


  /* Blog */

  .blog-content h3 {
    min-height: auto;
  }


  /* Final CTA */

  .final-cta-inner {
    flex-direction: column;

    align-items: flex-start;
  }


  .final-cta .button {
    width: 100%;
  }


  /* Footer */

  .footer-grid {
    grid-template-columns: 1fr;

    gap: 45px;
  }


  .footer-links {
    gap: 30px;
  }

}


/* =========================================================
   22. VERY SMALL SCREENS
   ========================================================= */

@media (max-width: 420px) {

  .dashboard-top {
    align-items: flex-start;

    flex-direction: column;

    gap: 10px;
  }


  .dashboard-stats {
    grid-template-columns: 1fr;
  }


  .footer-links {
    grid-template-columns: 1fr;
  }

}


/* =========================================================
   23. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }


  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

}