:root {
  --bg: #fff5ec;
  --surface: #ffffff;
  --surface-2: #fff2d8;
  --text: #2e1a3b;
  --muted: #5c536f;
  --primary: #ff6b35;
  --primary-2: #7b2cbf;
  --accent: #1f9d8e;
  --success: #2a9d6f;
  --border: #eedcf5;
  --shadow: 0 12px 34px rgba(67, 35, 87, 0.12);
  --radius: 16px;
  --radius-sm: 12px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

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

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: 72px 0;
}

.section:nth-of-type(odd) {
  background: #fff3e8;
}

.section:nth-of-type(even) {
  background: #eefaf6;
}

.section-title {
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
  line-height: 1.2;
  margin: 0 0 10px;
}

.section-intro {
  margin: 0;
  color: var(--muted);
  max-width: 760px;
}

.grid {
  display: grid;
  gap: 20px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(123, 44, 191, 0.12);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.2px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--primary-2);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu a {
  padding: 10px 14px;
  border-radius: 9px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #4f2f57;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: var(--surface-2);
  color: var(--primary-2);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(123, 44, 191, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 14px 30px rgba(255, 107, 53, 0.35);
}

.btn-soft {
  background: var(--surface-2);
  color: var(--primary-2);
  border: 1px solid #f2d3ff;
}

.btn-line {
  border: 1px solid #f3c7d9;
  background: #fff;
  color: var(--primary-2);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  place-items: center;
  cursor: pointer;
}

.hero {
  padding: 82px 0 48px;
}

.hero-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1.1;
}

.hero p {
  color: var(--muted);
  margin: 18px 0 0;
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  max-width: 700px;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-card {
  background: linear-gradient(160deg, #f07aad, #e64e8f, #cf3f7f);
  color: #fff;
  padding: 26px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  animation: heroCardFloat 4.8s ease-in-out infinite;
}

.hero-card .stat-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.stat {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 12px;
  transform: translateY(10px);
  opacity: 0;
  animation: heroStatIn 0.55s ease-out forwards;
}

.hero-card .stat:nth-child(1) {
  animation-delay: 0.08s;
}

.hero-card .stat:nth-child(2) {
  animation-delay: 0.18s;
}

.hero-card .stat:nth-child(3) {
  animation-delay: 0.28s;
}

.hero-card .stat:nth-child(4) {
  animation-delay: 0.38s;
}

.stat strong {
  display: block;
  font-size: 1.15rem;
}

.stat-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 16px;
}

.stat-fast-clock .stat-icon {
  animation: statClockFast 0.7s steps(8) infinite;
  transform-origin: 50% 58%;
}

.stat-paper .stat-icon {
  animation: statPaperWobble 1.2s ease-in-out infinite;
}

.stat-used-car .stat-icon {
  animation: statCarMove 1.3s ease-in-out infinite;
}

.stat-commercial .stat-icon {
  animation: statTruckBounce 1.4s ease-in-out infinite;
}

@keyframes heroStatIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroCardFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes statClockFast {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes statPaperWobble {
  0%,
  100% {
    transform: rotate(0deg) translateY(0);
  }
  50% {
    transform: rotate(-8deg) translateY(-1px);
  }
}

@keyframes statCarMove {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(3px);
  }
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.icon-card {
  padding: 24px;
  background: #fff6ec;
}

.grid .icon-card:nth-child(2n) {
  background: #f3edff;
}

.grid .icon-card:nth-child(3n) {
  background: #e9fbf6;
}

.icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  margin-bottom: 14px;
}

.grid .icon-card:nth-child(2n) .icon {
  background: #7b2cbf;
}

.grid .icon-card:nth-child(3n) .icon {
  background: #1f9d8e;
}

.icon-card h3,
.simple-card h3,
.partner-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.icon-card p,
.simple-card p,
.partner-card p {
  margin: 0;
  color: var(--muted);
}

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

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

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

.steps {
  counter-reset: step;
}

.step {
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
  position: relative;
}

.steps .step:nth-child(1) {
  background: #ffeede;
}

.steps .step:nth-child(2) {
  background: #efe8ff;
}

.steps .step:nth-child(3) {
  background: #e5f9f4;
}

.steps .step:nth-child(4) {
  background: #fff6d8;
}

.step::before {
  content: attr(data-icon);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: #fff;
  background: var(--primary);
  position: absolute;
  top: -14px;
  left: 16px;
}

.steps .step:nth-child(2)::before {
  background: #7b2cbf;
}

.steps .step:nth-child(3)::before {
  background: #1f9d8e;
}

.steps .step:nth-child(4)::before {
  background: #f4a261;
}

.step h3 {
  margin: 20px 0 8px;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.simple-card {
  padding: 22px;
}

.partner-card {
  padding: 18px;
  text-align: center;
  background: #fff4ea;
}

.grid .partner-card:nth-child(2n) {
  background: #f2edff;
}

.grid .partner-card:nth-child(3n) {
  background: #e8f9f4;
}

.partner-logo {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  background: #ffe0f2;
  color: var(--primary-2);
  border: 1px solid #f5d3dd;
  font-weight: 800;
  font-size: 0.9rem;
}

.partner-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.partner-list li {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9rem;
  background: #fff;
}

.partner-highlights-card {
  background: #1984e2;
  border-color: #1984e2;
  color: #fff;
}

.partner-highlights-card h3,
.partner-highlights-card p,
.partner-highlights-card li {
  color: #fff;
}

.partner-highlights-card .partner-list li {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.14);
}

.partner-brand-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.partner-brand-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.partner-brand-item span {
  font-weight: 600;
}

.partner-brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #eee;
  flex: 0 0 34px;
}

.banner {
  background: #1f9d8e;
  color: #fff;
  padding: 34px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.banner h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.banner p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.84);
}

.banner .btn-soft {
  background: #fff;
  color: var(--primary-2);
}

.faq {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fffaf2;
}

.faq + .faq {
  margin-top: 10px;
}

.faq button {
  width: 100%;
  border: 0;
  background: #fff;
  text-align: left;
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
}

.faq p {
  margin: 0;
  padding: 0 16px 14px;
  color: var(--muted);
  display: none;
}

.faq.open p {
  display: block;
}

.highlight {
  border-left: 4px solid var(--accent);
  padding: 18px 20px;
  background: #fff;
  border-radius: 12px;
  color: var(--muted);
}

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

.contact-panel,
.form-panel {
  padding: 24px;
}

.contact-panel {
  background: #fff0e3;
}

.form-panel {
  background: #efe8ff;
}

.contact-item {
  margin: 12px 0;
}

.contact-item strong {
  display: block;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 12px;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 0.92rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #c9d9f6;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.96rem;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 10px;
}

.footer {
  margin-top: 72px;
  border-top: 1px solid #0f9ddb;
  background: #0f9ddb;
}

.footer-wrap {
  padding: 54px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 22px;
}

.footer h4 {
  margin: 0 0 12px;
  color: #fff;
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer li {
  margin: 8px 0;
  color: #e8f7ff;
}

.footer p {
  margin: 0;
  color: #e8f7ff;
}

.footer a {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  margin-top: 22px;
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: #e8f7ff;
  font-size: 0.9rem;
}

.whatsapp-float,
.phone-float,
.scroll-top {
  position: fixed;
  right: 18px;
  z-index: 900;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 10px 24px rgba(95, 31, 96, 0.25);
}

.whatsapp-float {
  bottom: 20px;
  background: #12b76a;
}

.phone-float {
  bottom: 80px;
  background: #0f9ddb;
}

.scroll-top {
  bottom: 140px;
  border: 0;
  cursor: pointer;
  background: var(--primary-2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.page-hero {
  padding: 64px 0 20px;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
}

.page-hero p {
  max-width: 780px;
  color: var(--muted);
  margin: 14px 0 0;
}

.content-block {
  padding: 22px;
}

.content-block h2 {
  margin-top: 0;
}

@media (prefers-reduced-motion: reduce) {
  .hero-card,
  .hero-card .stat {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .stat-icon {
    animation: none !important;
    transform: none !important;
  }
}

.loan-used-card {
  background: #e64e8f;
  border-color: #e64e8f;
  color: #fff;
}

.loan-commercial-card {
  background: #ff8b00;
  border-color: #ff8b00;
  color: #fff;
}

.loan-used-card p,
.loan-commercial-card p,
.loan-used-card li,
.loan-commercial-card li,
.loan-used-card h2,
.loan-commercial-card h2,
.loan-used-card h3,
.loan-commercial-card h3 {
  color: #fff;
}

.loan-used-card .btn.btn-line,
.loan-commercial-card .btn.btn-line {
  background: #fff;
  border-color: #fff;
  color: #2e1a3b;
}

@media (max-width: 1040px) {
  .hero-wrap,
  .columns-4 {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 880px) {
  .menu-toggle {
    display: grid;
  }

  .nav-menu,
  .nav-actions {
    display: none;
  }

  .topbar.open .nav-menu,
  .topbar.open .nav-actions {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 10px 0 14px;
  }

  .nav-wrap {
    flex-wrap: wrap;
  }

  .hero-wrap,
  .columns-3,
  .columns-2,
  .columns-4,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .banner {
    padding: 24px;
  }
}
