/* ============================================
   Global Real Estate Solutions — Style System
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --navy: #1a2744;
  --navy-light: #2a3a5c;
  --navy-dark: #111b30;
  --gold: #b8860b;
  --gold-light: #d4a84b;
  --gold-hover: #a07508;
  --white: #ffffff;
  --off-white: #f5f5f0;
  --charcoal: #333333;
  --light-gray: #f8f8f6;
  --medium-gray: #e8e8e4;
  --text-muted: #666666;
  --border-color: #e0e0dc;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-pad: clamp(60px, 8vw, 120px);
  --container-max: 1200px;
  --container-pad: clamp(20px, 4vw, 40px);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.3s var(--ease-out);
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background-color: var(--white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 1.5vw, 1.35rem); }

p {
  margin-bottom: 1rem;
  color: var(--charcoal);
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.container--wide {
  max-width: 1400px;
}

/* --- Section --- */
.section {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

.section--navy {
  background-color: var(--navy);
  color: var(--white);
}

.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--white);
}

.section--navy p {
  color: rgba(255,255,255,0.85);
}

.section--off-white {
  background-color: var(--off-white);
}

.section--light {
  background-color: var(--light-gray);
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-header h2 {
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background-color: var(--gold);
  margin: 16px auto 0;
}

.section-header p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section--navy .section-header p {
  color: rgba(255,255,255,0.75);
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--navy);
  transition: background-color 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 120px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.header-logo img {
  height: 110px;
  width: auto;
  border-radius: 0;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color var(--transition-base);
  position: relative;
  white-space: nowrap;
}

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

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--gold);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  background-color: var(--gold);
  color: var(--white) !important;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: background-color var(--transition-base), transform 0.2s;
}

.nav-cta:hover {
  background-color: var(--gold-hover);
  transform: translateY(-1px);
}

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

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  gap: 6px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav */
@media (max-width: 1024px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 140px 32px 40px;
    gap: 0;
    transition: right 0.4s var(--ease-out);
    box-shadow: -4px 0 20px rgba(0,0,0,0.3);
    overflow-y: auto;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1.05rem;
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .nav-cta {
    margin-top: 16px;
    width: 100%;
    justify-content: center;
  }
}

/* Mobile overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

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

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(26, 39, 68, 0.75) 0%,
    rgba(26, 39, 68, 0.65) 50%,
    rgba(26, 39, 68, 0.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 60px var(--container-pad);
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 700;
}

.hero-content p {
  color: rgba(255,255,255,0.85);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sub-page Hero */
.hero--sub {
  min-height: auto;
  padding: 180px 0 80px;
  background-color: var(--navy);
}

.hero--sub .hero-content {
  padding: 0 var(--container-pad);
}

.hero--sub .hero-content h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
}

.hero--sub .hero-content p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

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

.btn--gold:hover {
  background-color: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(184,134,11,0.3);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.btn--navy {
  background-color: var(--navy);
  color: var(--white);
}

.btn--navy:hover {
  background-color: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(26,39,68,0.3);
}

.btn--outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn--outline-navy:hover {
  background-color: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: 8px;
  padding: clamp(28px, 3vw, 40px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.card--bordered {
  border: 1px solid var(--border-color);
  box-shadow: none;
}

.card--bordered:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

/* --- Grid Layouts --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3vw, 40px);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2vw, 32px);
}

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
}

/* --- Pillars Section --- */
.pillar-card {
  padding: clamp(32px, 4vw, 48px);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--white);
  transition: all 0.3s var(--ease-out);
}

.pillar-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.pillar-card h3 {
  margin-bottom: 16px;
}

.pillar-card p {
  color: var(--text-muted);
  margin-bottom: 24px;
  text-align: justify;
}

.link-arrow {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap var(--transition-base), color var(--transition-base);
}

.link-arrow:hover {
  gap: 12px;
  color: var(--gold-hover);
}

/* --- Values Section --- */
.value-item {
  text-align: center;
  padding: 32px 20px;
}

.value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon svg {
  width: 48px;
  height: 48px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.value-item h4 {
  margin-bottom: 12px;
}

.value-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  text-align: justify;
}

/* --- Founders Section --- */
.founder-card {
  display: flex;
  gap: clamp(24px, 3vw, 40px);
  align-items: flex-start;
  padding: clamp(24px, 3vw, 40px);
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.founder-photo {
  flex-shrink: 0;
  width: clamp(120px, 15vw, 180px);
  height: clamp(150px, 18vw, 220px);
  border-radius: 6px;
  overflow: hidden;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(10%);
}

.founder-info h3 {
  margin-bottom: 4px;
  white-space: nowrap;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
}

.founder-title {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 16px;
  display: block;
}

.founder-bio-short {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 12px;
  text-align: justify;
}

.founder-bio-full {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out), opacity 0.3s;
  opacity: 0;
  text-align: justify;
}

.founder-bio-full.open {
  max-height: 600px;
  opacity: 1;
}

.bio-toggle {
  background: none;
  border: none;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0;
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-base);
}

.bio-toggle:hover {
  color: var(--gold-hover);
}

.bio-toggle .toggle-icon {
  transition: transform 0.3s;
  font-size: 0.8rem;
}

.bio-toggle.open .toggle-icon {
  transform: rotate(180deg);
}

@media (max-width: 600px) {
  .founder-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .founder-photo {
    width: 160px;
    height: 200px;
  }
}

/* --- Stats Section --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item .stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gold-light);
  display: block;
  margin-bottom: 8px;
  white-space: nowrap;
}

.stat-item .stat-label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }
}

/* --- Team & Mission --- */
.two-col-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
}

.two-col-text h3 {
  margin-bottom: 20px;
  position: relative;
}

.two-col-text h3::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--gold);
  margin-top: 12px;
}

.two-col-text p {
  color: var(--text-muted);
  line-height: 1.8;
  text-align: justify;
}

@media (max-width: 768px) {
  .two-col-text {
    grid-template-columns: 1fr;
  }
}

/* --- CTA Section --- */
.cta-section {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.cta-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(26, 39, 68, 0.9) 0%,
    rgba(26, 39, 68, 0.8) 100%
  );
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 12px;
  font-style: normal;
  font-weight: 300;
}

.cta-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

/* --- Footer --- */
.site-footer {
  background-color: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo img {
  height: 80px;
  margin-bottom: 16px;
  border-radius: 0;
  object-fit: contain;
}

.footer-logo p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

.footer-nav h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.footer-nav a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  padding: 6px 0;
  transition: color var(--transition-base);
}

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

.footer-contact h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.footer-contact a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  padding: 4px 0;
}

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

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  transition: all var(--transition-base);
}

.social-links a:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(184,134,11,0.1);
}

.social-links a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

.footer-bottom a {
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
}

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

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.5s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* --- Process / Timeline --- */
.process-steps {
  position: relative;
  padding-left: 48px;
}

.process-steps::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
}

.process-step {
  position: relative;
  padding: 0 0 48px 32px;
}

.process-step:last-child {
  padding-bottom: 0;
}

.process-step-number {
  position: absolute;
  left: -40px;
  top: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
}

.process-step h4 {
  margin-bottom: 8px;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.95rem;
  text-align: justify;
}

/* --- Model Cards (Investor page) --- */
.model-card {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  transition: all 0.3s var(--ease-out);
}

.model-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.model-card-header {
  background: var(--navy);
  padding: 24px 28px;
}

.model-card-header .model-label {
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
  display: block;
}

.model-card-header h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 0;
}

.model-card-body {
  padding: 28px;
}

.model-card-body ul {
  margin-bottom: 24px;
}

.model-card-body li {
  position: relative;
  padding: 8px 0 8px 24px;
  font-size: 0.95rem;
  color: var(--charcoal);
  line-height: 1.6;
  text-align: justify;
}

.model-card-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.model-card-body .for-whom {
  background: var(--off-white);
  padding: 20px;
  border-radius: 6px;
  margin-top: 16px;
}

.model-card-body .for-whom h5 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin-bottom: 8px;
}

.model-card-body .for-whom p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
  text-align: justify;
}

/* --- Accordion --- */
.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.accordion-item.active {
  border-color: var(--gold);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  cursor: pointer;
  background: var(--white);
  transition: background 0.3s;
  gap: 16px;
}

.accordion-header:hover {
  background: var(--off-white);
}

.accordion-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.accordion-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
}

.accordion-item.active .accordion-number {
  background: var(--gold);
}

.accordion-header h4 {
  font-size: 1.1rem;
  margin: 0;
}

.accordion-header .accordion-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
  display: block;
}

.accordion-chevron {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  stroke: var(--charcoal);
  transition: transform 0.3s;
}

.accordion-item.active .accordion-chevron {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out);
}

.accordion-body-inner {
  padding: 0 28px 28px 80px;
}

.accordion-body-inner p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.8;
  text-align: justify;
}

.accordion-body-inner ul {
  margin-top: 8px;
}

.accordion-body-inner li {
  position: relative;
  padding: 6px 0 6px 24px;
  font-size: 0.95rem;
  color: var(--charcoal);
  line-height: 1.6;
}

.accordion-body-inner li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

@media (max-width: 768px) {
  .accordion-body-inner {
    padding-left: 28px;
  }
}

/* --- Testimonials --- */
.testimonials-grid {
  columns: 2;
  column-gap: 28px;
}

.testimonial-card {
  break-inside: avoid;
  margin-bottom: 28px;
  padding: clamp(28px, 3vw, 36px);
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

.testimonial-quote-icon {
  color: var(--gold);
  font-size: 2.5rem;
  line-height: 1;
  font-family: var(--font-heading);
  margin-bottom: 16px;
  display: block;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--charcoal);
  margin-bottom: 20px;
  font-style: italic;
  text-align: justify;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}

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

@media (max-width: 768px) {
  .testimonials-grid {
    columns: 1;
  }
}

/* --- Contact Page --- */
.contact-persons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.contact-person-card {
  padding: 32px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  text-align: center;
  transition: border-color 0.3s;
}

.contact-person-card:hover {
  border-color: var(--gold);
}

.contact-person-card h3 {
  margin-bottom: 16px;
}

.contact-person-card a {
  display: block;
  color: var(--text-muted);
  font-size: 0.95rem;
  padding: 4px 0;
  transition: color var(--transition-base);
}

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

@media (max-width: 600px) {
  .contact-persons {
    grid-template-columns: 1fr;
  }
}

/* --- Contact Form --- */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: var(--white);
  color: var(--charcoal);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,134,11,0.1);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.show {
  display: block;
}

.form-success h3 {
  margin-bottom: 12px;
}

.form-success p {
  color: var(--text-muted);
}

/* --- Company Info --- */
.company-info {
  text-align: center;
  padding: 40px 0;
}

.company-info h4 {
  margin-bottom: 16px;
}

.company-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

/* --- Map --- */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Audit Page --- */
.methodology-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 768px) {
  .methodology-cards {
    grid-template-columns: 1fr;
  }
}

.methodology-card {
  padding: 32px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--white);
  transition: all 0.3s var(--ease-out);
}

.methodology-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  transform: translateY(-4px);
}

.methodology-card .card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 20px;
  font-family: var(--font-body);
}

.methodology-card h4 {
  margin-bottom: 12px;
}

.methodology-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
  text-align: justify;
}

.methodology-card li {
  position: relative;
  padding: 6px 0 6px 20px;
  font-size: 0.9rem;
  color: var(--charcoal);
  line-height: 1.6;
}

.methodology-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* Report section */
.report-section {
  background: var(--off-white);
  border-radius: 12px;
  padding: clamp(32px, 4vw, 56px);
}

.report-section h3 {
  margin-bottom: 8px;
}

.report-section .report-timeline {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 24px;
  display: block;
}

.report-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.report-item {
  padding: 24px;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.report-item h5 {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.report-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
  text-align: justify;
}

@media (max-width: 768px) {
  .report-items {
    grid-template-columns: 1fr;
  }
}

/* Quality guarantee */
.guarantee-block {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 32px;
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: 8px;
}

.guarantee-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}

.guarantee-icon svg {
  width: 48px;
  height: 48px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.guarantee-block h4 {
  margin-bottom: 8px;
}

.guarantee-block p {
  color: var(--text-muted);
  margin-bottom: 0;
  text-align: justify;
}

@media (max-width: 600px) {
  .guarantee-block {
    flex-direction: column;
  }
}

/* --- Differentiators --- */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 768px) {
  .diff-grid {
    grid-template-columns: 1fr;
  }
}

.diff-item {
  text-align: center;
  padding: 32px 24px;
}

.diff-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.diff-icon svg {
  width: 44px;
  height: 44px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.diff-item h4 {
  margin-bottom: 12px;
}

.diff-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  text-align: justify;
}

/* --- Problem list --- */
.problem-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 1rem;
  color: var(--charcoal);
  line-height: 1.7;
}

.problem-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.pt-0 { padding-top: 0; }

/* --- Gold underline for all subpage standalone headings --- */
.gold-underline {
  position: relative;
  display: inline-block;
}

.gold-underline::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background-color: var(--gold);
  margin: 16px auto 0;
}

.gold-underline--left::after {
  margin-left: 0;
}

/* Ensure hero--sub h1 also gets gold underline */
.hero--sub .hero-content h1 {
  position: relative;
  display: inline-block;
}

.hero--sub .hero-content h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background-color: var(--gold);
  margin: 20px auto 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .fade-up, .fade-in, .stagger-children > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
