/* Altus People Advisory - Brand Styles */
:root {
  --navy: #002366;
  --navy-dark: #001a4d;
  --navy-light: #003580;
  --gold: #c9a227;
  --gold-light: #d4af37;
  --gold-dark: #a8861e;
  --white: #ffffff;
  --off-white: #f8f9fb;
  --gray-100: #f1f3f6;
  --gray-200: #e2e6ec;
  --gray-400: #94a3b8;
  --gray-600: #64748b;
  --gray-800: #1e293b;
  --shadow-sm: 0 2px 8px rgba(0, 35, 102, 0.06);
  --shadow-md: 0 8px 30px rgba(0, 35, 102, 0.1);
  --shadow-lg: 0 20px 50px rgba(0, 35, 102, 0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.3s ease;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy);
  line-height: 1.25;
  font-weight: 600;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 680px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-navy:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-link {
  padding: 0;
  background: none;
  border: none;
  color: var(--navy);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1rem;
}

.btn-link::after {
  content: ' →';
  transition: transform var(--transition);
  display: inline-block;
}

.btn-link:hover::after {
  transform: translateX(4px);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 24px;
}

.header-nav-group {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.logo img {
  height: 56px;
  width: auto;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy);
  position: relative;
  padding: 4px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a.active {
  color: var(--gold-dark);
}

.nav-cta {
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-cta.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dark);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: var(--transition);
}

/* Hero */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  margin-top: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 35, 102, 0.88) 0%, rgba(0, 26, 77, 0.75) 50%, rgba(0, 35, 102, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  color: var(--white);
  padding: 80px 0;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 24px;
}

.hero-content p {
  font-size: 1.15rem;
  line-height: 1.8;
  opacity: 0.92;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.page-hero {
  margin-top: 80px;
  padding: 80px 0 60px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 640px;
  margin: 0 auto;
}

/* Sections */
section {
  padding: 80px 0;
}

section:nth-child(even) {
  background: var(--off-white);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* Split layout */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-section.reverse {
  direction: rtl;
}

.split-section.reverse > * {
  direction: ltr;
}

.split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.split-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.split-content p {
  margin-bottom: 16px;
  color: var(--gray-600);
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--gray-200);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-body {
  padding: 28px;
}

.card-image {
  height: 180px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* Why cards with image */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.why-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: stretch;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}

.why-card:hover {
  box-shadow: var(--shadow-md);
}

.why-card-image {
  overflow: hidden;
}

.why-card-image img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.why-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}

.why-card-content h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.why-card-content p {
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: step;
}

.process-step {
  text-align: center;
  position: relative;
  counter-increment: step;
}

.process-step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--gold-light);
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  border: none;
  border-radius: 50%;
  -webkit-font-smoothing: antialiased;
}

.process-step h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* Services accordion */
.service-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  border: 1px solid var(--gray-200);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.service-header {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.service-header-image {
  height: 120px;
  overflow: hidden;
}

.service-header-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-header-text {
  padding: 20px 0;
}

.service-header-text h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.service-header-text p {
  font-size: 0.9rem;
  color: var(--gray-600);
}

.service-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  transition: background var(--transition);
  flex-shrink: 0;
}

.service-toggle svg {
  width: 20px;
  height: 20px;
  fill: var(--navy);
  transition: transform var(--transition);
}

.service-block.open .service-toggle {
  background: var(--gold);
}

.service-block.open .service-toggle svg {
  transform: rotate(180deg);
}

.service-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.service-block.open .service-body {
  max-height: 600px;
}

.service-body-inner {
  padding: 0 24px 24px 224px;
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
  list-style: none;
}

.capability-list li {
  font-size: 0.9rem;
  color: var(--gray-600);
  padding-left: 20px;
  position: relative;
}

.capability-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

/* Leadership */
.leadership-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.leadership-photo img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
}

.leadership-info {
  padding: 40px 40px 40px 0;
}

.leadership-info h3 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.leadership-title {
  color: var(--gold-dark);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.leadership-credential {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 20px;
  font-style: italic;
}

.leadership-info p {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin-bottom: 12px;
}

/* Experience list */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
  list-style: none;
}

.experience-grid li {
  font-size: 0.9rem;
  color: var(--gray-600);
  padding-left: 20px;
  position: relative;
}

.experience-grid li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.8rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-info-item h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-bottom: 4px;
}

.contact-info-item a,
.contact-info-item p {
  font-size: 1rem;
  color: var(--navy);
  font-weight: 500;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-status {
  margin-top: 16px;
  font-size: 0.9rem;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius);
}

.form-status.success {
  color: var(--navy);
  background: rgba(201, 162, 39, 0.15);
}

.form-status.error {
  color: #b91c1c;
  background: #fef2f2;
}

.form-status[hidden] {
  display: none;
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 64px 24px;
  border-radius: var(--radius-lg);
  margin: 0 24px 80px;
  max-width: calc(1200px - 48px);
  margin-left: auto;
  margin-right: auto;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner p {
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 28px;
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand img {
  height: 64px;
  margin-bottom: 16px;
  filter: brightness(1.1);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-brand-tagline {
  margin-top: 14px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.footer-brand-tagline em {
  font-style: italic;
  color: var(--gold-light);
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-tagline {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Client segment cards */
.client-cards .client-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: stretch;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}

.client-cards .client-card:hover {
  box-shadow: var(--shadow-md);
}

.client-cards .client-card-image {
  height: 100%;
  overflow: hidden;
}

.client-cards .client-card-image img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.client-cards .client-card-content {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}

.client-cards .client-card-content h3 {
  margin-bottom: 12px;
}

.client-cards .client-card-content p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  color: var(--white);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

/* Image attribution note */
.image-note {
  font-size: 0.75rem;
  color: var(--gray-400);
  text-align: center;
  margin-top: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
  .split-section,
  .leadership-card,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split-section.reverse {
    direction: ltr;
  }

  .split-image img {
    height: 300px;
  }

  .leadership-info {
    padding: 32px;
  }

  .leadership-photo img {
    min-height: 280px;
  }

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-header {
    grid-template-columns: 120px 1fr auto;
  }

  .service-body-inner {
    padding-left: 24px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-grid .why-card {
    height: auto !important;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .header-nav-group {
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    border-bottom: 1px solid var(--gray-200);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    box-shadow: var(--shadow-md);
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 16px;
  }

  .header-nav-group .nav-cta {
    display: none;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-content {
    padding: 48px 0;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-header {
    grid-template-columns: 1fr;
  }

  .service-header-image {
    height: 160px;
  }

  .service-toggle {
    position: absolute;
    top: 16px;
    right: 16px;
    margin: 0;
  }

  .service-header {
    position: relative;
  }

  .service-header-text {
    padding: 16px 20px;
  }

  .capability-list {
    grid-template-columns: 1fr;
  }

  .client-cards .client-card {
    grid-template-columns: 1fr;
    height: auto !important;
  }

  .client-cards .client-card-image img {
    height: 220px;
    min-height: 220px;
  }

  .why-card {
    grid-template-columns: 1fr;
  }

  .experience-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .cta-banner {
    margin-left: 16px;
    margin-right: 16px;
  }
}
