/* =========================================================
   PM Consulting — Static HTML/CSS Stylesheet
   Blue & Glass theme (HSL tokens)
   ========================================================= */

:root {
  --background: hsl(220, 20%, 97%);
  --foreground: hsl(220, 30%, 14%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(220, 30%, 14%);
  --muted: hsl(220, 15%, 92%);
  --muted-foreground: hsl(220, 10%, 46%);
  --border: hsl(220, 18%, 90%);
  --input: hsl(220, 18%, 90%);

  --primary: hsl(220, 65%, 22%);
  --primary-foreground: hsl(210, 40%, 98%);

  --accent: hsl(210, 100%, 52%);
  --accent-foreground: hsl(0, 0%, 100%);

  --blue-deep: hsl(220, 65%, 22%);
  --blue-mid: hsl(218, 55%, 35%);
  --blue-bright: hsl(210, 100%, 52%);
  --blue-light: hsl(210, 100%, 96%);
  --blue-glow: hsl(210, 100%, 62%);

  --radius: 0.75rem;
  --shadow-sm: 0 2px 6px rgba(15, 30, 60, 0.06);
  --shadow-md: 0 8px 20px rgba(15, 30, 60, 0.08);
  --shadow-lg: 0 20px 40px rgba(15, 30, 60, 0.12);
  --shadow-accent: 0 10px 30px hsla(210, 100%, 52%, 0.3);
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Sora:wght@400;500;600;700&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-display {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  font-family: inherit;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-foreground);
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover { background: var(--blue-glow); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--primary-foreground);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
}
.btn-outline:hover { background: rgba(255,255,255,0.06); }
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.85rem; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  padding: 1rem 0;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 0.6rem; }
.logo-mark {
  width: 36px; height: 36px;
  background: var(--accent);
  color: var(--accent-foreground);
  border-radius: 8px;
  display: grid; place-items: center;
  font-family: 'Sora', sans-serif;
  font-weight: 700; font-size: 0.85rem;
}
.logo-text {
  font-family: 'Sora', sans-serif;
  font-weight: 600; font-size: 1rem;
  color: var(--primary-foreground);
}
.navbar.scrolled .logo-text { color: var(--foreground); }

.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  padding: 0.55rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: all 0.2s ease;
}
.nav-links a:hover { background: rgba(255,255,255,0.1); color: #fff; }
.navbar.scrolled .nav-links a { color: var(--muted-foreground); }
.navbar.scrolled .nav-links a:hover { background: var(--muted); color: var(--foreground); }
.nav-cta { margin-left: 0.75rem; }

.menu-toggle {
  display: none;
  background: transparent; border: none; cursor: pointer;
  color: var(--primary-foreground);
}
.navbar.scrolled .menu-toggle { color: var(--foreground); }

.mobile-menu {
  display: none;
  background: var(--card);
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 1rem;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 0.85rem 1rem;
  border-radius: 8px;
  color: var(--muted-foreground);
  font-weight: 500;
  font-size: 0.9rem;
}
.mobile-menu a:hover { background: var(--muted); color: var(--foreground); }
.mobile-menu .btn { margin-top: 0.5rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--primary);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 8rem 0 5rem;
}
.hero-orbs {
  position: absolute; inset: 0; pointer-events: none;
}
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(120px); opacity: 0.6;
}
.orb-1 { top:-100px; right:-100px; width:600px; height:600px; background: hsla(210,100%,52%,0.18); }
.orb-2 { bottom:-80px; left:-80px; width:400px; height:400px; background: hsla(218,55%,35%,0.35); filter: blur(100px); }
.orb-3 { top:40%; left:30%; width:300px; height:300px; background: hsla(210,100%,62%,0.08); filter: blur(80px); }

.hero-grid {
  position: absolute; inset: 0; opacity: 0.04;
  background-image:
    linear-gradient(#fff 1px, transparent 1px),
    linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content { position: relative; max-width: 760px; }
.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: hsla(210,100%,52%,0.15);
  border: 1px solid hsla(210,100%,52%,0.25);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
.badge-text { color: var(--accent); font-size: 0.85rem; font-weight: 500; }
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  color: var(--primary-foreground);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.gradient-text {
  background: linear-gradient(90deg, var(--accent), var(--blue-glow));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  color: rgba(255,255,255,0.65);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 640px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Section base ---------- */
section { padding: 6rem 0; }
.section-head {
  text-align: center; margin-bottom: 4rem; max-width: 640px; margin-inline: auto;
}
.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  color: var(--foreground);
  margin-bottom: 1rem;
}
.section-head p { color: var(--muted-foreground); font-size: 1.1rem; }

/* ---------- Services grid ---------- */
.services { background: var(--background); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
  display: flex; flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.service-card:hover {
  border-color: hsla(210,100%,52%,0.3);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.service-icon {
  width: 52px; height: 52px;
  background: hsla(210,100%,52%,0.1);
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 1.25rem;
  color: var(--accent);
  font-size: 1.5rem;
}
.service-card h3 {
  font-size: 1.15rem; margin-bottom: 0.6rem;
  font-family: 'Sora', sans-serif;
  color: var(--foreground);
}
.service-card p { color: var(--muted-foreground); font-size: 0.92rem; }
.service-link {
  margin-top: 1.25rem;
  color: var(--accent);
  font-size: 0.85rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: 0.35rem;
}

/* ---------- Stats ---------- */
.stats { background: var(--primary); position: relative; overflow: hidden; }
.stats .orb-1 { opacity: 0.5; }
.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-num {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 700;
  background: linear-gradient(90deg, var(--accent), var(--blue-glow));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}
.stat-label { color: rgba(255,255,255,0.6); font-size: 0.95rem; }

/* ---------- Why Us ---------- */
.why-us { background: var(--card); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.why-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.75rem;
  transition: all 0.3s ease;
}
.why-card:hover { border-color: hsla(210,100%,52%,0.25); box-shadow: var(--shadow-md); }
.why-card .service-icon { background: hsla(220,65%,22%,0.08); color: var(--primary); }
.why-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.why-card p { color: var(--muted-foreground); font-size: 0.9rem; }

/* ---------- Contact ---------- */
.contact { background: var(--blue-light); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  max-width: 960px;
  margin: 0 auto;
}
.contact-card {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.contact-card .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: hsla(210,100%,52%,0.1);
  color: var(--accent);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-card h4 { font-size: 0.95rem; margin-bottom: 0.15rem; }
.contact-card p { color: var(--muted-foreground); font-size: 0.85rem; }

.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--foreground);
}
.form-control {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 0.65rem;
  border: 1px solid var(--input);
  background: var(--background);
  color: var(--foreground);
  font-size: 0.9rem;
  font-family: inherit;
  transition: all 0.2s;
}
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px hsla(210,100%,52%,0.15);
}
textarea.form-control { min-height: 120px; resize: vertical; }
.form-submit { width: 100%; }

/* ---------- Footer ---------- */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-family: 'Sora', sans-serif;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.55rem; }
.footer ul a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer ul a:hover { color: var(--accent); }
.footer-brand p { font-size: 0.88rem; line-height: 1.6; margin-top: 1rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ---------- Service Page ---------- */
.service-hero {
  background: var(--primary);
  position: relative;
  overflow: hidden;
  padding: 9rem 0 5rem;
}
.back-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  margin-bottom: 2rem;
  transition: color 0.2s;
}
.back-link:hover { color: #fff; }
.service-hero-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.service-hero-icon {
  width: 56px; height: 56px;
  border-radius: 1rem;
  background: hsla(210,100%,52%,0.15);
  border: 1px solid hsla(210,100%,52%,0.25);
  display: grid; place-items: center;
  color: var(--accent);
  font-size: 1.6rem;
}
.service-hero h1 {
  color: var(--primary-foreground);
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 800px;
  margin-bottom: 1.25rem;
  position: relative;
}
.service-hero p {
  color: rgba(255,255,255,0.6);
  font-size: 1.15rem;
  max-width: 640px;
  position: relative;
}

.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}
.feature-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  padding: 1rem 1.25rem;
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.9rem;
}
.feature-item .check { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.benefit-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.75rem;
  transition: all 0.3s;
}
.benefit-card:hover { border-color: hsla(210,100%,52%,0.25); box-shadow: var(--shadow-md); }
.benefit-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; font-family: 'Sora', sans-serif; }
.benefit-card p { color: var(--muted-foreground); font-size: 0.9rem; }

.cta-band { background: var(--primary); text-align: center; }
.cta-band h2 {
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
}
.cta-band p { color: rgba(255,255,255,0.55); font-size: 1.1rem; margin-bottom: 2rem; }

.bg-card { background: var(--card); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  section { padding: 4rem 0; }
  .hero { padding-top: 7rem; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
}
