:root {
  --primary: #14c6a8;
  --primary-dark: #10b097;
  --nav-bg: #111938;
  --text: #2a2f3a;
  --muted: #727b90;
  --feature-bg: #2f7ceb;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background-color: #f6f8fc;
}

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

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

.container {
  width: min(1170px, 92%);
  margin: 0 auto;
}

.topbar {
  background: var(--white);
}

.topbar-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
}

.brand-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0d3f84;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.info-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.icon {
  width: 34px;
  height: 34px;
  border: 1px solid #e2e7f3;
  display: grid;
  place-items: center;
  border-radius: 3px;
  font-size: 0.9rem;
  color: #2fbda7;
}

.icon i {
  font-size: 0.85rem;
}

.info-box p {
  font-size: 0.65rem;
  color: var(--muted);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.info-box a {
  font-size: 0.8rem;
  font-weight: 600;
}

.quote-btn {
  padding: 0.75rem 1.35rem;
  background: var(--primary);
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 700;
  border-radius: 3px;
  transition: background 0.2s ease;
}

.quote-btn:hover {
  background: var(--primary-dark);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  color: #122452;
}

.navbar {
  background: var(--nav-bg);
}

.nav-inner {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.55rem;
}

.menu a {
  color: #eef1fb;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.menu a i {
  font-size: 0.65rem;
  margin-left: 0.2rem;
}

.search-btn {
  border: 0;
  background: #162147;
  color: var(--white);
  width: 54px;
  height: 54px;
  cursor: pointer;
  font-size: 0.83rem;
}

.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  background-image: linear-gradient(
      to right,
      rgba(8, 16, 44, 0.75),
      rgba(8, 16, 44, 0.52)
    ),
    url("https://images.unsplash.com/photo-1521791136064-7986c2920216?auto=format&fit=crop&w=1600&q=80");
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 23, 62, 0.16);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  text-align: center;
}

.eyebrow {
  font-size: 1.12rem;
  font-weight: 500;
  margin-bottom: 0.9rem;
}

.hero h1 {
  max-width: 700px;
  margin: 0 auto 1.7rem;
  font-size: clamp(2rem, 5vw, 3.55rem);
  line-height: 1.08;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  min-width: 150px;
  padding: 0.87rem 1.3rem;
  border-radius: 3px;
  font-size: 0.77rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(16, 36, 93, 0.35);
  color: var(--white);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
}

.slider-arrow.left {
  left: 14px;
}

.slider-arrow.right {
  right: 14px;
}

.feature-strip {
  background: var(--feature-bg);
}

.features {
  min-height: 84px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.features article {
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem;
}

.features article span {
  font-size: 1.1rem;
  color: #68d5bd;
  min-width: 20px;
}

.features h3 {
  font-size: 0.92rem;
  line-height: 1.25;
  font-weight: 600;
}

.loan-categories {
  background: #f1f1f1;
  padding: 90px 0 95px;
}

.section-heading {
  text-align: center;
  margin-bottom: 38px;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 1.1;
  color: #1a1a1a;
  font-weight: 700;
}

.section-heading p {
  margin-top: 11px;
  color: #5f6674;
  font-size: 0.92rem;
  font-weight: 500;
}

.loan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.loan-card {
  min-height: 120px;
  background: #f8f8f8;
  border: 1px solid #dddddd;
  display: grid;
  grid-template-columns: 78px 1fr;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.loan-card:hover {
  border-color: #cfd4dd;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 24, 55, 0.06);
}

.loan-icon {
  border-right: 1px solid #dddddd;
  display: grid;
  place-items: center;
  color: #2d78b8;
  font-size: 2rem;
}

.loan-text {
  padding: 15px 16px 14px;
}

.loan-text h3 {
  color: #1f1f1f;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.1;
}

.loan-text p {
  margin-top: 9px;
  color: #6d7482;
  font-size: 0.84rem;
  line-height: 1.45;
  max-width: 30ch;
}

.loan-text a {
  margin-top: 13px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #2d78b8;
  font-weight: 700;
  font-size: 0.63rem;
  letter-spacing: 0.04em;
}

.loan-text a i {
  font-size: 0.68rem;
}

.credit-check-cta {
  position: relative;
  min-height: 214px;
  display: grid;
  place-items: center;
  background-image: linear-gradient(
      to right,
      rgba(15, 23, 48, 0.76),
      rgba(15, 23, 48, 0.76)
    ),
    url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
}

.credit-check-overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 25, 54, 0.2);
}

.credit-check-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  max-width: 740px;
  padding: 28px 0;
}

.credit-check-content p {
  font-size: 0.96rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.95);
}

.credit-check-content h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.credit-check-btn {
  margin-top: 18px;
  display: inline-block;
  min-width: 142px;
  padding: 0.8rem 1.2rem;
  border-radius: 4px;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.credit-check-btn:hover {
  background: var(--primary-dark);
}

.why-choose {
  background: #f1f1f1;
  padding: 88px 0 92px;
}

.why-choose-heading {
  text-align: center;
  margin-bottom: 36px;
}

.why-choose-heading h2 {
  font-size: clamp(2rem, 2.8vw, 2.95rem);
  line-height: 1.1;
  font-weight: 700;
  color: #1c1c1c;
}

.why-choose-heading p {
  margin: 10px auto 0;
  max-width: 720px;
  color: #666e7c;
  font-size: 0.8rem;
  line-height: 1.4;
}

.choose-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.choose-card {
  background: #ffffff;
}

.choose-card img {
  width: 100%;
  height: 176px;
  object-fit: cover;
}

.choose-caption {
  min-height: 58px;
  background: linear-gradient(90deg, #4f94f3 0%, #3f79d6 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0 0.9rem;
}

.choose-caption i {
  font-size: 0.98rem;
  color: #d8ebff;
}

.choose-caption h3 {
  font-size: 1.33rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.loan-process {
  background: #f7f8fa;
  padding: 90px 0 96px;
}

.loan-process-heading {
  text-align: center;
  margin-bottom: 44px;
}

.loan-process-heading h2 {
  font-size: clamp(2rem, 2.8vw, 2.9rem);
  line-height: 1.1;
  color: #1d1f25;
  font-weight: 700;
}

.loan-process-heading p {
  margin: 10px auto 0;
  max-width: 700px;
  color: #656f7e;
  font-size: 0.8rem;
  line-height: 1.35;
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.process-grid::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 10px;
  border-bottom: 1px solid #d3d5da;
}

.process-step {
  position: relative;
  text-align: center;
  padding-bottom: 34px;
}

.step-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 1px solid #dadde4;
  background: #eceef3;
  color: #5f8cc0;
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.process-step h3 {
  font-size: 1.05rem;
  color: #20242e;
  font-weight: 700;
  line-height: 1.1;
}

.process-step p {
  margin: 11px auto 0;
  max-width: 210px;
  color: #646d7d;
  font-size: 0.79rem;
  line-height: 1.45;
}

.step-number {
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #3e4044;
  color: #ffffff;
  font-size: 0.67rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  z-index: 1;
}

.testimonials {
  background: #f1f1f1;
  padding: 90px 0 84px;
}

.testimonials-heading {
  text-align: center;
  margin-bottom: 34px;
}

.testimonials-heading h2 {
  font-size: clamp(2rem, 2.8vw, 2.9rem);
  line-height: 1.1;
  color: #1d1f25;
  font-weight: 700;
}

.testimonials-heading p {
  margin: 10px auto 0;
  max-width: 720px;
  color: #656f7e;
  font-size: 0.8rem;
  line-height: 1.35;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.testimonial-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: start;
}

.testimonial-card img {
  width: 92px;
  height: 92px;
  object-fit: cover;
}

.testimonial-content h3 {
  font-size: 1.15rem;
  line-height: 1.1;
  color: #20242d;
  font-weight: 700;
}

.testimonial-content .role {
  margin-top: 4px;
  color: #505868;
  font-style: italic;
  font-size: 0.7rem;
}

.testimonial-content .quote {
  margin-top: 10px;
  color: #5d6676;
  font-size: 0.72rem;
  line-height: 1.6;
}

.testimonial-dots {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d6d8de;
}

.dot.active {
  background: #32c7ad;
}

.about-hero {
  position: relative;
  min-height: 165px;
  background-image: linear-gradient(
      to right,
      rgba(18, 27, 58, 0.78),
      rgba(18, 27, 58, 0.78)
    ),
    url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 23, 52, 0.12);
}

.about-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
}

.about-hero-content h1 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 700;
  line-height: 1.1;
}

.about-hero-content p {
  margin-top: 9px;
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.about-hero-content p i {
  font-size: 0.56rem;
  margin: 0 0.35rem;
}

.about-main {
  background: #f1f1f1;
  padding: 78px 0 84px;
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}

.about-intro-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.about-intro-text h2 {
  font-size: clamp(2rem, 2.8vw, 2.95rem);
  line-height: 1.1;
  font-weight: 700;
  color: #1f232c;
  margin-bottom: 14px;
}

.about-intro-text p {
  color: #505869;
  font-size: 0.74rem;
  line-height: 1.85;
}

.about-intro-text p + p {
  margin-top: 10px;
}

.about-signature {
  margin-top: 14px;
  font-size: 1.6rem;
  font-family: "Brush Script MT", "Segoe Script", cursive;
  color: #222730;
  line-height: 1;
}

.about-values {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.about-value-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  align-items: start;
}

.about-value-card img {
  width: 112px;
  height: 86px;
  object-fit: cover;
}

.about-value-card h3 {
  font-size: 1.85rem;
  line-height: 1.1;
  font-weight: 700;
  color: #20242d;
  margin-bottom: 7px;
}

.about-value-card p {
  color: #566074;
  font-size: 0.73rem;
  line-height: 1.75;
}

.services-hero {
  position: relative;
  min-height: 165px;
  background-image: linear-gradient(
      to right,
      rgba(18, 27, 58, 0.78),
      rgba(18, 27, 58, 0.78)
    ),
    url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
}

.services-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 23, 52, 0.12);
}

.services-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
}

.services-hero-content h1 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 700;
  line-height: 1.1;
}

.services-hero-content p {
  margin-top: 9px;
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.services-hero-content p i {
  font-size: 0.56rem;
  margin: 0 0.35rem;
}

.services-main {
  background: #ffffff;
  padding: 78px 0 86px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 20px;
}

.service-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.service-card h2 {
  margin-top: 16px;
  color: #20242d;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.1;
}

.service-card p {
  margin-top: 10px;
  color: #596175;
  font-size: 0.73rem;
  line-height: 1.75;
}

.service-card a {
  margin-top: 14px;
  display: inline-block;
  color: #161b25;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.gallery-hero {
  position: relative;
  min-height: 165px;
  background-image: linear-gradient(
      to right,
      rgba(18, 27, 58, 0.78),
      rgba(18, 27, 58, 0.78)
    ),
    url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
}

.gallery-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 23, 52, 0.12);
}

.gallery-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
}

.gallery-hero-content h1 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 700;
  line-height: 1.1;
}

.gallery-hero-content p {
  margin-top: 9px;
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.gallery-hero-content p i {
  font-size: 0.56rem;
  margin: 0 0.35rem;
}

.gallery-main {
  background: #f1f1f1;
  padding: 74px 0 86px;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.gallery-filter {
  border: 1px solid #e2e3e7;
  background: #f8f8f9;
  color: #2e3440;
  padding: 0 16px;
  height: 38px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-left: -1px;
  cursor: pointer;
}

.gallery-filter:first-child {
  margin-left: 0;
}

.gallery-filter.active {
  background: #ffffff;
}

.gallery-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.gallery-item {
  position: relative;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 27, 48, 0.58);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.gallery-item:hover .gallery-item-overlay,
.gallery-item:focus-visible .gallery-item-overlay {
  opacity: 1;
}

.gallery-item.is-hidden {
  display: none;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(9, 12, 21, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px 58px;
}

.gallery-lightbox.open {
  display: flex;
}

.lightbox-figure {
  max-width: min(980px, 88vw);
  max-height: 84vh;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: 84vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #ffffff;
  font-size: 1rem;
  border-radius: 50%;
  cursor: pointer;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

.contact-hero {
  position: relative;
  min-height: 165px;
  background-image: linear-gradient(
      to right,
      rgba(18, 27, 58, 0.78),
      rgba(18, 27, 58, 0.78)
    ),
    url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 23, 52, 0.12);
}

.contact-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
}

.contact-hero-content h1 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 700;
  line-height: 1.1;
}

.contact-hero-content p {
  margin-top: 9px;
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.contact-hero-content p i {
  font-size: 0.56rem;
  margin: 0 0.35rem;
}

.contact-main {
  background: #f1f1f1;
  padding: 78px 0 72px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 26px;
  align-items: start;
}

.contact-form-wrap h2 {
  font-size: clamp(2rem, 2.8vw, 2.95rem);
  line-height: 1.1;
  color: #1f232c;
  font-weight: 700;
}

.contact-form-wrap > p {
  margin-top: 14px;
  color: #4f586a;
  font-size: 0.74rem;
  line-height: 1.7;
  max-width: 560px;
}

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

.contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #dcdde1;
  background: #f5f5f6;
  color: #2d3340;
  font-family: "Montserrat", sans-serif;
  font-size: 0.7rem;
  padding: 0 12px;
  outline: none;
}

.contact-form input {
  height: 42px;
  margin-bottom: 10px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
  padding-top: 12px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #80889a;
  letter-spacing: 0.02em;
}

.contact-form button {
  margin-top: 12px;
  width: 168px;
  height: 42px;
  border: 0;
  background: #2cc8b2;
  color: #ffffff;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
}

.contact-form button:hover {
  background: #23b29f;
}

.contact-side-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.contact-details {
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid #dbdde3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-detail-item i {
  color: #73d8c8;
  font-size: 1.55rem;
  line-height: 1;
  margin-top: 2px;
}

.contact-detail-item p {
  color: #5c6577;
  font-size: 0.76rem;
  line-height: 1.7;
}

.contact-map {
  position: relative;
  margin-top: 26px;
  height: 130px;
  border: 1px solid #d6d9e0;
  overflow: hidden;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(100%) brightness(0.58) contrast(1.05);
}

.contact-map-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 25, 48, 0.22);
  pointer-events: none;
}

.site-footer {
  background: #1f2739;
  color: #b3bbca;
}

.partner-strip {
  background: #2cc8b2;
}

.partner-logos {
  min-height: 74px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: 12px;
}

.partner-logos span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.46rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.14rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.partner-logos span i {
  opacity: 0.9;
  font-size: 1rem;
}

.footer-main {
  background: #1f2739;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  padding: 44px 0 40px;
  display: grid;
  grid-template-columns: 1.45fr 0.9fr 1fr 1fr;
  gap: 32px;
}

.footer-col h3 {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  margin-bottom: 14px;
}

.footer-brand img {
  width: 170px;
  height: auto;
  border-radius: 0;
}

.footer-about p {
  color: #b4bccc;
  font-size: 0.73rem;
  line-height: 1.75;
}

.footer-query {
  margin-top: 13px;
  font-size: 0.72rem;
  font-weight: 700;
}

.footer-query a {
  color: #2cc8b2;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 9px;
}

.footer-links a {
  color: #b8c0cf;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.43rem;
}

.footer-links i {
  font-size: 0.58rem;
  color: #8a94a8;
}

.footer-post + .footer-post {
  margin-top: 16px;
}

.footer-post a {
  color: #e2e6ef;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.45;
  display: block;
}

.footer-post span {
  margin-top: 7px;
  display: block;
  color: #9ca6ba;
  font-size: 0.67rem;
}

.newsletter-text {
  color: #b4bccc;
  font-size: 0.72rem;
  line-height: 1.7;
  margin-bottom: 13px;
}

.newsletter-field {
  position: relative;
}

.newsletter-field input {
  width: 100%;
  height: 38px;
  border: 1px solid #3a4358;
  background: #293145;
  color: #e6ebf6;
  padding: 0 36px 0 12px;
  font-size: 0.72rem;
  outline: none;
}

.newsletter-field input::placeholder {
  color: #9ea8bc;
}

.newsletter-field i {
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ea8bc;
  font-size: 0.72rem;
}

.newsletter-form button {
  margin-top: 10px;
  width: 100%;
  height: 36px;
  border: 0;
  background: #2cc8b2;
  color: #ffffff;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.newsletter-form button:hover {
  background: #23b29f;
}

.footer-bottom {
  background: #1f2739;
}

.footer-bottom-inner {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-bottom p {
  color: #939db2;
  font-size: 0.69rem;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-social a {
  width: 16px;
  height: 16px;
  border: 1px solid #4b556e;
  border-radius: 2px;
  color: #a8b1c4;
  font-size: 0.54rem;
  display: grid;
  place-items: center;
}

.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;
}

@media (max-width: 1040px) {
  .topbar-right .info-box {
    display: none;
  }
}

@media (max-width: 900px) {
  .topbar-inner {
    min-height: 76px;
  }

  .menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #141f45;
    padding: 0.85rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.95rem;
    display: none;
    z-index: 1001;
    box-shadow: 0 12px 24px rgba(7, 13, 31, 0.22);
  }

  .menu.open {
    display: flex;
  }

  .navbar {
    position: relative;
    z-index: 1000;
  }

  .nav-toggle {
    display: inline-block;
    cursor: pointer;
    z-index: 1002;
  }

  .quote-btn {
    display: none;
  }

  .hero {
    min-height: 440px;
  }

  .features {
    grid-template-columns: 1fr 1fr;
  }

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

  .credit-check-cta {
    min-height: 200px;
  }

  .credit-check-content h2 {
    max-width: 620px;
    margin: 0 auto;
  }

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

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 28px;
  }

  .process-grid::after {
    display: none;
  }

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

  .about-intro {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-intro-image img {
    height: 340px;
  }

  .about-values {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 34px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-side-image img {
    height: 420px;
  }

  .contact-details {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 28px;
  }

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

  .partner-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 14px 0;
    min-height: 0;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    padding: 38px 0 34px;
  }
}

@media (max-width: 600px) {
  .brand img {
    width: 46px;
    height: 46px;
  }

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

  .hero h1 {
    font-size: 1.9rem;
  }

  .eyebrow {
    font-size: 0.94rem;
  }

  .slider-arrow {
    display: none;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .loan-categories {
    padding: 70px 0 75px;
  }

  .section-heading {
    margin-bottom: 26px;
  }

  .section-heading h2 {
    font-size: 2.1rem;
  }

  .section-heading p {
    font-size: 1rem;
    padding: 0 10px;
  }

  .loan-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .loan-card {
    min-height: 108px;
    grid-template-columns: 66px 1fr;
  }

  .loan-icon {
    font-size: 1.6rem;
  }

  .credit-check-cta {
    min-height: 190px;
  }

  .credit-check-content {
    padding: 22px 6px;
  }

  .credit-check-content p {
    font-size: 0.85rem;
    margin-bottom: 8px;
  }

  .credit-check-content h2 {
    font-size: 1.95rem;
    line-height: 1.24;
  }

  .credit-check-btn {
    margin-top: 14px;
    min-width: 130px;
    padding: 0.72rem 1rem;
    font-size: 0.62rem;
  }

  .why-choose {
    padding: 70px 0 74px;
  }

  .why-choose-heading {
    margin-bottom: 24px;
  }

  .why-choose-heading h2 {
    font-size: 2rem;
  }

  .why-choose-heading p {
    font-size: 0.75rem;
    padding: 0 8px;
  }

  .choose-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .choose-card img {
    height: 190px;
  }

  .choose-caption {
    min-height: 54px;
  }

  .choose-caption h3 {
    font-size: 1.22rem;
  }

  .loan-process {
    padding: 72px 0 78px;
  }

  .loan-process-heading {
    margin-bottom: 28px;
  }

  .loan-process-heading h2 {
    font-size: 2rem;
  }

  .loan-process-heading p {
    font-size: 0.75rem;
    padding: 0 8px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .process-step {
    padding-bottom: 0;
  }

  .process-step h3 {
    font-size: 1rem;
  }

  .process-step p {
    max-width: 280px;
  }

  .step-number {
    position: static;
    transform: none;
    margin: 14px auto 0;
  }

  .testimonials {
    padding: 72px 0 70px;
  }

  .testimonials-heading {
    margin-bottom: 24px;
  }

  .testimonials-heading h2 {
    font-size: 2rem;
  }

  .testimonials-heading p {
    font-size: 0.75rem;
    padding: 0 8px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .testimonial-card {
    grid-template-columns: 84px 1fr;
    gap: 10px;
  }

  .testimonial-card img {
    width: 84px;
    height: 84px;
  }

  .testimonial-content h3 {
    font-size: 1.05rem;
  }

  .testimonial-content .quote {
    font-size: 0.7rem;
  }

  .testimonial-dots {
    margin-top: 18px;
  }

  .about-hero {
    min-height: 145px;
  }

  .about-main {
    padding: 62px 0 68px;
  }

  .about-intro-image img {
    height: 235px;
  }

  .about-intro-text h2 {
    font-size: 2.05rem;
    margin-bottom: 10px;
  }

  .about-intro-text p {
    font-size: 0.72rem;
    line-height: 1.78;
  }

  .about-signature {
    font-size: 1.45rem;
  }

  .about-values {
    margin-top: 24px;
    gap: 14px;
  }

  .about-value-card {
    grid-template-columns: 94px 1fr;
    gap: 10px;
  }

  .about-value-card img {
    width: 94px;
    height: 76px;
  }

  .about-value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 6px;
  }

  .about-value-card p {
    font-size: 0.69rem;
    line-height: 1.6;
  }

  .services-hero {
    min-height: 145px;
  }

  .services-main {
    padding: 62px 0 68px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card img {
    height: 200px;
  }

  .service-card h2 {
    margin-top: 12px;
    font-size: 1rem;
  }

  .service-card p {
    margin-top: 8px;
    font-size: 0.71rem;
    line-height: 1.65;
  }

  .service-card a {
    margin-top: 10px;
    font-size: 0.7rem;
  }

  .gallery-hero {
    min-height: 145px;
  }

  .gallery-main {
    padding: 62px 0 68px;
  }

  .gallery-filters {
    justify-content: flex-start;
    gap: 8px;
  }

  .gallery-filter {
    margin-left: 0;
    height: 34px;
    padding: 0 12px;
  }

  .gallery-grid {
    margin-top: 18px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .gallery-item img {
    height: 205px;
  }

  .gallery-lightbox {
    padding: 12px 44px;
  }

  .lightbox-arrow {
    width: 36px;
    height: 36px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
  }

  .contact-hero {
    min-height: 145px;
  }

  .contact-main {
    padding: 62px 0 62px;
  }

  .contact-form-wrap h2 {
    font-size: 2.05rem;
  }

  .contact-form-wrap > p {
    margin-top: 10px;
    font-size: 0.72rem;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form button {
    width: 150px;
    height: 40px;
    font-size: 0.66rem;
  }

  .contact-side-image img {
    height: 300px;
  }

  .contact-details {
    margin-top: 22px;
    padding-top: 16px;
  }

  .contact-map {
    height: 118px;
    margin-top: 14px;
  }

  .contact-detail-item i {
    font-size: 1.35rem;
  }

  .contact-detail-item p {
    font-size: 0.71rem;
    line-height: 1.55;
  }

  .partner-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .partner-logos span {
    font-size: 0.95rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 34px 0 28px;
  }

  .footer-col h3 {
    margin-bottom: 11px;
  }

  .footer-bottom-inner {
    min-height: 62px;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding: 8px 0;
  }
}
