/* ===============================
   CTA SECTION
=================================*/

.cta-section {
  display: grid;
  grid-template-columns: 5fr 1fr;
  gap: min(8vw, 100px);
  align-items: center;

  /* TOP | RIGHT | BOTTOM | LEFT */
  padding: min(6vw, 60px) min(6vw, 80px) 0 min(6vw, 80px);

  background: var(--color-bg);
  max-width: 100%;
}

[data-page="home"] .cta-section {
  background: var(--color-white);
}

.cta-section .cta-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cta-section h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin: 0 0 1rem 0;
  color: var(--color-navy);
  font-weight: 700;
  line-height: 1.2;
}

.cta-section p {
  color: var(--color-slate);
  max-width: 100%;
  margin: 0 0 1.5rem 0;
  line-height: 1.6;
  font-size: 1rem;
  font-weight: 400;
}

.cta-section .primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 3.8rem;
  border-radius: 6px;
  background: var(--color-navy);
  color: var(--color-white);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
  width: fit-content;
  margin: 0;
}

.cta-section .primary:hover {
  background: var(--color-navy-light);
}

.cta-illustration {
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* ============== TABLET VIEW ============== */
@media (max-width: 960px) {
  .cta-section {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 60px 30px;
    text-align: center;
  }

  .cta-section .cta-text {
    align-items: center;
  }

    .cta-illustration {
    display: none;
  }
}

/* ============== MOBILE VIEW ============== */
@media (max-width: 640px) {
  .cta-section {
    padding: 40px 20px;
  }

   .cta-illustration {
    display: none;
   }
}
/* ===============================
   FOOTER SECTION
=================================*/

.site-footer {
  background: var(--color-navy);
  color: var(--color-white);
  padding: min(10vw, 100px) min(6vw, 80px);
  padding-bottom: 40px;
  display: grid;
  grid-template-columns: 1fr repeat(3, minmax(200px, 1fr));
  gap: 3rem;
  align-items: start;
}

.footer-brand .logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-white);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 340px;
  margin-top: 0.8rem;
}

.footer-social h3 {
  margin-bottom: 0.8rem;
  font-size: var(--font-base);
  font-weight: 500;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--color-white);
  color: var(--color-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.6rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.footer-social a:hover {
  transform: translateY(-2px);
  background: var(--color-accent);
  color: var(--color-white);
}

.footer-social a i {
  font-size: 16px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  grid-column: 2 / -1;
}

.footer-links h3 {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
  font-weight: 600;
  padding-bottom: 0.4rem;
  position: relative;
  display: inline-block;
}

.footer-links h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--color-white);
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.85);
}

.footer-links li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
}

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

/* Contact icon */
.contact-icon {
  color: var(--color-accent);
  display: inline-flex;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-icon i {
  font-size: 18px;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.2rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 1rem;
}

/* ============== TABLET VIEW ============== */
@media (max-width: 960px) {
  .site-footer {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-links {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-column: 1;
  }
}

/* ============== MOBILE VIEW ============== */
@media (max-width: 640px) {
  .site-footer {
    padding-bottom: 3rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
