:root {
  --sim-bg: #f6f9fc;
  --sim-surface: #ffffff;
  --sim-text: #344054;
  --sim-heading: #0b1220;
  --sim-teal: #59d8c2;
  --sim-blue: #50b6de;
  --sim-purple: #7459d9;
  --sim-border: #d9e2ec;
}

body {
  background:
    radial-gradient(circle at 10% 0%, rgba(80, 182, 222, 0.10), transparent 35%),
    radial-gradient(circle at 95% 10%, rgba(116, 89, 217, 0.10), transparent 30%),
    var(--sim-bg);
}

.hero-card,
.service-card,
.contact-card,
.form-card {
  background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
  border: 1px solid var(--sim-border);
  box-shadow: 0 12px 30px rgba(11, 18, 32, 0.06);
}

.hero-card {
  border-top: 4px solid var(--sim-blue);
}

.service-card:nth-child(3n+1) { border-top: 4px solid var(--sim-teal); }
.service-card:nth-child(3n+2) { border-top: 4px solid var(--sim-blue); }
.service-card:nth-child(3n+3) { border-top: 4px solid var(--sim-purple); }

.pill {
  background: #f2f8ff;
  border-color: #c9d9ee;
  color: #1d3557;
}

.section.expertise {
  background: linear-gradient(135deg, rgba(89,216,194,0.12) 0%, rgba(80,182,222,0.10) 60%, rgba(116,89,217,0.12) 100%);
}

.sim-btn-primary {
  background: linear-gradient(120deg, #59d8c2 0%, #50b6de 55%, #7459d9 100%);
  color: #ffffff;
  border: 0;
  box-shadow: 0 10px 24px rgba(80, 182, 222, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sim-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(80, 182, 222, 0.45);
}

.sim-btn-secondary {
  background: #ffffff;
  border: 1px solid #c9d9ee;
  color: #1d3557;
}

.sim-form input:focus,
.sim-form textarea:focus,
.sim-form select:focus {
  outline: none;
  border-color: #50b6de;
  box-shadow: 0 0 0 3px rgba(80, 182, 222, 0.18);
}

.form-card {
  border-top: 4px solid #7459d9;
}

.contact-card {
  border-top: 4px solid #59d8c2;
}

.hero h1 {
  letter-spacing: -0.02em;
  max-width: 13ch;
}

.hero p {
  max-width: 58ch;
  color: #344054;
}

.section-title {
  letter-spacing: -0.01em;
}

.service-card h3 {
  color: #0f172a;
}

.service-card p,
.contact-card p,
.contact-card li,
.form-card label {
  color: #334155;
}

.section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (max-width: 900px) {
  .hero h1 {
    max-width: 100%;
  }

  .section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

.service-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(80, 182, 222, 0.18);
}

.hero-grid {
  grid-template-columns: 1.35fr 0.95fr;
  align-items: start;
  column-gap: 3rem;
}

.hero h1 {
  max-width: 18ch;
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  line-height: 1.08;
}

.hero-card {
  margin-top: 2.2rem;
}

/* Fix double background on About page CTA */
.wp-block-button.sim-btn.sim-btn-primary {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.wp-block-button.sim-btn.sim-btn-primary .wp-block-button__link {
  background: linear-gradient(120deg, #59d8c2 0%, #50b6de 55%, #7459d9 100%) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 24px rgba(80, 182, 222, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wp-block-button.sim-btn.sim-btn-primary .wp-block-button__link:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(80, 182, 222, 0.45);
}

/* Fix "What We Do" alignment and keep text/pills on same grid */
.section.expertise .sim-container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.section.expertise .section-title,
.section.expertise .section-intro,
.section.expertise ul,
.section.expertise .pill-list {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.section.expertise .section-intro {
  max-width: 70ch;
}

.section.expertise .pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
/* Add breathing room inside "What We Do" block */
.section.expertise {
  padding-left: 28px !important;
  padding-right: 28px !important;
}

@media (max-width: 768px) {
  .section.expertise {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}

/* Mobile fix */
@media (max-width: 900px) {
  .site-header-inner {
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 0;
  }

  .primary-menu ul {
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
  }

  .hero {
    padding: 28px 0 20px;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 18px;
  }

  .hero-card {
    margin-top: 0 !important;
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 2.8rem) !important;
    line-height: 1.1;
    max-width: 100% !important;
  }

  .hero p {
    max-width: 100%;
  }

  .sim-btn {
    width: 100%;
    text-align: center;
  }

  .service-grid,
  .contact-wrap {
    grid-template-columns: 1fr !important;
  }

  .section.expertise {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .pill-list {
    gap: 8px;
  }

  .pill {
    font-size: 0.95rem;
    padding: 8px 12px;
  }
}

