/* ==========================================================================
   Seiton — Finance & Insurance
   Shared stylesheet
   ========================================================================== */

:root {
  --blue: #1b17ff;
  --blue-dark: #130fd1;
  --black: #0a0a0a;
  --grey: #737373;
  --grey-light: #f3f4f7;
  --grey-lighter: #f9f9fb;
  --border: #e7e8ee;
  --white: #ffffff;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow: 0 20px 45px -25px rgba(10, 10, 20, 0.25);
  --max-width: 1180px;
  --font-head: "Manrope", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
h3 { font-size: 1.25rem; }

p {
  margin: 0 0 16px;
  color: #2c2c2c;
}

.lede {
  font-size: 1.15rem;
  color: var(--grey);
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  display: inline-block;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn-block { width: 100%; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.nav-logo img {
  height: 34px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--black);
  padding: 6px 2px;
  position: relative;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--blue);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 3px;
  border-radius: 3px;
  background: var(--blue);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 96px;
  background: var(--grey-lighter);
}

.hero::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(27, 23, 255, 0.14), rgba(27, 23, 255, 0));
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -220px;
  left: -160px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 40%, rgba(27, 23, 255, 0.08), rgba(27, 23, 255, 0));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-mark {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}

.hero-mark img {
  width: 100%;
  height: auto;
}

.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--black);
}

.trust-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex: none;
}

/* ---------- Sections ---------- */

section {
  padding: 88px 0;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-head.left {
  margin: 0 0 48px;
  text-align: left;
}

.bg-light { background: var(--grey-lighter); }
.bg-black { background: var(--black); color: var(--white); }
.bg-blue { background: var(--blue); color: var(--white); }

/* ---------- Divisions (home) ---------- */

.divisions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.division-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px;
  background: var(--white);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.division-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.division-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--blue);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.division-icon svg { width: 26px; height: 26px; }

.division-card ul {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.division-card li {
  padding: 9px 0;
  border-top: 1px solid var(--border);
  color: #2c2c2c;
  font-size: 0.97rem;
}

.division-card li:first-child { border-top: none; }

.division-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Feature / value cards ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 30px 26px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border);
}

.feature-card .num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--blue);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  display: block;
}

.feature-card h3 { margin-bottom: 10px; }
.feature-card p { margin: 0; color: var(--grey); font-size: 0.96rem; }

/* ---------- Process steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 34px 28px 28px;
  border-radius: var(--radius-md);
  background: var(--grey-lighter);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  background: var(--blue);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

/* ---------- Service grid (finance / insurance pages) ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  background: var(--white);
}

.service-card .tag {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(27, 23, 255, 0.08);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.service-card p { color: var(--grey); margin: 0; }

/* ---------- CTA banner ---------- */

.cta-banner {
  border-radius: var(--radius-lg);
  padding: 64px;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-banner h2 { margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,0.7); margin: 0; }
.cta-banner .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Two-column content blocks ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split img, .split .media {
  border-radius: var(--radius-md);
}

.media-block {
  border-radius: var(--radius-md);
  background: var(--grey-lighter);
  border: 1px solid var(--border);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-block img { max-width: 220px; }

.values-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.values-list li {
  padding: 16px 0;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 14px;
}

.values-list li:first-child { border-top: none; padding-top: 0; }

.values-list .mark {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue);
  margin-top: 3px;
}

/* ---------- Contact page ---------- */

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

.contact-info-card {
  border-radius: var(--radius-md);
  background: var(--black);
  color: var(--white);
  padding: 40px;
}

.contact-info-card h3 { color: var(--white); }

.contact-detail {
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.14);
}

.contact-detail:first-of-type { border-top: none; }

.contact-detail .label {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 6px;
}

.contact-detail .value {
  font-size: 1.05rem;
  color: var(--white);
}

.placeholder {
  color: rgba(255,255,255,0.55);
  font-style: italic;
}

.contact-form {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px;
  background: var(--white);
}

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

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.97rem;
  background: var(--grey-lighter);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}

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

.form-note {
  font-size: 0.82rem;
  color: var(--grey);
  margin-top: 14px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.72);
  padding: 72px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-brand .brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand .brand-mark img { height: 26px; width: auto; }

.footer-brand .brand-mark span {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
}

.footer-brand p {
  color: rgba(255,255,255,0.55);
  max-width: 300px;
  font-size: 0.94rem;
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
}

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

.footer-col li { margin-bottom: 12px; }

.footer-col a {
  color: rgba(255,255,255,0.82);
  font-size: 0.95rem;
}

.footer-col a:hover { color: var(--blue); }

.footer-col p {
  color: rgba(255,255,255,0.82);
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.45);
}

.footer-bottom .licence {
  font-style: italic;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-mark { max-width: 220px; margin: 0 auto; }
  .divisions-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cta-banner { padding: 44px 32px; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta.open ~ .nav-links,
  .nav.open .nav-links {
    display: flex;
  }
  .nav.open .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
  }
  .feature-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
}
