/* =========================================================
   Saisho Pecuniaria Ishi — one-page site
   Theme: navy (#2B3990) + sky-blue (#8FCBE8), matching the logo
   ========================================================= */

:root {
  --navy: #2B3990;
  --navy-dark: #1F1F1F;
  --sky: #8FCBE8;
  --sky-light: #EAF4FB;
  --gray: #595959;
  --gray-light: #F7F9FC;
  --border: #E4EAF2;
  --white: #FFFFFF;
  --max-width: 1120px;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(43, 57, 144, 0.18);
  font-size: 16px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--navy-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.2; margin: 0; }
p { margin: 0 0 1em; }
ul, dl, dd { margin: 0; padding: 0; }

/* Offset anchored sections so the sticky header doesn't cover the heading */
section[id] { scroll-margin-top: 88px; }

.section-inner, .header-inner, .footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============== 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);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  flex-shrink: 0;
}
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  white-space: nowrap;
}
.brand-line1 {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy-dark);
  letter-spacing: 0.02em;
}
.brand-line2 {
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--sky);
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy-dark);
  position: relative;
  padding: 6px 0;
  transition: color 0.15s ease;
}
.nav-link:hover { color: var(--navy); }
.nav-link.nav-cta {
  background: var(--navy);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 999px;
  transition: background 0.15s ease, transform 0.15s ease;
}
.nav-link.nav-cta:hover { background: #22296e; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-dark);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============== HERO ============== */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, var(--sky-light), transparent 60%),
    linear-gradient(180deg, var(--white), var(--gray-light));
  padding: 96px 24px 88px;
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--sky-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.hero-tagline {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.35em;
}
.hero-tagline span:nth-child(1) { color: var(--navy-dark); }
.hero-tagline span:nth-child(2) { color: var(--navy); }
.hero-tagline span:nth-child(3) {
  background: linear-gradient(90deg, var(--navy), var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy-dark);
  max-width: 640px;
  margin-bottom: 16px;
}
.hero-body {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 620px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn-primary:hover { transform: translateY(-2px); background: #22296e; }
.btn-ghost {
  background: transparent;
  color: var(--navy-dark);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }

/* ============== SECTIONS (shared) ============== */
.section { padding: 88px 24px; }
.section-alt { background: var(--gray-light); }
.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  max-width: 640px;
  margin-bottom: 28px;
}

/* ============== ABOUT ============== */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}
.about-copy p { color: var(--gray); font-size: 1.02rem; }
.about-copy p strong { color: var(--navy-dark); }

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.info-card-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.info-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.info-row:last-child { border-bottom: none; padding-bottom: 0; }
.info-row dt {
  font-size: 0.78rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.info-row dd {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-dark);
}
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2E9E5B;
  margin-right: 6px;
}

/* ============== SERVICES ============== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--sky-light);
  color: var(--navy);
  margin-bottom: 18px;
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.95rem;
  color: var(--gray);
  margin-bottom: 0;
}

/* ============== WHY SAISHO ============== */
.why-section {
  background: linear-gradient(160deg, var(--navy) 0%, #1c2568 100%);
  color: var(--white);
}
.eyebrow-on-dark { color: var(--sky); }
.section-title.on-dark { color: var(--white); }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 12px;
}
.pillar {
  border-top: 2px solid rgba(255, 255, 255, 0.25);
  padding-top: 20px;
}
.pillar-index {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--sky);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}
.pillar h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.pillar p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0;
}

/* ============== CONTACT ============== */
.contact-lede {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 560px;
  margin-bottom: 40px;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--gray-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.contact-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: transparent;
  background: var(--white);
}
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(43, 57, 144, 0.12);
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-item strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray);
  margin-bottom: 4px;
  font-weight: 600;
}
.contact-item span > span {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--navy-dark);
}

/* ============== FOOTER ============== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.82);
  padding: 56px 24px 28px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  grid-column: 1 / -1;
}
.footer-logo { width: 42px; height: 42px; border-radius: 8px; }
.footer-name { color: var(--white); font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; }
.footer-tagline { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); margin-bottom: 0; }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
}
.footer-links a:hover { color: var(--sky); }

.footer-contact {
  font-size: 0.9rem;
  line-height: 1.6;
}
.footer-contact a:hover { color: var(--sky); }
.footer-contact p { margin-bottom: 8px; }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom p { margin: 0; }

/* ============== RESPONSIVE ============== */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .site-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 24px 24px;
    display: none;
    box-shadow: 0 12px 24px -12px rgba(0,0,0,0.12);
  }
  .site-nav.open { display: flex; }
  .nav-link { width: 100%; padding: 12px 0; }
  .nav-link.nav-cta { width: auto; margin-top: 8px; }
  .nav-toggle { display: flex; }

  .hero { padding: 64px 20px 56px; }
  .section { padding: 64px 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-inner { grid-template-columns: 1fr; }
}
