/* ============================================
   NORTH PEAK ADVISORY GROUP
   Refined editorial luxury · midnight & gold
============================================ */

:root {
  --ink: #0b1628;
  --ink-deep: #070e1c;
  --ink-soft: #1a2740;
  --cream: #f5f1e8;
  --cream-warm: #ebe4d2;
  --gold: #c9a24a;
  --gold-bright: #e0b955;
  --gold-soft: #8a6f2e;
  --line: rgba(245, 241, 232, 0.14);
  --line-dark: rgba(11, 22, 40, 0.12);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Outfit', -apple-system, sans-serif;
  --max-w: 1280px;
  --pad: clamp(1.5rem, 4vw, 3rem);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--cream);
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* grain texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
  z-index: 2;
}

/* ============================================
   NAV
============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem var(--pad);
  background: rgba(11, 22, 40, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--cream);
  text-decoration: none;
}

.logo-mark {
  width: 36px;
  height: 36px;
  color: var(--gold);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.05;
  display: flex;
  flex-direction: column;
  letter-spacing: -0.01em;
}

.logo-text em {
  font-style: italic;
  font-size: 0.55rem;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 4px;
}

.footer-brand-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.footer-brand-text em {
  font-style: italic;
  color: var(--gold);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--gold);
}

.nav-cta {
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.3s;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--ink);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.menu-toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--cream);
  transition: 0.3s;
}

/* ============================================
   HERO
============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 8rem var(--pad) 4rem;
  overflow: hidden;
}

.hero-topo {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    radial-gradient(ellipse at 70% 60%, transparent 20%, var(--gold) 20.2%, transparent 20.4%),
    radial-gradient(ellipse at 70% 60%, transparent 30%, var(--gold) 30.15%, transparent 30.3%),
    radial-gradient(ellipse at 70% 60%, transparent 40%, var(--gold) 40.1%, transparent 40.2%),
    radial-gradient(ellipse at 70% 60%, transparent 50%, var(--gold) 50.08%, transparent 50.16%),
    radial-gradient(ellipse at 70% 60%, transparent 60%, var(--gold) 60.06%, transparent 60.12%),
    radial-gradient(ellipse at 70% 60%, transparent 70%, var(--gold) 70.05%, transparent 70.1%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(201, 162, 74, 0.08), transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  animation: fadeUp 0.8s ease-out;
}

.meta-line {
  width: 48px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 8rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  animation: fadeUp 1s ease-out 0.1s both;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  max-width: 600px;
  color: rgba(245, 241, 232, 0.75);
  margin-bottom: 3rem;
  line-height: 1.6;
  animation: fadeUp 1s ease-out 0.25s both;
}

.hero-ctas {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  animation: fadeUp 1s ease-out 0.4s both;
}

.hero-scroll {
  position: absolute;
  bottom: 3rem;
  right: var(--pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.5);
  z-index: 3;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   BUTTONS
============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 2rem;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s;
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -20px rgba(201, 162, 74, 0.6);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--cream);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-large {
  padding: 1.4rem 2.5rem;
  font-size: 0.9rem;
}

/* ============================================
   SECTIONS
============================================ */
section {
  padding: 8rem 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  font-weight: 400;
}

.section-label span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-head {
  margin-bottom: 4rem;
}

.section-head.centered {
  text-align: center;
}

.section-head.centered .section-label {
  justify-content: center;
}

/* Intro */
.intro {
  padding: 10rem 0;
  border-top: 1px solid var(--line);
}

.intro-text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.3;
  font-weight: 300;
  max-width: 950px;
  color: rgba(245, 241, 232, 0.9);
}

.intro-text em {
  font-style: italic;
  color: var(--gold);
}

/* Services Preview */
.services-preview {
  border-top: 1px solid var(--line);
  background: var(--ink-deep);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  background: rgba(201, 162, 74, 0.03);
}

.service-num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.service-card p {
  color: rgba(245, 241, 232, 0.6);
  font-size: 0.95rem;
  line-height: 1.6;
}

.text-link {
  display: inline-block;
  margin-top: 3rem;
  color: var(--gold);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.35rem;
  transition: opacity 0.3s;
}

.text-link:hover {
  opacity: 0.7;
}

/* Beyond Compliance */
.beyond {
  border-top: 1px solid var(--line);
}

.beyond-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.beyond-right p {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: rgba(245, 241, 232, 0.8);
}

.beyond-right strong {
  color: var(--gold);
  font-weight: 500;
}

/* Pillars */
.pillars {
  background: var(--ink-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 5rem;
}

.pillar {
  padding: 3rem 2rem;
  text-align: center;
  border-right: 1px solid var(--line);
  position: relative;
}

.pillar:last-child { border-right: none; }

.pillar-mark {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  color: var(--gold);
}

.pillar-mark svg {
  width: 100%;
  height: 100%;
}

.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--gold);
}

.pillar p {
  color: rgba(245, 241, 232, 0.7);
  max-width: 280px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Clients */
.clients {
  border-top: 1px solid var(--line);
}

.clients-list {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
}

.client-row {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.4s;
  cursor: default;
}

.client-row::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
  transition: width 0.4s;
}

.client-row:hover::before {
  width: 80px;
}

.client-row:hover {
  padding-left: 2rem;
}

.client-row:hover .client-name {
  color: var(--gold);
}

.client-num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 1.2rem;
  min-width: 50px;
}

.client-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 300;
  transition: color 0.4s;
}

/* CTA Section */
.cta-section {
  background: var(--ink-deep);
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 10rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201, 162, 74, 0.06), transparent 70%);
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
}

.cta-title em {
  font-style: italic;
  color: var(--gold);
}

/* ============================================
   FOOTER
============================================ */
.footer {
  background: var(--ink-deep);
  border-top: 1px solid var(--line);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--line);
}

.footer-brand .logo-mark {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-tag {
  font-family: var(--font-display);
  font-style: italic;
  color: rgba(245, 241, 232, 0.6);
}

.footer-col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.footer-col a {
  display: block;
  color: rgba(245, 241, 232, 0.7);
  text-decoration: none;
  padding: 0.35rem 0;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 2rem;
  font-size: 0.75rem;
  color: rgba(245, 241, 232, 0.4);
  letter-spacing: 0.05em;
}

/* ============================================
   PAGE HEADERS (for non-home pages)
============================================ */
.page-header {
  padding: 12rem var(--pad) 6rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(201, 162, 74, 0.06), transparent 70%);
}

.page-header-content {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 1.5rem 0 1.5rem;
}

.page-title em {
  font-style: italic;
  color: var(--gold);
}

.page-subtitle {
  font-size: 1.2rem;
  color: rgba(245, 241, 232, 0.7);
  max-width: 600px;
  line-height: 1.6;
}

/* ============================================
   SERVICES PAGE
============================================ */
.services-full {
  padding: 6rem 0;
}

.service-category {
  margin-bottom: 6rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--line);
}

.category-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.1;
}

.category-head h2 em {
  font-style: italic;
  color: var(--gold);
}

.category-label {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.category-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.cat-item {
  padding: 2rem 1.5rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: padding-left 0.3s;
}

.cat-item::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
  transition: width 0.3s;
}

.cat-item:hover::before {
  width: 40px;
}

.cat-item:nth-child(odd) { border-right: 1px solid var(--line); }

.cat-item:hover {
  padding-left: 2.5rem;
  background: rgba(201, 162, 74, 0.02);
}

.cat-item-num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 1rem;
  min-width: 30px;
}

.cat-item-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
}

.key-line {
  text-align: center;
  padding: 8rem 0;
  background: var(--ink-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.key-line p {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.1;
  max-width: 900px;
  margin: 0 auto;
}

.key-line em {
  color: var(--gold);
}

/* ============================================
   ABOUT PAGE
============================================ */
.about-opening {
  padding: 8rem 0;
  border-top: 1px solid var(--line);
}

.opening-text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.3;
  font-weight: 300;
  max-width: 1000px;
  color: rgba(245, 241, 232, 0.9);
}

.credentials {
  padding: 8rem 0;
  background: var(--ink-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cred-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-top: 4rem;
}

.cred-block h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 2rem;
}

.cred-list {
  list-style: none;
}

.cred-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
  color: rgba(245, 241, 232, 0.85);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cred-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gold);
  flex-shrink: 0;
}

.mission {
  padding: 10rem 0;
  text-align: center;
}

.mission-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}

.mission-text {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.2;
  max-width: 1000px;
  margin: 0 auto;
}

.mission-text em {
  color: var(--gold);
  font-style: italic;
}

/* ============================================
   APPROACH PAGE
============================================ */
.approach-steps {
  padding: 6rem 0 10rem;
}

.step {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  padding: 4rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
  transition: padding-left 0.4s;
}

.step:last-child { border-bottom: 1px solid var(--line); }

.step:hover {
  padding-left: 2rem;
  background: rgba(201, 162, 74, 0.02);
}

.step-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  font-style: italic;
}

.step-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.1;
}

.step-desc {
  font-size: 1.15rem;
  color: rgba(245, 241, 232, 0.75);
  line-height: 1.6;
}

/* ============================================
   CONTACT PAGE
============================================ */
.contact-wrap {
  padding: 6rem 0 10rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 2rem;
}

.contact-list {
  list-style: none;
  margin-bottom: 3rem;
}

.contact-list li {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-list .label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.contact-list a {
  color: var(--cream);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.3rem;
  transition: color 0.3s;
}

.contact-list a:hover {
  color: var(--gold);
}

.calendly-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 2rem;
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.3s;
}

.calendly-btn:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
}

.contact-form {
  background: var(--ink-deep);
  padding: 3rem;
  border: 1px solid var(--line);
}

.contact-form h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 0;
  color: var(--cream);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 1.2rem;
  background: var(--gold);
  border: none;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 1rem;
}

.form-submit:hover {
  background: var(--gold-bright);
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 968px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: flex; }

  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--ink-deep);
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--line);
  }

  section { padding: 5rem 0; }
  .intro, .cta-section, .key-line, .mission { padding: 6rem 0; }

  .services-grid,
  .pillars-grid,
  .category-items,
  .cred-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .pillar {
    border-right: none !important;
  }

  .cat-item:nth-child(odd) { border-right: none; }

  .beyond-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .service-category {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 3rem 0;
  }

  .step:hover { padding-left: 0; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .hero-scroll { display: none; }

  .client-row {
    gap: 1.5rem;
    padding: 1.75rem 0;
  }

  .client-row:hover { padding-left: 0; }
}

/* ============================================
   IMAGES
============================================ */
.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, var(--ink) 30%, rgba(11, 22, 40, 0.7) 60%, rgba(11, 22, 40, 0.4) 100%);
}

.beyond-grid {
  align-items: center !important;
}

.beyond-image {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
}

.beyond-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) brightness(0.85);
  transition: transform 0.8s;
}

.beyond-image:hover img {
  transform: scale(1.03);
}

.beyond-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold);
  transform: translate(15px, 15px);
  pointer-events: none;
  z-index: -1;
}

.about-image {
  width: 100%;
  aspect-ratio: 21/9;
  overflow: hidden;
  margin-top: 4rem;
  position: relative;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%) brightness(0.9);
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(11, 22, 40, 0.4));
}

.page-header-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-header-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}

.page-header-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, var(--ink) 25%, rgba(11, 22, 40, 0.6) 100%);
}

@media (max-width: 968px) {
  .beyond-image::after { display: none; }
}


.wa-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  font-family: var(--font-body);
}

.wa-button {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px -8px rgba(201, 162, 74, 0.5), 0 0 0 0 rgba(201, 162, 74, 0.5);
  transition: all 0.3s;
  animation: waPulse 2.5s infinite;
  position: relative;
  z-index: 2;
}

.wa-button:hover {
  background: var(--gold-bright);
  transform: scale(1.05);
}

.wa-button svg {
  width: 32px;
  height: 32px;
  color: var(--ink);
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 10px 30px -8px rgba(201, 162, 74, 0.5), 0 0 0 0 rgba(201, 162, 74, 0.4); }
  50% { box-shadow: 0 10px 30px -8px rgba(201, 162, 74, 0.5), 0 0 0 16px rgba(201, 162, 74, 0); }
}

.wa-chat {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 340px;
  max-width: calc(100vw - 4rem);
  background: var(--ink-deep);
  border: 1px solid var(--line);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transform-origin: bottom right;
  transition: all 0.3s ease-out;
  overflow: hidden;
}

.wa-chat.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.wa-chat-header {
  background: var(--gold);
  color: var(--ink);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.wa-chat-header svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.wa-chat-header-text {
  flex: 1;
}

.wa-chat-header-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
}

.wa-chat-header-sub {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 0.15rem;
}

.wa-chat-close {
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  padding: 0.25rem;
  font-size: 1.2rem;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.wa-chat-close:hover { opacity: 1; }

.wa-chat-body {
  padding: 1.75rem 1.5rem;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(201, 162, 74, 0.04), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(201, 162, 74, 0.03), transparent 40%);
}

.wa-message {
  background: var(--ink-soft);
  border-left: 2px solid var(--gold);
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
  border-radius: 0 8px 8px 8px;
}

.wa-message-from {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.wa-message-text {
  color: rgba(245, 241, 232, 0.9);
  font-size: 0.92rem;
  line-height: 1.5;
}

.wa-chat-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1rem;
  background: var(--gold);
  color: var(--ink);
  border: none;
  text-decoration: none;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 0.5rem;
}

.wa-chat-cta:hover { background: var(--gold-bright); }

.wa-chat-cta svg { width: 16px; height: 16px; }

@media (max-width: 600px) {
  .wa-widget { bottom: 1.25rem; right: 1.25rem; }
  .wa-button { width: 56px; height: 56px; }
  .wa-button svg { width: 28px; height: 28px; }
}
