/* P&K — Prakul & Kunwarpreet LLP */

:root {
  --navy: #042f69;
  --navy-deep: #021c40;
  --orange: #ff914d;
  --orange-deep: #e87a34;
  --blush: #f8eaea;
  --ink: #1c2431;
  --muted: #5b6472;
  --line: #e7e9ee;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --radius: 10px;
  --shadow: 0 10px 30px -12px rgba(4, 47, 105, 0.18);
  --serif: "Poppins", "Segoe UI", Arial, sans-serif;
  --sans: "Poppins", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--muted); }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--orange-deep);
  margin-bottom: 0.75em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
}
.btn-primary:hover { background: var(--orange-deep); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }
.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover { background: var(--navy-deep); transform: translateY(-1px); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img { height: 40px; width: auto; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-text strong {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.brand-text span {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a {
  padding: 10px 14px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.main-nav a:hover { background: var(--blush); color: var(--navy); }
.main-nav a.is-active { color: var(--navy); background: var(--blush); }
.main-nav .btn { margin-left: 8px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 62%, #011226 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -140px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 145, 77, 0.35), transparent 70%);
}
.hero .container {
  position: relative;
  padding: 88px 24px 96px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { color: #fff; }
.hero p.lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
  max-width: 46ch;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(4px);
}
.hero-badge .num {
  font-family: var(--serif);
  font-size: 3.4rem;
  color: var(--orange);
  line-height: 1;
}
.hero-badge .label {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  margin-top: 6px;
}
.hero-badge p { color: rgba(255, 255, 255, 0.7); margin-top: 14px; font-size: 0.92rem; }

/* Sections */
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2, .section-navy .eyebrow { color: #fff; }
.section-navy p { color: rgba(255, 255, 255, 0.78); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Cards / grids */
.grid {
  display: grid;
  gap: 24px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--blush);
  color: var(--orange-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: 0.95rem; }
.card a.card-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.88rem;
}

/* Service detail blocks (services.html) */
.service-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  margin-bottom: 24px;
  background: #fff;
}
.service-block .idx {
  font-family: var(--serif);
  color: var(--orange);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  display: block;
}
.service-block ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
}
.service-block li {
  font-size: 0.94rem;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
}
.service-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

/* Team */
.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  margin-bottom: 24px;
}
.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 2.1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
}
.avatar.orange { background: linear-gradient(135deg, var(--orange), var(--orange-deep)); }
.team-card .role { color: var(--orange-deep); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.team-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 16px;
  font-size: 0.86rem;
  color: var(--muted);
}
.team-meta span strong { color: var(--ink); }

/* Milestone strip */
.milestone-strip {
  background: var(--blush);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.milestone-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 24px;
  text-align: center;
  flex-wrap: wrap;
}
.milestone-strip strong { color: var(--navy); }
.milestone-strip span.tag {
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

/* CTA band */
.cta-band {
  text-align: center;
}
.cta-band .btn { margin: 0 6px; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.contact-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
}
.contact-row {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.contact-row:last-child { border-bottom: none; }
.contact-row .label { color: var(--muted); }
.contact-row .value { font-weight: 700; color: var(--navy); text-align: right; }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-grid h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--sans); margin-bottom: 16px; }
.footer-grid a { display: block; color: rgba(255, 255, 255, 0.7); font-size: 0.92rem; padding: 5px 0; }
.footer-grid a:hover { color: var(--orange); }
.footer-brand img { height: 34px; margin-bottom: 14px; }
.footer-brand p { color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; max-width: 32ch; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .service-block ul { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .main-nav { position: fixed; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all 0.18s ease; }
  .main-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 12px 8px; }
  .main-nav .btn { margin: 10px 0 0; text-align: center; justify-content: center; }
  .nav-toggle { display: block; }
  .grid-3 { grid-template-columns: 1fr; }
  .team-card { grid-template-columns: 1fr; text-align: left; }
  .avatar { margin-bottom: 4px; }
}
