/* ============================================
   HEIRSTONE CONSULTING & STRATEGIC ADVISORY
   Global Styles
   ============================================ */

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

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

:root {
  --dark-navy: #0d1b2a;
  --navy: #112233;
  --navy-footer: #0f1e2d;
  --gold: #c9a84c;
  --gold-light: #d4b86a;
  --text-primary: #1a2a3a;
  --text-secondary: #4a5568;
  --text-light: #718096;
  --bg-light: #f5f7fa;
  --bg-white: #ffffff;
  --border: #e2e8f0;
  --card-shadow: 0 2px 12px rgba(0,0,0,0.07);
  --card-shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.6;
  font-size: 15px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

img {
  max-width: 100%;
  display: block;
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(10px);
  padding: 0 60px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-logo {
  width: 38px;
  height: 38px;
}

.navbar-brand-text {
  color: #ffffff;
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.navbar-nav li a {
  color: rgba(255,255,255,0.82);
  font-size: 13.5px;
  font-weight: 400;
  padding: 8px 14px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.02em;
}

.navbar-nav li a:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.07);
}

.navbar-nav .dropdown {
  position: relative;
}

.navbar-nav .dropdown > a::after {
  content: ' ▾';
  font-size: 10px;
  opacity: 0.6;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--dark-navy);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 6px;
  min-width: 220px;
  padding: 8px 0;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 9px 18px;
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  transition: all 0.2s;
}

.dropdown-menu a:hover {
  color: var(--gold);
  background: rgba(255,255,255,0.04);
  padding-left: 24px;
}

.navbar-cta {
  background: var(--gold) !important;
  color: var(--dark-navy) !important;
  font-weight: 600 !important;
  padding: 9px 20px !important;
  border-radius: 4px !important;
  transition: background 0.2s !important;
}

.navbar-cta:hover {
  background: var(--gold-light) !important;
  color: var(--dark-navy) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================
   PAGE HERO (service pages)
   ============================================ */

.page-hero {
  background: var(--dark-navy);
  padding: 120px 60px 60px;
  text-align: center;
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

/* ============================================
   HOME HERO
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--dark-navy);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1486325212027-8081e485255e?q=80&w=2070');
  background-size: cover;
  background-position: center;
  opacity: 0.22;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 80px;
  max-width: 700px;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: 16px;
  color: rgba(255,255,255,0.72);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--dark-navy);
  font-weight: 600;
  font-size: 14px;
  padding: 13px 28px;
  border-radius: 4px;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
  background: var(--gold-light);
  color: var(--dark-navy);
  transform: translateY(-1px);
}

/* ============================================
   SECTION COMMON
   ============================================ */

.section {
  padding: 80px 60px;
}

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

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 16px;
  line-height: 1.7;
}

/* ============================================
   STRATEGY SECTORS (HOME)
   ============================================ */

.sectors-section {
  padding: 80px 60px;
  background: var(--bg-white);
}

.sectors-section .section-title {
  text-align: center;
  margin-bottom: 8px;
}

.sectors-section .section-subtitle {
  text-align: center;
  margin-bottom: 48px;
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.sector-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 24px;
  transition: all 0.3s;
  cursor: pointer;
}

.sector-card:hover {
  box-shadow: var(--card-shadow-hover);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.sector-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  color: var(--gold);
}

.sector-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.sector-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Service sub-listing */
.services-listing {
  margin-top: 40px;
}

.services-category {
  margin-bottom: 60px;
}

.services-category-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 8px;
}

.services-category-desc {
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.services-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.service-tag {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  background: var(--bg-white);
  transition: all 0.2s;
  cursor: pointer;
}

.service-tag:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.04);
}

/* ============================================
   ABOUT SECTION (HOME)
   ============================================ */

.about-section {
  padding: 80px 60px;
  background: var(--bg-light);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ============================================
   WHY CHOOSE (HOME)
   ============================================ */

.why-section {
  padding: 80px 60px;
  background: var(--bg-white);
}

.why-section .section-title {
  text-align: center;
  margin-bottom: 8px;
}

.divider-gold {
  width: 50px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 48px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.why-item {
  text-align: center;
  padding: 20px;
}

.why-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--gold);
}

.why-item h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.why-item p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================
   CONTACT SECTION (HOME)
   ============================================ */

.contact-section {
  padding: 80px 60px;
  background: var(--dark-navy);
}

.contact-section .section-title {
  color: #ffffff;
  text-align: center;
  margin-bottom: 40px;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 900px;
  margin: 0 auto;
  align-items: start;
}

.contact-info h3 {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-icon {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-item span {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-input {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  padding: 12px 16px;
  font-size: 14px;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-input::placeholder {
  color: rgba(255,255,255,0.4);
}

.form-input:focus {
  border-color: var(--gold);
}

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

/* ============================================
   SERVICE DETAIL PAGE
   ============================================ */

.service-intro {
  padding: 60px 60px 40px;
  text-align: center;
  background: var(--bg-light);
}

.service-intro p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.8;
}

.methodology-section {
  padding: 50px 60px 80px;
  background: var(--bg-light);
}

.methodology-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  color: var(--text-primary);
  margin-bottom: 40px;
}

.method-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 680px;
  margin: 0 auto;
}

.method-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  box-shadow: var(--card-shadow);
  transition: all 0.3s;
}

.method-card:hover {
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(201, 168, 76, 0.3);
}

.method-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.method-card-icon svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

.method-card-body h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.method-card-body p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--navy-footer);
  padding: 60px 60px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.4;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all 0.2s;
}

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

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item span {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 24px;
  }
  .navbar-nav {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hero-content {
    padding: 0 24px;
  }
  .hero-content h1 {
    font-size: 36px;
  }
  .section, .sectors-section, .about-section, .why-section, .contact-section {
    padding: 60px 24px;
  }
  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sectors-grid {
    grid-template-columns: 1fr 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer {
    padding: 48px 24px 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .page-hero {
    padding: 100px 24px 50px;
  }
  .page-hero h1 {
    font-size: 30px;
  }
  .service-intro, .methodology-section {
    padding: 40px 24px;
  }
}

@media (max-width: 480px) {
  .sectors-grid {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--dark-navy);
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  padding: 20px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mobile-nav a:hover {
  color: var(--gold);
}
