:root {
  --navy: #1E3A5F;
  --navy-dark: #142840;
  --gold: #C9A85C;
  --gold-dark: #A88941;
  --grey-bg: #F4F6F8;
  --grey-border: #E1E6EC;
  --grey-text: #5A6776;
  --text: #2C3E50;
  --white: #FFFFFF;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Manrope', 'Inter', sans-serif;
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.65rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }

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

a { color: var(--navy); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-dark); }

.demo-banner {
  background: var(--navy-dark);
  color: var(--white);
  padding: 0.5rem 1rem;
  text-align: center;
  font-size: 0.82rem;
}
.demo-banner a { color: var(--gold); text-decoration: underline; }

.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

header {
  padding: 1.25rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--grey-border);
  position: sticky;
  top: 0;
  z-index: 10;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  font-family: 'Manrope', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.logo .accent { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}
.nav-links a { color: var(--text); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--navy); }

.btn {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 0.8rem 1.75rem;
  border-radius: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.1s;
  border: none;
  cursor: pointer;
}
.btn:hover { background: var(--navy-dark); color: var(--white); transform: translateY(-1px); }

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

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

.hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
}

.hero h1 { color: var(--white); }
.hero p.lead {
  font-size: 1.2rem;
  max-width: 620px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-image {
  width: 100%;
  height: 400px;
  background: url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?w=900&q=80') center/cover no-repeat;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.1);
}

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero .btn { background: var(--gold); color: var(--navy-dark); }
.hero .btn:hover { background: var(--white); }
.hero .btn-outline { background: transparent; border-color: rgba(255,255,255,0.4); color: var(--white); }
.hero .btn-outline:hover { background: rgba(255,255,255,0.1); }

section {
  padding: 4.5rem 0;
}

section.alt { background: var(--grey-bg); }

.section-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-intro p {
  font-size: 1.1rem;
  color: var(--grey-text);
}

.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.service-card {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: 0.4rem;
  padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(30, 58, 95, 0.08);
  border-color: var(--gold);
}

.service-card h3 { color: var(--navy); margin-bottom: 0.75rem; }
.service-card p { font-size: 0.95rem; color: var(--grey-text); }

.icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 0.3rem;
  background: var(--grey-bg);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-weight: 800;
  font-family: 'Manrope', sans-serif;
  font-size: 1.1rem;
  border: 1px solid var(--grey-border);
}

.pillar {
  padding: 1.5rem 0;
}
.pillar h3 { color: var(--navy); }
.pillar p { color: var(--grey-text); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.team-card {
  text-align: center;
}

.team-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin: 0 auto 1rem;
  border: 3px solid var(--grey-bg);
}

.team-card h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.team-card .role { color: var(--gold-dark); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.5rem; }
.team-card p { font-size: 0.9rem; color: var(--grey-text); }

.testimonial {
  background: var(--white);
  border-left: 4px solid var(--gold);
  padding: 1.5rem 2rem;
  border-radius: 0.35rem;
  box-shadow: 0 4px 12px rgba(30,58,95,0.05);
}
.testimonial p { font-style: italic; color: var(--text); margin-bottom: 0.75rem; }
.testimonial cite { font-style: normal; font-weight: 600; color: var(--navy); font-size: 0.95rem; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: 0.35rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.75rem;
}
.faq-item h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.faq-item p { color: var(--grey-text); margin-bottom: 0; font-size: 0.95rem; }

.cta-section {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 5rem 0;
}
.cta-section h2 { color: var(--white); }
.cta-section p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 1rem auto 2rem; }

footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 3rem 0 2rem;
  font-size: 0.92rem;
}
footer a { color: var(--gold); }
footer .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }
footer ul { list-style: none; }
footer li { margin-bottom: 0.4rem; }
footer .footer-logo { color: var(--white); font-size: 1.2rem; margin-bottom: 0.5rem; }
footer .bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; font-size: 0.85rem; text-align: center; opacity: 0.7; }

.blog-list {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: 0.4rem;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(30, 58, 95, 0.08);
}

.blog-card-image {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
}

.blog-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.blog-card-meta { font-size: 0.85rem; color: var(--grey-text); margin-bottom: 0.5rem; }
.blog-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.blog-card p { font-size: 0.92rem; color: var(--grey-text); margin-bottom: 0.75rem; }

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
label { font-weight: 600; color: var(--navy); font-size: 0.9rem; }
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--grey-border);
  border-radius: 0.35rem;
  background: var(--white);
  color: var(--text);
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(30,58,95,0.1);
}
textarea { min-height: 140px; resize: vertical; }

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

.calendly-placeholder {
  background: var(--grey-bg);
  border: 2px dashed var(--grey-border);
  border-radius: 0.4rem;
  padding: 2.5rem 2rem;
  text-align: center;
  color: var(--grey-text);
}
.calendly-placeholder strong { color: var(--navy); }

.service-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.service-list li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  color: var(--text);
}
.service-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold-dark);
  font-weight: 800;
}

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image { height: 260px; order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  footer .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { gap: 1rem; font-size: 0.9rem; }
  section { padding: 3rem 0; }
}
