:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-alt: #eef3f7;
  --ink: #111827;
  --heading: #07111f;
  --muted: #5c6675;
  --line: #d9e1ea;
  --navy: #10233f;
  --blue: #1967d2;
  --teal: #0f8b8d;
  --green: #2f7d55;
  --shadow: 0 18px 45px rgba(16, 35, 63, .10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

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

a {
  color: var(--blue);
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--heading);
  font-size: 1.08rem;
  font-weight: 850;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.brand::before {
  width: 30px;
  height: 30px;
  margin-right: 10px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, var(--blue), var(--teal));
  content: "";
}

.brand span {
  color: var(--blue);
}

nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

nav a {
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: .94rem;
  font-weight: 700;
  text-decoration: none;
}

nav a:hover,
nav a.active {
  color: var(--heading);
  background: var(--surface-alt);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 76px;
  background:
    linear-gradient(105deg, #ffffff 0%, #f7faff 48%, #edf5f5 100%);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  inset: auto 0 0 0;
  height: 112px;
  background: linear-gradient(180deg, rgba(246, 248, 251, 0), var(--bg));
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .9fr);
  align-items: center;
  gap: 56px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--heading);
}

h1 {
  max-width: 980px;
  margin-bottom: 22px;
  font-size: clamp(2.55rem, 6vw, 5rem);
  line-height: .98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.28;
}

.lead {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.13rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 12px 26px rgba(25, 103, 210, .20);
}

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

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.signal-row span {
  padding: 7px 10px;
  border: 1px solid #cfdce8;
  border-radius: 6px;
  color: var(--navy);
  background: rgba(255, 255, 255, .72);
  font-size: .87rem;
  font-weight: 750;
}

.hero-media {
  position: relative;
  overflow: hidden;
  border: 1px solid #cbd7e5;
  border-radius: 8px;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  background: var(--surface);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.9) contrast(1.03);
}

.hero-note {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 8px;
  color: #fff;
  background: rgba(16, 35, 63, .86);
  backdrop-filter: blur(14px);
}

.hero-note span {
  display: block;
  margin-bottom: 4px;
  color: #8adfe2;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-note strong {
  display: block;
  line-height: 1.25;
}

.section,
.page {
  padding: 76px 0;
}

.page > h1 {
  margin-bottom: 42px;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
  gap: 60px;
}

.prose {
  color: var(--muted);
  font-size: 1.03rem;
}

.prose p {
  max-width: 780px;
}

.band {
  padding: 76px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 840px;
}

.service-grid,
.expertise-grid,
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-grid {
  margin-top: 30px;
}

.service-grid article,
.expertise-grid article,
.leadership-grid article,
.case-study,
.contact-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(16, 35, 63, .045);
}

.service-grid article,
.expertise-grid article,
.leadership-grid article {
  position: relative;
  padding: 24px;
}

.service-grid article::before,
.expertise-grid article::before,
.leadership-grid article::before {
  display: block;
  width: 34px;
  height: 3px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--teal);
  content: "";
}

.service-grid article:nth-child(3n+2)::before,
.expertise-grid article:nth-child(3n+2)::before,
.leadership-grid article:nth-child(3n+2)::before {
  background: var(--blue);
}

.service-grid article:nth-child(3n)::before,
.expertise-grid article:nth-child(3n)::before,
.leadership-grid article:nth-child(3n)::before {
  background: var(--green);
}

.service-grid p,
.leadership-grid p {
  color: var(--muted);
  margin-bottom: 0;
}

.focus-list,
.skill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.focus-list span,
.skill-cloud span,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 11px;
  border-radius: 6px;
  color: var(--navy);
  background: #edf5f8;
  border: 1px solid #c9dde7;
  font-size: .87rem;
  font-weight: 750;
}

.quote-band {
  padding: 64px 0;
  color: #fff;
  background:
    linear-gradient(115deg, var(--navy), #123f4a 58%, #1d563f);
}

.quote-band p {
  max-width: 960px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 2.7vw, 2.25rem);
  line-height: 1.24;
}

.case-study {
  position: relative;
  padding: 30px;
  margin-bottom: 18px;
}

.case-study::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 8px 0 0 8px;
  background: var(--blue);
  content: "";
}

.case-study:nth-of-type(2)::before {
  background: var(--teal);
}

.case-study:nth-of-type(3)::before {
  background: var(--green);
}

.case-study h2 {
  margin-top: 12px;
  font-size: clamp(1.4rem, 2.7vw, 2.15rem);
}

.case-study p {
  color: var(--muted);
}

.feature-list {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.feature-list li {
  margin: 8px 0;
}

.expertise-grid {
  margin-top: 36px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.expertise-grid h2 {
  font-size: 1.22rem;
}

.expertise-grid ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.leadership-section {
  padding-bottom: 0;
}

.leadership-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.contact-page {
  min-height: calc(100vh - 160px);
}

.contact-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 34px;
}

.contact-link {
  display: grid;
  gap: 4px;
  padding: 26px;
  color: var(--ink);
  background: var(--surface);
  text-decoration: none;
}

.contact-link:hover {
  background: var(--surface-alt);
}

.contact-link span {
  color: var(--blue);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.contact-link strong {
  overflow-wrap: anywhere;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  color: var(--muted);
}

.footer-row a {
  font-weight: 800;
  text-decoration: none;
}

.center {
  display: grid;
  align-content: center;
  min-height: 100vh;
}

@media (max-width: 900px) {
  .hero-grid,
  .about-layout,
  .service-grid,
  .expertise-grid,
  .leadership-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-media {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
    gap: 10px;
  }

  nav {
    width: 100%;
  }

  nav a {
    padding: 7px 9px;
  }

  h1 {
    font-size: clamp(2.1rem, 11vw, 3.25rem);
  }

  .section,
  .page,
  .band {
    padding: 52px 0;
  }

  .actions,
  .footer-row {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-note {
    position: static;
    border-radius: 0;
  }
}

/* CTA SECTION */
.cta-section {
  background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
  color: white;
  padding: 76px 0;
  border-radius: 12px;
  margin: 0;
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  color: white;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.cta-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  opacity: 0.95;
}

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

.cta-buttons .btn {
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 600;
}

.cta-buttons .btn.primary {
  background: white;
  color: var(--blue);
}

.cta-buttons .btn.secondary {
  border: 2px solid white;
  color: white;
  background: transparent;
}

/* BLOG STYLES */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.blog-post-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-post-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: var(--blue);
}

.blog-post-header h3 {
  margin: 0 0 1rem 0;
  font-size: 1.3rem;
  color: var(--heading);
  line-height: 1.4;
}

.blog-post-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.blog-category {
  background: var(--blue-light);
  color: var(--blue);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-weight: 600;
}

.blog-date {
  color: var(--muted);
}

.blog-reading-time {
  color: var(--muted);
}

.blog-excerpt {
  color: var(--text);
  line-height: 1.6;
  margin-bottom: auto;
  padding: 1rem 0;
}

.blog-read-more {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 1rem;
  transition: all 0.2s ease;
}

.blog-read-more:hover {
  color: var(--teal);
  text-decoration: underline;
}

.blog-post-placeholder {
  background: var(--surface-alt);
  border: 2px dashed var(--line);
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
}

.placeholder-content h3 {
  color: var(--blue);
  margin: 1rem 0;
}

.blog-tips {
  text-align: left;
  background: var(--surface);
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 1.5rem;
}

.blog-tips ul {
  list-style: none;
  padding: 0;
}

.blog-tips li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.blog-tips li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: bold;
}

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

.benefit {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--blue);
}

.benefit h3 {
  margin-top: 0;
  color: var(--heading);
  font-size: 1.1rem;
}

.benefit p {
  color: var(--muted);
  line-height: 1.6;
}

.steps {
  display: grid;
  gap: 2rem;
  margin: 2rem 0;
}

.step {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.step-number {
  background: var(--blue);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.step-content h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--heading);
}

.step-content p {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.content-calendar {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(16, 35, 63, .05);
}

.content-calendar th {
  background: var(--blue);
  color: white;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

.content-calendar td {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}

.content-calendar tr:last-child td {
  border-bottom: none;
}

.content-calendar tr:nth-child(even) {
  background: var(--bg);
}

/* QUICK BOOKING SECTION */
.quick-booking {
  background: linear-gradient(135deg, #e3f2fd 0%, #f0f4c3 100%);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  margin: 2rem 0;
  border: 2px solid var(--blue);
}

.quick-booking .btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1.1rem;
  font-weight: 600;
}

.or-text {
  display: block;
  margin: 1rem 0;
  color: var(--muted);
  font-weight: 600;
}

/* ENHANCED MOBILE STYLES */
@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .blog-benefits {
    grid-template-columns: 1fr;
  }

  .step {
    grid-template-columns: 1fr;
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  /* Mobile-friendly buttons */
  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 1rem;
  }

  /* Hero improvements */
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    order: 2;
  }

  .hero-media {
    order: 1;
    margin-bottom: 2rem;
  }

  /* Quick booking on mobile */
  .quick-booking {
    padding: 1.5rem;
    margin: 1.5rem 0;
  }

  .quick-booking .btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 1rem;
  }

  /* Contact form improvements */
  .contact-form {
    padding: 1.25rem;
  }

  /* Service grid mobile */
  .services-grid,
  .connect-options {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-item,
  .connect-item {
    padding: 1.25rem;
  }

  /* Blog improvements */
  .blog-post {
    padding-top: 24px;
    padding-bottom: 40px;
  }

  .blog-meta {
    font-size: 0.85rem;
    gap: 1rem;
  }

  /* Calendly widget mobile */
  .calendly-inline-widget {
    min-height: 500px;
  }

  /* Navigation mobile */
  .nav {
    flex-wrap: wrap;
    gap: 1rem;
  }

  nav {
    gap: 0.5rem;
    font-size: 0.95rem;
  }

  nav a {
    padding: 0.5rem 0.75rem;
  }

  /* Footer mobile */
  .footer-row {
    font-size: 0.9rem;
  }
}
