/* ══════════════════════════════════════
   KAINAS — style.css
   ══════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --yellow:  #f5c518;
  --green:   #1a2e1a;   /* dark green from logo text */
  --purple:  #7c3fa8;
  --dark:    #0f0f0f;
  --dark2:   #1a1a1a;
  --white:   #f9f6ef;
  --gray:    #4a4a4a;
  --light:   #f2ede3;
  --radius:  2px;
  --nav-h:   72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
}

h1, h2, h3, h4, .logo-text { font-family: 'Syne', sans-serif; }
img { display: block; width: 100%; object-fit: cover; }
a   { text-decoration: none; color: inherit; }

/* ── UTILITIES ── */
.tag {
  font-family: 'Syne', sans-serif;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gray);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.4rem;
  font-family: 'Syne', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 2px solid currentColor;
  cursor: pointer;
  transition: background .22s, color .22s, border-color .22s;
  background: transparent;
}
.btn-light  { color: var(--white); border-color: var(--white); }
.btn-light:hover  { background: var(--white);  color: var(--dark); }
.btn-dark   { color: var(--dark);  border-color: var(--dark); }
.btn-dark:hover   { background: var(--dark);   color: var(--white); }
.btn-yellow { background: var(--yellow); color: var(--dark); border-color: var(--yellow); }
.btn-yellow:hover { background: transparent; color: var(--yellow); }
.arrow::after { content: '→'; margin-left: .3rem; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── CURSOR DOT ── */
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--yellow);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: exclusion;
  transition: transform .1s;
}

/* ════════════════════════════════
   NAV
   ════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  z-index: 100;
  transition: background .3s, backdrop-filter .3s;
}
nav.scrolled {
  background: rgba(15,15,15,.93);
  backdrop-filter: blur(14px);
}

/* Logo image in nav — constrained height */
.logo-img {
  height: 36px;
  width: auto;
  transition: filter .3s;
}
/* On transparent nav we keep it white */
nav:not(.scrolled) .logo-img { filter: brightness(0) invert(1); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: .78rem;
  font-weight: 500;
  color: rgba(249,246,239,.7);
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: color .2s;
}
.nav-links a:hover { color: var(--yellow); }

.nav-right { display: flex; align-items: center; gap: 1.2rem; }

.nav-icons { display: flex; gap: .7rem; }
.nav-icons a {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: .7rem;
  transition: border-color .2s, background .2s, color .2s;
}
.nav-icons a:hover { border-color: var(--yellow); background: var(--yellow); color: var(--dark); }

/* ════════════════════════════════
   HERO
   ════════════════════════════════ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../img/slide1.png') center/cover no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(15,15,15,.52) 0%, rgba(15,15,15,.78) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 2.5rem 5.5rem;
  max-width: 720px;
}
.hero-content .tag { color: rgba(249,246,239,.5); margin-bottom: 1.2rem; }
.hero-content h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
}
.hero-content h1 em { font-style: normal; color: var(--yellow); }

.hero-actions { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* step graphic */
.hero-step {
  position: absolute;
  bottom: 90px; right: 10%;
  z-index: 2;
  display: flex; flex-direction: column; gap: 6px;
}
.step-bar {
  height: 6px;
  background: var(--yellow);
  border-radius: 3px;
  transform-origin: left;
  animation: growBar .8s ease forwards;
  opacity: 0;
}
.step-bar:nth-child(1) { width: 80px;  animation-delay: .4s; }
.step-bar:nth-child(2) { width: 120px; animation-delay: .6s; }
.step-bar:nth-child(3) { width: 60px;  animation-delay: .8s; }
@keyframes growBar {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}

/* ════════════════════════════════
   ABOUT
   ════════════════════════════════ */
#about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.about-img { position: relative; overflow: hidden; min-height: 420px; }
.about-img img { height: 100%; object-fit: cover; }
.about-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 90px; height: 90px;
  border: 6px solid var(--yellow);
  border-radius: 50%;
  border-right-color: transparent;
  animation: spin 4s linear infinite;
}
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }

.about-text {
  background: var(--white);
  padding: 5rem 4rem;
  display: flex; flex-direction: column; justify-content: center;
}
.about-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 800; line-height: 1.15;
  margin: 1rem 0 1.5rem;
}
.about-text p {
  font-size: .95rem; line-height: 1.75; color: var(--gray); max-width: 38ch;
}
.about-text p + p { margin-top: 1rem; }
.about-text .btn  { margin-top: 2rem; }

/* ════════════════════════════════
   SERVICES
   ════════════════════════════════ */
#services {
  background: var(--dark);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.services-text {
  padding: 5rem 4rem;
  display: flex; flex-direction: column; justify-content: center;
}
.services-text .tag { color: rgba(249,246,239,.4); }
.services-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 800; line-height: 1.15;
  margin: 1rem 0 2rem;
}

.services-list { display: flex; flex-direction: column; gap: 1.2rem; }
.service-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.service-item:last-child { border-bottom: none; }
.service-num {
  font-family: 'Syne', sans-serif;
  font-size: .65rem; font-weight: 700;
  color: var(--yellow); margin-top: .15rem; min-width: 22px;
}
.service-item h4 { font-size: .95rem; font-weight: 700; margin-bottom: .25rem; }
.service-item p  { font-size: .82rem; color: rgba(249,246,239,.55); line-height: 1.6; }

.services-img { position: relative; overflow: hidden; }
.services-img img { height: 100%; object-fit: cover; }
.services-img::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(124,63,168,.3);
  z-index: 1;
}

/* ════════════════════════════════
   IMPACT (yellow)
   ════════════════════════════════ */
#impact {
  background: var(--yellow);
  padding: 6rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#impact::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: var(--purple);
  opacity: .16; border-radius: 50%;
}
.impact-squares {
  display: flex; gap: 1rem; justify-content: center;
  margin-bottom: 2.5rem; position: relative;
}
.sq {
  width: 56px; height: 56px;
  border: 3px solid var(--dark);
  border-radius: var(--radius);
  transition: transform .3s;
}
.sq:nth-child(2) { background: var(--purple); border-color: var(--purple); margin-top: 20px; }
.sq:hover { transform: rotate(15deg); }

#impact h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800; line-height: 1.1;
  max-width: 16ch; margin: 0 auto 1.5rem;
}
#impact p {
  max-width: 50ch; margin: 0 auto 2.5rem;
  font-size: .95rem; line-height: 1.75;
  color: rgba(15,15,15,.7);
}

.stats {
  display: flex; justify-content: center;
  gap: 4rem; flex-wrap: wrap; margin-top: 3rem;
}
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.8rem; font-weight: 800;
}
.stat-label {
  font-size: .78rem; text-transform: uppercase;
  letter-spacing: .1em; opacity: .65;
}

/* ════════════════════════════════
   TEAM
   ════════════════════════════════ */
#team {
  background: var(--dark2);
  color: var(--white);
  padding: 6rem 2.5rem;
}
#team .section-header h2 { color: var(--white); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1100px; margin: 0 auto;
}
.member-card {
  position: relative; overflow: hidden;
  aspect-ratio: 3/4; cursor: pointer;
}
.member-card img { height: 100%; object-fit: cover; transition: transform .5s ease; }
.member-card:hover img { transform: scale(1.06); }
.member-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(15,15,15,.95) 0%, transparent 100%);
  padding: 2rem 1.2rem .8rem;
  transform: translateY(1.5rem);
  transition: transform .3s;
}
.member-card:hover .member-info { transform: translateY(0); }
.member-info h4 { font-size: 1rem; font-weight: 700; }
.member-info span { font-size: .78rem; color: var(--yellow); }

/* ════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════ */
#testimonials {
  background: var(--light);
  padding: 6rem 2.5rem;
}
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800; margin-top: .8rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1100px; margin: 0 auto;
}
.card {
  background: var(--white);
  padding: 2rem;
  border-left: 4px solid var(--yellow);
  position: relative;
}
.card-quote {
  font-size: 3rem; line-height: 1;
  color: var(--yellow);
  font-family: 'Syne', sans-serif; font-weight: 800;
  position: absolute; top: .8rem; right: 1.2rem; opacity: .5;
}
.card p { font-size: .9rem; line-height: 1.7; color: var(--gray); margin-bottom: 1.5rem; }
.card-author { display: flex; align-items: center; gap: .8rem; }
.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem;
}
.author-name { font-weight: 700; font-size: .85rem; }
.author-role { font-size: .75rem; color: var(--gray); }

/* ════════════════════════════════
   CONTACT
   ════════════════════════════════ */
#contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}
.contact-text {
  background: var(--dark); color: var(--white);
  padding: 5rem 4rem;
}
.contact-text .tag { color: rgba(249,246,239,.4); }
.contact-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800; line-height: 1.1; margin: 1rem 0 1.5rem;
}
.contact-text p {
  font-size: .9rem; line-height: 1.75;
  color: rgba(249,246,239,.6); margin-bottom: 2rem;
}
.contact-info { display: flex; flex-direction: column; gap: .8rem; }
.contact-info span { font-size: .85rem; color: rgba(249,246,239,.55); }
.contact-info strong { color: var(--white); }

.contact-form {
  background: var(--white);
  padding: 5rem 4rem;
  display: flex; flex-direction: column; justify-content: center; gap: 1.2rem;
}
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label {
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: var(--gray);
}
.form-group input,
.form-group textarea {
  border: 2px solid rgba(15,15,15,.15);
  padding: .75rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .9rem; background: transparent; outline: none;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--yellow); }
.form-group textarea { height: 110px; resize: none; }

/* ════════════════════════════════
   FOOTER
   ════════════════════════════════ */
footer {
  background: var(--dark); color: var(--white);
  padding: 4rem 2.5rem 2rem;
}

.footer-logo-img {
  height: 30px; width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand p {
  font-size: .85rem; line-height: 1.7;
  color: rgba(249,246,239,.45); margin-bottom: 1.5rem;
}
.social-row { display: flex; gap: .6rem; }
.social-row a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; color: var(--white);
  transition: background .2s, border-color .2s, color .2s;
}
.social-row a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--dark); }

.footer-col h5 {
  font-family: 'Syne', sans-serif;
  font-size: .75rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 1.2rem; color: rgba(249,246,239,.4);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .65rem; }
.footer-col ul li a {
  font-size: .85rem; color: rgba(249,246,239,.65);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--yellow); }

/* map */
.footer-map {
  margin-top: 2.5rem; height: 180px;
  background: var(--dark2);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.footer-map::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-lines { position: absolute; inset: 0; opacity: .15; }
.map-pin {
  position: absolute;
  bottom: 40%; left: 52%;
  transform: translateX(-50%);
}
.pin-dot {
  width: 14px; height: 14px;
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(245,197,24,.25), 0 0 0 8px rgba(245,197,24,.1);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(245,197,24,.25), 0 0 0 8px rgba(245,197,24,.1); }
  50%      { box-shadow: 0 0 0 8px rgba(245,197,24,.15), 0 0 0 16px rgba(245,197,24,.05); }
}
.map-label {
  font-family: 'Syne', sans-serif;
  font-size: .65rem; color: var(--yellow); font-weight: 700;
  text-align: center; margin-top: .5rem; letter-spacing: .06em;
}

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1.5rem;
  font-size: .78rem; color: rgba(249,246,239,.3);
}
.footer-bottom a { color: rgba(249,246,239,.5); }
.footer-bottom a:hover { color: var(--yellow); }
.footer-links { display: flex; gap: 1.5rem; }

/* ════════════════════════════════
   RESPONSIVE
   ════════════════════════════════ */
@media (max-width: 768px) {
  nav { padding: 0 1.2rem; }
  .nav-links { display: none; }
  #about, #services, #contact { grid-template-columns: 1fr; }
  .services-img { min-height: 300px; order: -1; }
  .about-text, .services-text,
  .contact-text, .contact-form { padding: 3rem 1.5rem; }
  .hero-content  { padding: 0 1.5rem 4rem; }
  .footer-top    { grid-template-columns: 1fr 1fr; }
  .stats         { gap: 2rem; }
  .hero-step     { display: none; }
}
