/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', system-ui, sans-serif;
  background: #fff;
  color: #1a1a4b;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Tokens ────────────────────────────────────────── */
:root {
  --navy:   #1a1a4b;
  --cyan:   #0ea5e9;
  --purple: #6c63ff;
  --green:  #059669;
  --lblue:  #cce9f8;
  --lpurp:  #e8e4f8;
  --bg2:    #f7f8ff;
  --gray:   #64748b;
  --border: #e8ecf5;
  --sh:     0 4px 24px rgba(26,26,75,.08);
  --sh-lg:  0 12px 40px rgba(26,26,75,.13);
}

/* ── Helpers ───────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
.section-alt { background: var(--bg2); }

.h-dark { color: var(--navy); }
.h-cyan  { color: var(--cyan); }

.section-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: .6rem;
}
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 3rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── Buttons ───────────────────────────────────────── */
.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.8rem;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-family: inherit;
  font-weight: 800;
  font-size: .92rem;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
  text-decoration: none;
}
.btn-dark:hover { background: #2a2a6e; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,26,75,.25); }
.btn-dark svg { width: 18px; height: 18px; }

.btn-cyan {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.8rem;
  border-radius: 10px;
  background: var(--cyan);
  color: #fff;
  font-family: inherit;
  font-weight: 800;
  font-size: .92rem;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
  text-decoration: none;
}
.btn-cyan:hover { background: #0284c7; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(14,165,233,.35); }

.btn-full { width: 100%; justify-content: center; }

/* ── NAVBAR ────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
#navbar.scrolled { box-shadow: var(--sh); border-bottom-color: var(--border); }

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { font-size: 1.8rem; line-height: 1; }

.nav-links {
  display: flex;
  gap: .15rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-link {
  padding: .5rem 1rem;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--gray);
  transition: color .2s, background .2s;
}
.nav-link:hover, .nav-link.active { color: var(--navy); background: var(--bg2); }

.btn-connect {
  padding: .65rem 1.4rem;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: .88rem;
  transition: background .2s, transform .2s;
}
.btn-connect:hover { background: #2a2a6e; transform: translateY(-1px); }

#burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
}
#burger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: all .3s; }

#mobile-menu {
  display: none;
  flex-direction: column;
  padding: .5rem 1.5rem 1rem;
  border-top: 1px solid var(--border);
  background: #fff;
}
#mobile-menu.open { display: flex; }
.mob-link { padding: .75rem .5rem; font-weight: 700; color: var(--gray); border-bottom: 1px solid var(--border); transition: color .2s; }
.mob-link:last-child { border: none; }
.mob-link:hover { color: var(--navy); }

/* ── HERO ──────────────────────────────────────────── */
#hero {
  padding-top: 74px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.hero-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

/* Left */
.location-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--gray);
  margin-bottom: 1.2rem;
}
.loc-dot { color: #e53e3e; font-size: .6rem; }

.hero-heading {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.18;
  margin-bottom: 1.25rem;
  letter-spacing: -.01em;
}

.hero-sub {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 420px;
  margin-bottom: 2rem;
  font-weight: 600;
}

.hero-btns {
  display: flex;
  gap: .9rem;
  flex-wrap: wrap;
}

/* Right */
.hero-right {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 520px;
}

/* Decorative rectangle */
.deco-rect {
  position: absolute;
  top: 0; right: 0;
  width: 220px;
  height: 180px;
  background: var(--lpurp);
  border-radius: 20px;
  z-index: 0;
}

/* Dot grid — upper-left of photo like reference */
.dot-grid {
  position: absolute;
  top: 40px;
  right: 340px;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.dot-grid span {
  display: block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--purple);
  opacity: .6;
}

/* Photo scene — head overflows top, body follows circle curve at bottom */
.photo-scene {
  position: absolute;
  bottom: 0;
  right: 50px;
  width: 360px;
  height: 500px;
  z-index: 2;
}

/* Light blue circle — sits at the bottom */
.photo-circle-bg {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: var(--lblue);
  z-index: 0;
}

/* Photo — taller than circle so head pokes above,
   bottom clips to follow the circle curve */
.hero-img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  height: 500px;
  object-fit: cover;
  object-position: center 5%;
  mix-blend-mode: multiply;
  /* Round ONLY the bottom to match the circle curve, top stays straight */
  border-radius: 0 0 50% 50% / 0 0 37% 37%;
  z-index: 1;
}

/* ── ABOUT ─────────────────────────────────────────── */
#about { padding: 7rem 0; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: center;
}

.about-img-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-circle-bg {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--lpurp);
}

.about-img {
  position: relative;
  z-index: 1;
  width: 300px;
  height: 400px;
  object-fit: cover;
  object-position: top center;
  mix-blend-mode: multiply;
}

.about-card {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--sh-lg);
  padding: .85rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .65rem;
  z-index: 2;
}
.card-1 { bottom: 2.5rem; left: -1rem; }
.card-2 { top: 2rem; right: -1rem; }
.card-num { font-size: 1.5rem; font-weight: 900; color: var(--cyan); line-height: 1; }
.card-ico { font-size: 1.4rem; line-height: 1; }
.card-txt { font-size: .72rem; font-weight: 700; color: var(--gray); line-height: 1.4; }

.about-text h3 { font-size: 1.9rem; font-weight: 900; margin-bottom: .3rem; }
.about-role { font-size: .82rem; font-weight: 700; color: var(--cyan); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1.1rem; }
.about-desc { color: var(--gray); font-size: .95rem; line-height: 1.8; margin-bottom: .9rem; font-weight: 600; }
.about-desc strong { color: var(--navy); }

.cert-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 2rem; }
.cert-chip {
  padding: .3rem .85rem;
  border-radius: 8px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .04em;
}
.cert-chip.cyan  { background: #e0f2fe; color: #0ea5e9; }
.cert-chip.navy  { background: #e0e0f5; color: var(--navy); }
.cert-chip.green { background: #d1fae5; color: var(--green); }
.cert-chip.gray  { background: var(--bg2); color: var(--gray); border: 1px solid var(--border); }

/* ── WORKS ─────────────────────────────────────────── */
#works { padding: 7rem 0; }

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.work-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }

.wc-top {
  padding: 1.4rem 1.4rem 1rem;
  min-height: 100px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.wc-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wc-icon svg { width: 22px; height: 22px; }

.wc-body { padding: 1.1rem 1.4rem 1.5rem; }
.wc-tag {
  display: inline-block;
  padding: .2rem .65rem;
  border-radius: 6px;
  font-size: .71rem;
  font-weight: 800;
  margin-bottom: .7rem;
  letter-spacing: .02em;
}
.wc-body h3 { font-size: 1rem; font-weight: 900; color: var(--navy); margin-bottom: .55rem; line-height: 1.3; }
.wc-body p  { font-size: .83rem; color: var(--gray); line-height: 1.7; margin-bottom: 1rem; font-weight: 600; }
.wc-tech { display: flex; flex-wrap: wrap; gap: .4rem; }
.wc-tech span {
  padding: .2rem .65rem;
  border-radius: 6px;
  background: var(--bg2);
  border: 1px solid var(--border);
  font-size: .71rem;
  font-weight: 700;
  color: var(--gray);
}

/* ── SERVICES ──────────────────────────────────────── */
#services { padding: 7rem 0; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  align-items: start;
}

.svc-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  transition: transform .3s, box-shadow .3s;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.svc-card--featured {
  border: 2px solid var(--cyan);
  box-shadow: 0 8px 32px rgba(14,165,233,.12);
}
.svc-card--featured:hover { box-shadow: 0 16px 48px rgba(14,165,233,.22); }

.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cyan);
  color: #fff;
  padding: .25rem 1rem;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 800;
  white-space: nowrap;
}

.svc-ico {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.svc-ico svg { width: 24px; height: 24px; }
.svc-card h3 { font-size: 1.1rem; font-weight: 900; color: var(--navy); margin-bottom: .7rem; }
.svc-card > p { font-size: .85rem; color: var(--gray); line-height: 1.7; margin-bottom: 1.1rem; font-weight: 600; }
.svc-card ul { display: flex; flex-direction: column; gap: .5rem; }
.svc-card li {
  font-size: .82rem;
  color: var(--gray);
  font-weight: 600;
  padding-left: 1.1rem;
  position: relative;
}
.svc-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .5em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cyan);
}

/* ── CONTACT ───────────────────────────────────────── */
#contact { padding: 7rem 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}

.contact-intro { color: var(--gray); font-size: .95rem; line-height: 1.8; margin-bottom: 2rem; font-weight: 600; }
.contact-links { display: flex; flex-direction: column; gap: .9rem; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.contact-link:hover { border-color: var(--cyan); box-shadow: var(--sh); transform: translateX(4px); }
.cl-ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.cl-info { display: flex; flex-direction: column; }
.cl-label { font-size: .7rem; font-weight: 800; color: var(--gray); text-transform: uppercase; letter-spacing: .08em; }
.cl-val { font-size: .87rem; font-weight: 700; color: var(--navy); }

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--sh);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.fg { display: flex; flex-direction: column; gap: .35rem; }
.fg label { font-size: .75rem; font-weight: 800; color: var(--navy); text-transform: uppercase; letter-spacing: .07em; }
.fg input, .fg textarea {
  padding: .78rem 1rem;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--bg2);
  outline: none;
  resize: none;
  transition: border-color .2s, box-shadow .2s;
}
.fg input::placeholder, .fg textarea::placeholder { color: #b0b9cc; }
.fg input:focus, .fg textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(14,165,233,.1);
  background: #fff;
}

/* ── FOOTER ────────────────────────────────────────── */
footer { background: var(--navy); padding: 2rem 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-left { display: flex; align-items: center; gap: .75rem; color: #fff; font-weight: 700; font-size: .9rem; }
.footer-logo { font-size: 1.4rem; }
.footer-copy { color: rgba(255,255,255,.4); font-size: .78rem; font-weight: 600; }
.footer-links { display: flex; gap: 1.25rem; }
.footer-links a { color: rgba(255,255,255,.5); font-size: .82rem; font-weight: 700; transition: color .2s; }
.footer-links a:hover { color: var(--cyan); }

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 1024px) {
  .works-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-img-wrap { display: flex; justify-content: center; }
}

@media (max-width: 768px) {
  .nav-links, .btn-connect { display: none; }
  #burger { display: flex; }

  .hero-wrap { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { max-width: 100%; }
  .hero-btns { justify-content: center; }
  .hero-right { height: 360px; }
  .photo-scene { right: 50%; transform: translateX(50%); width: 280px; height: 340px; }
  .photo-circle-bg { width: 240px; height: 240px; }
  .hero-img { width: 240px; height: 340px; }
  .deco-rect { width: 140px; height: 120px; }
  .dot-grid { right: 145px; }

  .works-grid, .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-heading { font-size: 2rem; }
  .section-title { font-size: 1.7rem; }
  .about-card.card-1 { left: 0; }
  .about-card.card-2 { right: 0; }
}
