/* ===== painaimana landing — shared styles ===== */
:root {
  --ink:    #102A43;
  --ink2:   #0A1E33;
  --teal:   #2D72B8;
  --teal-d: #1E4E84;
  --gold:   #2BA4E0;
  --gold-d: #1668A4;
  --bg:     #EDF3FB;
  --card:   #FFFFFF;
  --text:   #1B2A3A;
  --muted:  #5B6B7E;
  --line:   #D3E0EE;
  --ink-soft: #C2D5E8;
  --radius: 16px;
  --shadow: 0 18px 40px -22px rgba(16,42,67,.45);
  --shadow-sm: 0 8px 24px -14px rgba(16,42,67,.4);
  --container: 1140px;
  --ease: cubic-bezier(.45,0,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Prompt', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

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

/* ---------- typography helpers ---------- */
.eyebrow {
  display: inline-block;
  font-size: .82rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold-d); margin-bottom: 14px;
}
.eyebrow--light { color: var(--gold); }
h1, h2, h3 { font-weight: 700; line-height: 1.18; color: var(--ink); letter-spacing: -.01em; }
.section h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 16px; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s;
  white-space: nowrap;
}
.btn--primary { background: var(--gold); color: #fff; box-shadow: 0 14px 30px -14px rgba(43,164,224,.7); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -14px rgba(43,164,224,.85); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; transform: translateY(-3px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink2); transform: translateY(-3px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(237,243,251,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -20px rgba(16,42,67,.5); }
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--ink); font-size: 1.18rem; }
.brand img { width: 34px; height: 34px; }
.brand small { display: block; font-size: .66rem; font-weight: 500; letter-spacing: .12em; color: var(--teal); text-transform: uppercase; line-height: 1; margin-top: 2px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav-links > a:not(.btn) { font-size: .96rem; font-weight: 500; color: var(--text); position: relative; padding: 4px 0; }
.nav-links > a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav-links > a:not(.btn):hover::after { width: 100%; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; font-size: .82rem; font-weight: 600; }
.lang span, .lang a { padding: 5px 12px; color: var(--muted); }
.lang .active { background: var(--ink); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; margin-left: auto; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-toggle span + span { margin-top: 5px; }

/* ---------- hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(100deg, rgba(10,30,51,.93) 30%, rgba(16,42,67,.78) 70%, rgba(16,42,67,.62)),
              url('img/hero.jpg') center 30% / cover no-repeat;
  background-color: var(--ink);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 12% 18%, rgba(45,114,184,.35), transparent 60%);
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-top: 84px; padding-bottom: 90px; }
.hero-copy, .hero-visual { min-width: 0; }
.hero h1, .hero .brandline, .hero .tagline { overflow-wrap: break-word; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: #fff; font-size: clamp(2.8rem, 6.5vw, 4.6rem); font-weight: 800; margin-bottom: 6px; }
.hero .brandline { font-size: clamp(1.2rem, 2.6vw, 1.7rem); color: var(--teal); font-weight: 500; letter-spacing: .03em; }
.hero .tagline { font-size: 1.25rem; font-style: italic; color: var(--ink-soft); margin: 22px 0 14px; font-weight: 300; }
.hero p.sub { color: #B4C8DE; font-size: 1.05rem; max-width: 46ch; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { display: flex; justify-content: center; }
.hero-visual img { width: min(100%, 420px); filter: drop-shadow(0 30px 50px rgba(0,0,0,.35)); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; }
.stat b { display: block; font-size: 2.4rem; font-weight: 700; color: var(--teal); line-height: 1; }
.stat span { font-size: .92rem; color: var(--muted); }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; }
.profile-card {
  background: var(--ink); color: #fff; border-radius: 20px; padding: 36px 28px; text-align: center;
  box-shadow: var(--shadow); position: sticky; top: 100px;
}
.profile-card .monogram {
  width: 130px; height: 130px; border-radius: 50%; overflow: hidden;
  margin: 0 auto 20px; border: 3px solid var(--gold);
  box-shadow: 0 10px 26px -12px rgba(0,0,0,.6);
}
.profile-card .monogram img { width: 100%; height: 100%; object-fit: cover; }
.profile-card h3 { color: #fff; font-size: 1.5rem; }
.profile-card .role { color: var(--ink-soft); font-size: .95rem; margin-top: 6px; }
.fact-list { list-style: none; margin-top: 28px; display: grid; gap: 16px; }
.fact-list li { position: relative; padding-left: 30px; font-size: 1.02rem; }
.fact-list li::before {
  content: ''; position: absolute; left: 0; top: .55em; width: 12px; height: 12px;
  border-radius: 50%; background: var(--gold);
}

/* ---------- concept / wisdom ---------- */
.concept {
  position: relative; color: #fff;
  background: linear-gradient(rgba(10,30,51,.9), rgba(16,42,67,.92)),
              url('img/concept.jpg') center 25% / cover no-repeat;
  background-color: var(--ink);
}
.concept h2 { color: #fff; }
.concept .lead { color: var(--ink-soft); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.compare-card { background: rgba(10,30,51,.78); backdrop-filter: blur(2px); border: 1px solid var(--teal-d); border-radius: var(--radius); padding: 30px; }
.compare-card h3 { font-size: 1.2rem; margin-bottom: 18px; }
.compare-card.blind h3 { color: #F0A38F; }
.compare-card.wise h3 { color: #74C0F2; }
.compare-card ul { list-style: none; display: grid; gap: 14px; }
.compare-card li { position: relative; padding-left: 26px; color: #DCE7F4; font-size: 1rem; }
.compare-card li::before { content: '›'; position: absolute; left: 0; top: -1px; font-size: 1.2rem; line-height: 1.4; }
.compare-card.blind li::before { color: #F0A38F; }
.compare-card.wise li::before { color: #74C0F2; }
.concept-banner {
  margin-top: 30px; text-align: center; font-size: 1.3rem; font-weight: 600; font-style: italic;
  color: var(--gold); padding: 26px; border: 1px dashed rgba(43,164,224,.55); border-radius: var(--radius);
  background: rgba(10,30,51,.5);
}

/* ---------- pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.pillar { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.badge {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; font-size: 1.4rem; color: #fff; margin-bottom: 18px;
}
.badge.teal { background: var(--teal); }
.badge.gold { background: var(--gold); color: var(--ink2); }
.pillar h3 { font-size: 1.25rem; margin-bottom: 8px; }
.pillar p { color: var(--muted); }
.note-band {
  margin-top: 30px; text-align: center; background: #E1ECF9; color: var(--teal);
  font-weight: 600; padding: 20px; border-radius: var(--radius);
}

/* ---------- services ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 44px; }
.service-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: flex; gap: 20px; align-items: flex-start;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.service-card p { color: var(--muted); }
.service-foot {
  margin-top: 26px; background: var(--ink); color: var(--ink-soft); font-style: italic;
  text-align: center; padding: 20px; border-radius: var(--radius);
}

/* ---------- counseling detail ---------- */
.detail-list { display: grid; gap: 18px; margin-top: 40px; }
.detail-row {
  display: grid; grid-template-columns: 56px 1fr 1.4fr; gap: 22px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px;
}
.detail-row h3 { font-size: 1.15rem; }
.detail-row p { color: var(--muted); }
.detail-core { margin-top: 30px; text-align: center; font-style: italic; font-weight: 600; color: var(--teal); font-size: 1.2rem; }

/* ---------- who ---------- */
.who { background: #fff; }
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.who-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.who-card .head { background: var(--ink); color: var(--gold); font-weight: 700; font-size: 1.2rem; text-align: center; padding: 20px; }
.who-card ul { list-style: none; padding: 26px 26px 30px; display: grid; gap: 14px; }
.who-card li { position: relative; padding-left: 24px; color: var(--text); }
.who-card li::before { content: ''; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* ---------- invest ---------- */
.invest {
  position: relative; color: #fff;
  background: linear-gradient(rgba(10,30,51,.9), rgba(10,30,51,.93)),
              url('img/invest.jpg') center 30% / cover no-repeat;
  background-color: var(--ink2);
}
.invest h2 { color: #fff; }
.invest .lead { color: var(--gold); font-style: italic; font-weight: 400; }
.invest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.invest-card { background: rgba(16,42,67,.8); backdrop-filter: blur(2px); border: 1px solid var(--teal-d); border-radius: var(--radius); padding: 32px; }
.invest-card h3 { color: #fff; font-size: 1.2rem; margin: 16px 0 8px; }
.invest-card p { color: var(--ink-soft); }

/* ---------- contact ---------- */
.contact {
  color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(rgba(16,42,67,.91), rgba(10,30,51,.93)),
              url('img/contact.jpg') center / cover no-repeat;
  background-color: var(--ink);
}
.contact::after {
  content: ''; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px;
  border: 1px solid var(--teal-d); border-radius: 50%;
}
.contact::before {
  content: ''; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px;
  border: 1px solid var(--teal-d); border-radius: 50%;
}
.contact .inner { position: relative; max-width: 880px; }
.contact h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.contact .sub { color: var(--ink-soft); font-size: 1.15rem; margin: 16px 0 36px; max-width: 50ch; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 36px; }
.contact-item {
  display: flex; align-items: center; gap: 16px; background: var(--ink2);
  border: 1px solid var(--teal-d); border-radius: 14px; padding: 18px 22px; transition: border-color .25s, transform .25s;
}
.contact-item:hover { border-color: var(--gold); transform: translateY(-3px); }
.contact-item .ico { width: 44px; height: 44px; border-radius: 50%; background: rgba(43,164,224,.2); display: grid; place-items: center; flex: none; }
.contact-item .ico svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.8; }
.contact-item > span:last-child { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.contact-item .lbl { display: block; font-size: .74rem; color: #8DA6C2; letter-spacing: .06em; text-transform: uppercase; line-height: 1; }
.contact-item .val { display: block; font-weight: 500; color: #fff; word-break: break-word; line-height: 1.2; }
.contact-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink2); color: #8DA6C2; padding: 44px 0; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-row .brand { color: #fff; }
.footer-row .brand small { color: var(--teal); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--gold); }
.copyright { font-size: .85rem; margin-top: 24px; opacity: .8; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; padding-top: 56px; }
  .hero .eyebrow, .hero p.sub { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-visual img { width: min(72%, 300px); }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .profile-card { position: static; max-width: 360px; margin-inline: auto; }
  .pillars, .who-grid, .invest-grid { grid-template-columns: 1fr; }
  .compare, .cards-grid, .contact-grid { grid-template-columns: 1fr; }
  .detail-row { grid-template-columns: 48px 1fr; }
  .detail-row p { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
    position: absolute; left: 0; right: 0; top: 72px; background: var(--bg);
    padding: 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm);
  }
  .nav.open .nav-links .btn, .nav.open .lang { align-self: stretch; justify-content: center; }
  .stats { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .stat b { font-size: 2rem; }
  .btn { padding: 13px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
