/* ============================================
   GWH CONSULTING — Premium Multi-Page Styles
   Forest Green #0B2A1A · Copper Rose #C4756A
   ============================================ */

/* --- CSS Variables --- */
:root {
  --green-deep: #0B2A1A;
  --green-dark: #0F3522;
  --green-mid: #164A30;
  --green-light: #1D6340;
  --green-accent: #2A8C5A;
  --gold: #C4756A;
  --gold-light: #D4887C;
  --gold-pale: #E8A99E;
  --cream: #F5F0E8;
  --white: #FEFCF8;
  --text-primary: #F5F0E8;
  --text-secondary: #A8B5AC;
  --text-muted: #6B7E72;
  --overlay: rgba(11, 42, 26, 0.85);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--green-deep);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--gold-light); }

::selection {
  background: var(--gold);
  color: var(--green-deep);
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: clamp(1.1rem, 1.8vw, 1.5rem); }

p { font-size: 1.05rem; max-width: 65ch; }

.label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 7rem 0;
  position: relative;
}

.section-sm { padding: 4rem 0; }
.section-lg { padding: 10rem 0; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: all 0.4s var(--ease-out-expo);
  background: transparent;
}

.nav.scrolled {
  background: rgba(11, 42, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(196, 117, 106, 0.1);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  position: relative;
}

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

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

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

.nav-cta {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-deep) !important;
  background: var(--gold);
  padding: 0.6rem 1.4rem;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
  color: var(--green-deep) !important;
  transform: translateY(-1px);
}

.nav-cta::after { display: none !important; }

/* Mobile Menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: all 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 1.1rem 2.4rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.5s var(--ease-out-expo);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--green-deep);
  box-shadow: 0 4px 20px rgba(196, 117, 106, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-pale) 100%);
  color: var(--green-deep);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(196, 117, 106, 0.5);
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

.btn-outline {
  background: rgba(196, 117, 106, 0.05);
  color: var(--gold);
  border: 2px solid var(--gold);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--green-deep);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(196, 117, 106, 0.4);
  border-color: transparent;
}

.btn-outline:hover svg {
  transform: translateX(3px);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gold);
  border-radius: 0;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
}

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

/* Hero CTA special styling */
.hero-ctas .btn {
  font-size: 0.95rem;
  padding: 1.2rem 2.8rem;
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 42, 26, 0.95) 0%,
    rgba(11, 42, 26, 0.7) 50%,
    rgba(11, 42, 26, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.hero h1 .gold { color: var(--gold); }

.hero-sub {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 550px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Decorative Elements --- */
.gold-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1.5rem 0;
}

.gold-line-center {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.5rem auto;
}

/* --- Cards --- */
.card {
  background: rgba(15, 53, 34, 0.5);
  border: 1px solid rgba(196, 117, 106, 0.1);
  border-radius: 4px;
  padding: 2.5rem;
  transition: all 0.4s var(--ease-out-expo);
}

.card:hover {
  border-color: rgba(196, 117, 106, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(196, 117, 106, 0.1);
  border-radius: 4px;
  margin-bottom: 1.5rem;
  color: var(--gold);
  font-size: 1.2rem;
}

.card h3 {
  margin-bottom: 0.75rem;
  color: var(--cream);
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* --- Grid Layouts --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* --- Split Section --- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }

/* --- Image Treatment --- */
.img-frame {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

.img-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(196, 117, 106, 0.15);
  border-radius: 4px;
  z-index: 1;
  pointer-events: none;
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

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

/* --- Page Header (for inner pages) --- */
.page-header {
  padding: 10rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(180deg, transparent, var(--gold));
}

.page-header .label {
  margin-bottom: 1.5rem;
  display: block;
}

.page-header h1 {
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.page-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* --- Principle/Feature List --- */
.principle-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.principle-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.principle-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  min-width: 40px;
  opacity: 0.6;
}

.principle-text h4 {
  color: var(--cream);
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.principle-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* --- Service Card --- */
.service-card {
  background: rgba(15, 53, 34, 0.3);
  border: 1px solid rgba(196, 117, 106, 0.08);
  border-radius: 4px;
  padding: 2rem;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  border-color: rgba(196, 117, 106, 0.2);
  background: rgba(15, 53, 34, 0.5);
  transform: translateY(-2px);
}

.service-card:hover::before { opacity: 1; }

.service-card h4 {
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  padding: 8rem 0;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(196, 117, 106, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  margin-bottom: 1.5rem;
}

.cta-section p {
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  border-top: 1px solid rgba(196, 117, 106, 0.1);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 300px;
}

.footer h5 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

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

/* --- Footer Social Icons --- */
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(196, 117, 106, 0.08);
  border: 1px solid rgba(196, 117, 106, 0.15);
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--green-deep);
  transform: translateY(-2px);
}

.footer-social a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid rgba(196, 117, 106, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* --- Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* --- Grain Overlay --- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}

/* --- Divider --- */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 117, 106, 0.2), transparent);
}

/* --- Testimonial --- */
.testimonial {
  background: rgba(15, 53, 34, 0.4);
  border-left: 2px solid var(--gold);
  padding: 2rem 2.5rem;
  border-radius: 0 4px 4px 0;
}

.testimonial blockquote {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--cream);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.testimonial cite {
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* --- Webinar Detail Cards --- */
.webinar-detail {
  background: rgba(15, 53, 34, 0.4);
  border: 1px solid rgba(196, 117, 106, 0.1);
  border-radius: 4px;
  padding: 2rem;
}

.webinar-detail h4 {
  color: var(--gold);
  margin-bottom: 1rem;
}

.webinar-detail ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.webinar-detail ul li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  padding-left: 1.5rem;
  position: relative;
}

.webinar-detail ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.5;
}

/* --- Contact Form --- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(15, 53, 34, 0.5);
  border: 1px solid rgba(196, 117, 106, 0.15);
  border-radius: 2px;
  color: var(--cream);
  outline: none;
  transition: border-color 0.3s ease;
}

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

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

/* --- Routing Cards --- */
.routing-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  background: rgba(15, 53, 34, 0.3);
  border: 1px solid rgba(196, 117, 106, 0.1);
  border-radius: 4px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.routing-card:hover {
  border-color: var(--gold);
  background: rgba(15, 53, 34, 0.5);
  transform: translateX(4px);
}

.routing-arrow {
  color: var(--gold);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.routing-card:hover .routing-arrow { transform: translateX(4px); }

.routing-card .routing-text h4 {
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
}

.routing-card .routing-text p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .split { gap: 3rem; }
}

@media (max-width: 768px) {
  .nav-links { 
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--green-deep);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 999;
  }
  
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.2rem; }
  .nav-toggle { display: flex; }
  
  .split,
  .split-reverse { 
    grid-template-columns: 1fr; 
    direction: ltr;
  }
  
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  
  .hero h1 { font-size: 2.4rem; }
  .hero { min-height: 90vh; }
  
  section { padding: 4rem 0; }
  .page-header { padding: 8rem 0 3rem; }
  
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  
  .grid-4 { grid-template-columns: 1fr; }
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--green-deep); }
::-webkit-scrollbar-thumb { 
  background: var(--green-mid); 
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* --- Ambient Glow --- */
.ambient-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 117, 106, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* --- Track Badge --- */
.track-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(196, 117, 106, 0.1);
  border: 1px solid rgba(196, 117, 106, 0.2);
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

/* --- Stats Row --- */
.stat {
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}
