/* ============================================================
   SOLONG CONSULTANT — style.css
   © 2025 Solong Consultant. All rights reserved.
   ============================================================ */

/* ── RESET & VARIABLES ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --indigo:       #0a0618;
  --indigo-dark:  #05030d;
  --parchment:    #f4f1ea;
  --gold:         #c9a96e;
  --gold-light:   #d4b47a;
  --sage:         #8a9a8a;
  --charcoal:     #1a1a2e;
  --display:      'Playfair Display', Georgia, serif;
  --sans:         'Inter', system-ui, sans-serif;
  --ease-out:     cubic-bezier(.16, 1, .3, 1);
  --ease-in-out:  cubic-bezier(.4, 0, .2, 1);
}

html  { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body  { background: var(--indigo); font-family: var(--sans); overflow-x: hidden; color: var(--charcoal); }
img   { display: block; max-width: 100%; }
button { cursor: pointer; }
a { text-decoration: none; }
::selection { background: var(--gold); color: var(--indigo); }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--indigo-dark); }
::-webkit-scrollbar-thumb { background: rgba(201,169,110,.4); border-radius: 2px; }

/* ── NAVIGATION ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 72px;
  transition: background .4s var(--ease-in-out), border-color .4s;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
#nav.solid {
  background: rgba(8,4,20,.96);
  backdrop-filter: none;
  border-bottom-color: rgba(255,255,255,.06);
}
.nav-wrap {
  max-width: 1200px; margin: 0 auto; padding: 0 28px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: var(--display); font-size: 19px;
  color: #fff; letter-spacing: -.2px; font-weight: 500;
}
.logo img {
  height: 40px; width: auto;
}
.nav-center { display: flex; align-items: center; gap: 36px; }
.nav-center a {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,.6);
  transition: color .2s; cursor: pointer; position: relative;
}
.nav-center a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px; background: var(--gold); transition: width .3s var(--ease-out);
}
.nav-center a:hover { color: #fff; }
.nav-center a:hover::after { width: 100%; }

.lang-pill { display: flex; border: 1px solid rgba(255,255,255,.18); border-radius: 99px; overflow: hidden; }
.lang-pill button {
  padding: 5px 13px; font-size: 12px; font-weight: 600; letter-spacing: .5px;
  background: transparent; border: none; color: rgba(255,255,255,.4); transition: all .2s;
}
.lang-pill button.on { background: var(--gold); color: var(--indigo); }

.nav-right { display: flex; align-items: center; gap: 14px; }
.hbg {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 6px; cursor: pointer;
}
.hbg span {
  display: block; width: 22px; height: 1.5px; background: #fff;
  transition: all .3s var(--ease-out); transform-origin: center;
}
.hbg.x span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hbg.x span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hbg.x span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mob-menu {
  display: none; flex-direction: column;
  position: absolute; top: 72px; left: 0; right: 0;
  background: rgba(8,4,20,.98);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 28px; gap: 20px;
}
.mob-menu.show { display: flex; }
.mob-menu a {
  font-size: 17px; font-weight: 500; color: rgba(255,255,255,.75);
  cursor: pointer; transition: color .2s;
}
.mob-menu a:hover { color: #fff; }

/* ── HERO ── */
#hero {
  position: relative; min-height: 100dvh;
  display: flex; align-items: center; overflow: hidden;
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-inner {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  padding: 100px 28px 80px; width: 100%;
}
.hero-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: rgba(255,255,255,.45);
  margin-bottom: 24px; opacity: 0; transform: translateY(16px);
}
.hero-h1 {
  font-family: var(--display);
  font-size: clamp(64px, 12vw, 128px);
  line-height: .88; letter-spacing: -4px;
  color: #fff; margin-bottom: 36px;
  opacity: 0; transform: translateY(40px);
}
.hero-h1 em { font-style: italic; color: var(--gold); }
.hero-sub {
  font-size: clamp(15px, 1.6vw, 19px); line-height: 1.8;
  color: rgba(255,255,255,.58); max-width: 480px;
  margin-bottom: 44px; opacity: 0; transform: translateY(24px);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; opacity: 0; transform: translateY(16px); }

.hero-scroll {
  position: absolute; bottom: 32px; left: 28px;
  display: flex; align-items: center; gap: 12px; opacity: 0;
}
.scroll-track {
  width: 36px; height: 1px;
  background: rgba(255,255,255,.25); position: relative; overflow: hidden;
}
.scroll-pip {
  position: absolute; left: 0; top: -1.5px;
  width: 10px; height: 3px; border-radius: 2px;
  background: var(--gold); animation: scrollPip 2.4s ease-in-out infinite;
}
.hero-scroll span {
  font-size: 11px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.35);
}
@keyframes scrollPip {
  0%   { left: -10px; opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 30px; border-radius: 99px;
  font-size: 14px; font-weight: 500; border: none;
  transition: all .28s var(--ease-out); letter-spacing: .2px; cursor: pointer;
}
.btn-gold { background: var(--gold); color: var(--indigo); }
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,169,110,.3);
}
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.28); }
.btn-outline:hover {
  border-color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.07);
  transform: translateY(-1px);
}

/* ── LAYOUT ── */
.wrap  { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.sec   { padding: 96px 0; }
.sec-dark  { background: var(--indigo); }
.sec-light { background: var(--parchment); }

.lbl      { font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; }
.lbl-gold { color: var(--gold); }
.lbl-sage { color: var(--sage); }

.h2-dark {
  font-family: var(--display);
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.08; letter-spacing: -2px; color: var(--charcoal);
}
.h2-light {
  font-family: var(--display);
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.08; letter-spacing: -2px; color: #fff;
}
.sub-dark  { font-size: clamp(14px,1.4vw,17px); line-height: 1.8; color: rgba(26,26,46,.55); }
.sub-light { font-size: clamp(14px,1.4vw,17px); line-height: 1.8; color: rgba(255,255,255,.5); }
.sec-hd    { margin-bottom: 56px; }

/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about-body { font-size: clamp(14px,1.3vw,16px); line-height: 1.85; color: rgba(26,26,46,.65); margin-bottom: 18px; }
.about-hr   { border: none; border-top: 1px solid rgba(26,26,46,.1); margin: 30px 0; }
.about-name { font-family: var(--display); font-size: 22px; color: var(--charcoal); margin-bottom: 4px; }
.about-role { font-size: 11px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--sage); }

.portrait-wrap {
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(10,6,24,.16);
  border: 1px solid rgba(26,26,46,.08);
  background: linear-gradient(160deg, #e8e4f0 0%, #d4cfe0 100%);
  aspect-ratio: 4/5;
  display: flex; align-items: center; justify-content: center;
}
.portrait-wrap img {
  width: 100%; height: 100%; object-fit: cover;
}
.portrait-icon { opacity: .25; }

.stats {
  display: grid; grid-template-columns: 1fr 1fr;
  margin-top: 36px;
  border-top: 1px solid rgba(26,26,46,.1);
  border-left: 1px solid rgba(26,26,46,.1);
}
.stat { padding: 24px 28px; border-right: 1px solid rgba(26,26,46,.1); border-bottom: 1px solid rgba(26,26,46,.1); }
.stat-n { font-family: var(--display); font-size: 48px; letter-spacing: -2px; color: var(--charcoal); line-height: 1; }
.stat-l { font-size: 12px; font-weight: 500; color: rgba(26,26,46,.45); margin-top: 6px; text-transform: uppercase; letter-spacing: 1px; }

/* ── SERVICES ── */
.svc-list { border-top: 1px solid rgba(255,255,255,.1); }
.svc-item { border-bottom: 1px solid rgba(255,255,255,.1); overflow: hidden; }
.svc-head {
  display: flex; align-items: center; gap: 24px;
  padding: 28px 0; cursor: pointer; user-select: none;
}
.svc-num   { font-family: var(--display); font-size: 13px; color: rgba(255,255,255,.2); min-width: 32px; font-style: italic; }
.svc-title { font-family: var(--display); font-size: clamp(22px,2.8vw,32px); color: #fff; letter-spacing: -.5px; flex: 1; }
.svc-plus  {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative;
  transition: all .35s var(--ease-out);
}
.svc-plus::before, .svc-plus::after {
  content: ''; position: absolute; background: #fff;
  transition: transform .35s var(--ease-out), opacity .35s;
}
.svc-plus::before { width: 12px; height: 1px; }
.svc-plus::after  { width: 1px; height: 12px; }
.svc-item.open .svc-plus { background: var(--gold); border-color: var(--gold); transform: rotate(45deg); }
.svc-item.open .svc-plus::before,
.svc-item.open .svc-plus::after { background: var(--indigo); }

.svc-body { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease-out); }
.svc-body-inner {
  padding: 0 0 28px 56px;
  font-size: clamp(13px,1.3vw,16px); line-height: 1.8;
  color: rgba(255,255,255,.5); max-width: 600px;
}
.svc-item.open .svc-body { max-height: 200px; }

/* ── WHY US ── */
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.why-card {
  background: #fff; border-radius: 20px;
  padding: clamp(28px,3.2vw,48px);
  box-shadow: 0 2px 20px rgba(10,6,24,.06);
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.why-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(10,6,24,.12); }
.why-icon  { width: 44px; height: 44px; color: var(--gold); }
.why-title { font-family: var(--display); font-size: clamp(20px,2.2vw,27px); color: var(--charcoal); margin-top: 22px; letter-spacing: -.4px; line-height: 1.2; }
.why-desc  { font-size: clamp(13px,1.2vw,15px); line-height: 1.8; color: rgba(26,26,46,.5); margin-top: 10px; }

/* ── ARTICLES ── */
.art-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.art-card {
  background: #fff; border-radius: 20px; overflow: hidden; cursor: pointer;
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.art-card:hover { transform: translateY(-5px); box-shadow: 0 20px 56px rgba(10,6,24,.13); }
.art-top {
  height: 200px; display: flex; align-items: center;
  justify-content: center; overflow: hidden; position: relative;
}
.art-top-1 { background: linear-gradient(135deg, #1a1a2e 0%, #2d2060 50%, #1a3040 100%); }
.art-top-2 { background: linear-gradient(135deg, #0a0618 0%, #1a2e1a 50%, #2d2020 100%); }
.art-top-icon   { color: rgba(255,255,255,.12); position: absolute; }
.art-tag-badge  {
  position: absolute; top: 16px; left: 16px;
  font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  background: rgba(201,169,110,.2); color: var(--gold);
  padding: 4px 10px; border-radius: 99px; border: 1px solid rgba(201,169,110,.3);
}
.art-inner { padding: 28px 32px 32px; }
.art-title { font-family: var(--display); font-size: clamp(18px,2vw,24px); line-height: 1.28; letter-spacing: -.4px; color: var(--charcoal); margin-bottom: 10px; }
.art-exc   { font-size: 14px; line-height: 1.75; color: rgba(26,26,46,.5); margin-bottom: 20px; }
.art-cta   { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--gold); letter-spacing: .3px; transition: gap .25s; }
.art-card:hover .art-cta { gap: 11px; }

/* ── CONTACT ── */
#contact    { text-align: center; }
#contact h2 { font-family: var(--display); font-size: clamp(32px,5vw,60px); letter-spacing: -2px; color: #fff; line-height: 1.08; margin-bottom: 16px; }
#contact .sub { font-size: clamp(15px,1.5vw,18px); line-height: 1.8; color: rgba(255,255,255,.5); max-width: 520px; margin: 0 auto 36px; }
.contact-btns  { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.contact-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 36px; margin-top: 36px; }
.c-link        { display: flex; align-items: center; gap: 9px; font-size: 14px; color: rgba(255,255,255,.4); transition: color .2s; }
.c-link:hover  { color: rgba(255,255,255,.8); }
.c-link svg    { width: 16px; height: 16px; flex-shrink: 0; }

/* ── FOOTER ── */
footer         { background: var(--indigo-dark); padding: 72px 0 36px; }
.footer-grid   { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.f-logo        { font-family: var(--display); font-size: 20px; color: #fff; margin-bottom: 10px; font-weight: 500; }
.f-logo img    { height: 36px; width: auto; margin-bottom: 10px; }
.f-tag         { font-size: 13px; color: rgba(255,255,255,.3); line-height: 1.7; margin-bottom: 16px; }
.f-addr        { font-size: 13px; color: rgba(255,255,255,.28); line-height: 1.7; }
.f-col h4      { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 18px; }
.f-col ul      { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.f-col a, .f-col span { font-size: 14px; color: rgba(255,255,255,.48); cursor: pointer; transition: color .2s; }
.f-col a:hover { color: #fff; }
.f-col .c-item { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.6; }
.f-col .c-item svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; }

.f-bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.f-copy   { font-size: 12px; color: rgba(255,255,255,.22); }
.f-lang   { display: flex; gap: 10px; align-items: center; }
.f-lang button { font-size: 12px; color: rgba(255,255,255,.25); background: none; border: none; transition: color .2s; cursor: pointer; }
.f-lang button:hover, .f-lang button.on { color: rgba(255,255,255,.65); }
.f-lang .sep { font-size: 12px; color: rgba(255,255,255,.15); }

/* ── ARTICLE MODAL ── */
.overlay {
  position: fixed; inset: 0; background: rgba(6,3,16,.92);
  z-index: 300; display: flex; align-items: flex-start;
  justify-content: center; overflow-y: auto;
  padding: 32px 16px 64px;
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
.overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--parchment); border-radius: 22px;
  max-width: 760px; width: 100%;
  padding: clamp(28px,5vw,60px); position: relative;
  transform: translateY(28px); transition: transform .4s var(--ease-out); margin: auto;
}
.overlay.open .modal { transform: translateY(0); }
.modal-x {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px; background: rgba(26,26,46,.09);
  border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--charcoal); font-size: 17px; transition: background .2s; cursor: pointer;
}
.modal-x:hover { background: rgba(26,26,46,.16); }
.modal-lbl   { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.modal-title { font-family: var(--display); font-size: clamp(24px,4vw,38px); color: var(--charcoal); letter-spacing: -1px; line-height: 1.18; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid rgba(26,26,46,.1); }
.modal-body  { font-size: 15px; line-height: 1.9; color: rgba(26,26,46,.7); }
.modal-body h2     { font-family: var(--display); font-size: clamp(20px,2.5vw,26px); color: var(--charcoal); margin: 40px 0 14px; letter-spacing: -.5px; line-height: 1.25; }
.modal-body p      { margin-bottom: 18px; }
.modal-body ul, .modal-body ol { margin: 0 0 18px 22px; }
.modal-body li     { margin-bottom: 10px; }
.modal-body strong { font-weight: 600; color: var(--charcoal); }
.modal-body hr     { border: none; border-top: 1px solid rgba(26,26,46,.12); margin: 32px 0; }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }
.reveal.d4 { transition-delay: .4s; }

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 90;
  width: 54px; height: 54px; background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform .25s var(--ease-out), box-shadow .25s;
  animation: waPop .6s 2s var(--ease-out) both;
}
.wa-float:hover { transform: scale(1.12); box-shadow: 0 8px 30px rgba(37,211,102,.5); }
@keyframes waPop { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: scale(1); } }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .about-grid, .why-grid, .art-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-center  { display: none; }
  .hbg         { display: flex; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-h1     { letter-spacing: -2.5px; }
  .sec         { padding: 68px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .btn, .why-card, .art-card { transition: none; }
  @keyframes scrollPip { to { left: 100%; } }
}
