/* Sanatan landing — local loan-site rhythm, no Porto hero card */

html { scroll-behavior: smooth }

*,
*::before,
*::after { box-sizing: border-box }

body {
  margin: 0;
  font-family: var(--font);
  background: #fff;
  color: var(--text);
  font-size: 18px;
  line-height: 1.7;
}

.container {
  width: min(var(--wrap), calc(100% - 80px));
  margin: 0 auto;
}

.logo:visited { color: var(--text) }

.footer-bar .logo:visited { color: #fff }

.legal-page a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.legal-page a:visited { color: var(--purple-2) }
.legal-page a:hover { color: var(--orange) }

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}
.topbar.is-scrolled { border-bottom-color: var(--line) }

.site-header {
  padding: 22px 0;
}
.site-header .nav { margin-left: auto }

.nav-cta { margin-left: 12px }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: var(--bg-soft);
  border-radius: 12px;
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 0 auto;
  position: relative;
  border-radius: 2px;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle span::before { top: -6px }
.menu-toggle span::after { top: 6px }

.hero {
  padding: 88px 0 0;
  background:
    radial-gradient(circle at 88% 8%, rgba(101, 19, 238, 0.08), transparent 32%),
    radial-gradient(circle at 6% 90%, rgba(240, 95, 12, 0.08), transparent 28%),
    var(--bg-soft);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}

.hero-photo {
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: 50% 30%;
}

.hero-kicker {
  margin: 0 0 20px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.hero-title {
  margin: 0 0 24px;
  max-width: 16em;
  font-size: 52px;
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: var(--text);
}

.hero-lead {
  margin: 0 0 28px;
  max-width: 38em;
  font-size: 20px;
  line-height: 1.65;
  color: var(--text-muted);
}

.amount-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 28px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.amount-pill strong {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.btn--compact {
  min-height: 44px;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
}

.hero-note {
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 38em;
}

.stats {
  list-style: none;
  margin: 64px 0 0;
  padding: 28px 8px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  background: #fff;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -12px 40px rgba(23, 23, 23, 0.04);
}

.stats li {
  text-align: center;
  padding: 12px 16px;
  border-right: 1px solid var(--line);
}
.stats li:last-child { border-right: 0 }

.stats strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 4px;
}

.stats span {
  font-size: 14px;
  color: var(--text-muted);
}

.section { padding: 120px 0 }
.section--soft { background: var(--bg-soft) }
.section .accordion { margin-top: 40px }
.section--soft .accordion { background: #fff }

.h2 {
  margin: 0 0 20px;
}

.lead {
  font-size: 20px;
  line-height: 1.7;
  max-width: 36em;
}

.kicker {
  margin-bottom: 18px;
  font-size: 14px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.benefit-card {
  background: var(--bg-soft);
  border-radius: 24px;
  padding: 32px 28px;
  min-width: 0;
}

.benefit-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 600;
}

.benefit-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.65;
}

.ico {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: #fff;
}

.ico svg { width: 24px; height: 24px }

.ico--orange { background: var(--orange) }
.ico--purple { background: var(--purple) }
.ico--green { background: var(--green) }
.ico--blue { background: var(--blue) }

.steps {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}

.steps li {
  background: #fff;
  border-radius: 24px;
  padding: 32px 26px;
  min-width: 0;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 18px;
}

.steps strong { display: block; margin-bottom: 12px; font-size: 19px; font-weight: 600 }
.steps p { margin: 0; color: var(--text-muted); font-size: 16px; line-height: 1.65 }

.acc-item summary { padding: 28px 32px; font-size: 18px; font-weight: 600 }
.acc-item p { padding: 0 32px 28px; font-size: 16px; line-height: 1.75 }

.cta-band {
  background: var(--orange-soft);
  padding: 72px 0;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-band .h2 { margin: 0 0 10px }
.cta-band p {
  margin: 0;
  color: var(--text-muted);
  font-size: 18px;
  max-width: 34em;
}

.contact-page { padding: 72px 0 120px }
.contact-page h1 {
  font-size: 42px;
  letter-spacing: -0.04em;
  margin: 0 0 20px;
  line-height: 1.2;
  font-weight: 600;
}
.contact-page .lead { margin: 0 0 32px }

.contact-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: end;
}

.contact-photo img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  object-position: bottom center;
}

.section .contact-panel { margin-top: 28px }
.contact-split .contact-panel { max-width: none }

.contact-panel {
  max-width: 640px;
  background: #eef2f7;
  border-radius: 28px;
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-panel .contact-row {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 0;
}

.contact-ico {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
}
.contact-ico svg { width: 28px; height: 28px }
.contact-ico--mail { background: var(--orange) }
.contact-ico--pin { background: var(--blue) }
.contact-ico--time { background: var(--green) }

.contact-panel small {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
  margin-bottom: 4px;
}

.contact-panel p,
.contact-panel a {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}
.contact-panel a:hover,
.contact-panel a:visited:hover { color: var(--purple) }
.contact-panel a:visited { color: var(--text) }

.legal-page { padding: 72px 0 120px }
.legal-page h1 { font-size: 42px; letter-spacing: -0.04em; margin: 0 0 8px; line-height: 1.2; font-weight: 600 }
.legal-page .doc-brand { margin: 0 0 12px; font-size: 18px; font-weight: 600; color: var(--text) }
.legal-page .meta { color: var(--text-muted); margin-bottom: 40px; font-size: 16px }
.legal-page h2 { font-size: 24px; margin: 40px 0 14px; font-weight: 600; color: var(--text) }
.legal-page h3 { font-size: 19px; margin: 28px 0 10px; font-weight: 600; color: var(--text) }
.legal-page p, .legal-page li { color: var(--text-muted); font-size: 17px; line-height: 1.75 }
.legal-page strong { color: var(--text); font-weight: 600 }
.legal-page ul, .legal-page ol { padding-left: 1.25em }
.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 16px;
}
.legal-page th,
.legal-page td {
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  color: var(--text-muted);
}
.legal-page th { color: var(--text); font-weight: 600; width: 42% }
.legal-note {
  background: var(--bg-soft);
  border-radius: 16px;
  padding: 16px 20px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 16px 0 0;
}

.footer-wrap {
  background: var(--text);
  color: #fff;
  padding: 56px 0 40px;
}
.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 15px;
}
.footer-bar span { opacity: 0.9 }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap }
.footer-links a,
.footer-disclaimer a,
.footer-links a:visited,
.footer-disclaimer a:visited {
  color: #fff;
  text-decoration: none;
}
.footer-links a:hover,
.footer-disclaimer a:hover,
.footer-links a:visited:hover,
.footer-disclaimer a:visited:hover { color: var(--green) }
.footer-disclaimer a { text-decoration: underline; text-underline-offset: 2px }
.footer-disclaimer {
  max-width: 920px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.62);
}
.footer-disclaimer p { margin: 0 0 14px }
.footer-disclaimer p:last-child { margin: 0 }
.footer-copy {
  margin: 24px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 960px) {
  .container { width: min(var(--wrap), calc(100% - 40px)) }
  .nav-cta { display: none }
  .benefit-grid,
  .steps,
  .stats { grid-template-columns: 1fr 1fr }
  .stats li { border-right: 0; border-bottom: 1px solid var(--line) }
  .stats li:nth-last-child(-n+2) { border-bottom: 0 }
  .cta-band-inner { flex-direction: column; align-items: flex-start }
  .hero-grid,
  .contact-split { grid-template-columns: 1fr; gap: 28px }
  .hero-grid { align-items: start }
  .hero-photo img { height: 320px }
  .contact-photo img { max-height: 380px; margin: 0 auto }
  .contact-panel { padding: 32px 24px }
  .h1 { font-size: 34px }
  .h2 { font-size: 30px }
  .hero-title { font-size: 36px }
  .hero { padding: 56px 0 0 }
  .section { padding: 80px 0 }
  .legal-page { padding: 48px 0 80px }
  .legal-page h1,
  .contact-page h1 { font-size: 32px }
  .contact-page { padding: 48px 0 80px }
  .menu-toggle { display: grid; place-items: center; margin-left: auto }
  .site-header { position: relative }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex }
  .nav a { padding: 14px 12px }
}

@media (max-width: 640px) {
  .benefit-grid,
  .steps { grid-template-columns: 1fr }
  .stats { grid-template-columns: 1fr 1fr; padding: 16px 4px }
}
