:root {
  --ink: #17243a;
  --muted: #5f6f82;
  --line: #d8e0e8;
  --bg: #f6f8fa;
  --white: #ffffff;
  --blue: #2f485d;
  --blue-dark: #2f485d;
  --accent: #bd4b39;
  --soft-blue: #e9f0f5;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

main {
  flex: 1 0 auto;
}

a {
  color: inherit;
}

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--white);
  color: var(--blue-dark);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-dark);
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 34px;
  height: auto;
}

.brand::after {
  content: "Sidera Consulting";
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
  font-weight: 700;
}

.nav a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid #d5dde4;
  border-radius: 4px;
  background: #edf2f5;
  color: #2f485d;
  text-decoration: none;
}

.nav a:hover {
  border-color: #aab9c5;
  background: #dfe8ee;
  color: #263f54;
}

.nav a.nav-button {
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--accent);
  border-bottom-color: var(--accent);
  border-radius: 4px;
  background: var(--accent);
  color: white;
}

.nav a.nav-button:hover {
  background: #a53d2d;
  border-color: #a53d2d;
  color: white;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 36px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0 15px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  background: var(--accent);
  color: white;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}

.menu-toggle:hover {
  background: #a53d2d;
  border-color: #a53d2d;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 76px;
  border-bottom: 1px solid #2f4a5f;
  background:
    linear-gradient(135deg, #263f54 0%, #385874 42%, #526d86 72%, #6f8192 100%);
  color: #f7fafb;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: block;
}

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

h1 {
  max-width: 1040px;
  margin-bottom: 22px;
  font-size: clamp(2.1rem, 3.5vw, 3.15rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.3;
}

.hero-copy > p {
  max-width: 760px;
  margin-bottom: 28px;
  color: rgba(247, 250, 251, 0.82);
  font-size: 1.3rem;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 0;
  background: var(--accent);
  color: white;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
}

.button:hover {
  background: #a53d2d;
}

.checklist ul {
  margin: 0;
  padding-left: 19px;
}

.section {
  padding: 72px 0;
}

.intro-section {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.85fr);
  gap: 54px;
  align-items: start;
}

.intro-grid h2 {
  margin-bottom: 0;
}

.intro-grid p,
.section-heading p,
.service-card p,
.contact-box p,
.footer-inner {
  color: var(--muted);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 30px;
}

.section-heading.compact {
  display: block;
  margin-bottom: 16px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading p {
  max-width: 430px;
  margin-bottom: 3px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 3px solid #aabdcf;
  border-radius: 6px;
  background: var(--white);
}

.service-card p {
  margin-bottom: 22px;
}

.learn-more {
  width: fit-content;
  margin-top: auto;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.learn-more span {
  display: inline-block;
  margin-left: 4px;
}

.learn-more:hover {
  text-decoration: underline;
}

.service-card:nth-child(2) {
  border-top-color: #9bb7b3;
}

.service-card:nth-child(3) {
  border-top-color: #d6b46d;
}

.service-card:nth-child(4) {
  border-top-color: #1c3165;
}

.problems-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

main > .problems-section:last-child {
  border-bottom: 0;
}

.problems-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 60px;
  align-items: start;
}

.problems-grid p {
  max-width: 690px;
}

.checklist {
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 3px solid #d6b46d;
  border-radius: 6px;
  background: #fafbfc;
}

.fit-copy {
  display: grid;
  gap: 14px;
}

.fit-copy p {
  margin-bottom: 0;
}

.fit-items {
  display: grid;
  gap: 18px;
}

.fit-items p {
  margin-bottom: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: #3b4752;
}

.fit-items p:first-child {
  padding-top: 0;
  border-top: 0;
}

.fit-items strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
}

.about-proof {
  display: grid;
  gap: 0;
  margin-top: 28px;
  padding: 4px 0 4px 18px;
  border-left: 3px solid rgba(189, 75, 57, 0.68);
}

.about-proof div {
  position: relative;
  padding: 0 0 18px 20px;
}

.about-proof div:last-child {
  padding-bottom: 0;
}

.about-proof div::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: -24px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px #f5e5e1;
}

.about-proof strong {
  display: block;
  color: var(--blue);
  font-size: 1rem;
  font-weight: 700;
}

.about-proof span {
  display: block;
  max-width: 560px;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.contact-section {
  background: #eef3f7;
}

.contact-box {
  display: block;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.embed-panel {
  max-width: 820px;
  margin: 26px auto 0;
  padding: 0;
  border: 1px dashed #b9c8d6;
  border-radius: 6px;
  background: #ffffff;
  overflow: hidden;
}

.embed-panel h3 {
  margin: 0;
  padding: 22px 24px 0;
}

.embed-panel p {
  margin: 0;
  padding: 4px 24px 16px;
  color: var(--muted);
}

.calendly-inline-widget {
  width: 100%;
  min-width: 0 !important;
}

.embed-placeholder {
  display: grid;
  min-height: 170px;
  place-items: center;
  border: 1px solid var(--line);
  border-width: 1px 0 0;
  background: #f8fafc;
  color: #7a8794;
  font-size: 14px;
}

.contact-box h2 {
  margin-bottom: 10px;
  text-align: center;
}

.contact-box p {
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
}

.site-footer {
  padding: 30px 0;
  border-top: 1px solid #2c3033;
  background: #34383b;
  color: white;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  font-size: 14px;
}

.footer-inner div {
  display: grid;
  gap: 4px;
}

.footer-details {
  text-align: left;
}

.footer-inner strong {
  color: white;
}

.footer-inner a {
  color: rgba(255, 255, 255, 0.86);
}

.footer-inner,
.footer-inner div,
.footer-inner span {
  color: rgba(255, 255, 255, 0.76);
}

.footer-nav {
  display: grid;
  justify-content: end;
  gap: 8px;
  text-align: right;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
  text-decoration: none;
}

.footer-nav a:hover {
  color: white;
}

.footer-inner .footer-logo-slot {
  min-height: 58px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 6px;
  background: white;
  color: var(--blue-dark);
  font-size: 16px;
  font-weight: 700;
}

.footer-inner .footer-logo-slot img {
  display: block;
  width: 34px;
  height: auto;
}

.footer-inner .footer-logo-slot::after {
  content: "Sidera Consulting";
}

@media (max-width: 820px) {
  .header-inner,
  .hero-grid,
  .intro-grid,
  .section-heading,
  .problems-grid,
  .contact-box,
  .footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .header-inner {
    position: relative;
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }

  .site-header {
    padding: 10px 0;
  }

  .brand {
    margin-bottom: 0;
  }

  .brand img {
    width: 32px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 20;
    display: none;
    min-width: 172px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--white);
    box-shadow: 0 12px 24px rgba(23, 36, 58, 0.12);
  }

  .nav.is-open {
    display: grid;
    gap: 8px;
  }

  .nav a,
  .nav a.nav-button {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding: 48px 0 54px;
  }

  .checklist {
    margin-top: 28px;
  }

  h1 {
    font-size: clamp(2rem, 9vw, 2.65rem);
  }

  .hero-copy > p {
    font-size: 1.08rem;
  }

  .section {
    padding: 48px 0;
  }

  .section-heading p {
    margin-top: 10px;
  }

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

  .service-detail-grid,
  .service-points,
  .service-list,
  .service-cta {
    display: block;
  }

  .about-proof {
    margin-top: 22px;
  }

  .service-side,
  .service-cta {
    margin-top: 20px;
  }

  .service-points li,
  .service-list li {
    margin-top: 10px;
  }

  .contact-box {
    padding: 24px;
  }

  .contact-box .button {
    width: 100%;
    margin-top: 18px;
  }

  .footer-details {
    order: 1;
  }

  .footer-nav {
    order: 2;
    margin: 0;
    justify-content: start;
    text-align: left;
  }

  .footer-logo-slot {
    order: 3;
    width: fit-content;
    margin-top: 0;
  }
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0;
  border-bottom: 1px solid #2f4a5f;
  background:
    linear-gradient(135deg, #263f54 0%, #385874 42%, #526d86 72%, #6f8192 100%);
  color: #f7fafb;
}

.page-hero-nationbuilder {
  background:
    linear-gradient(135deg, #1f485f 0%, #2f6f87 38%, #5b7f90 70%, #82939b 100%);
}

.page-hero-crm {
  background:
    linear-gradient(135deg, #31475a 0%, #51687a 38%, #72808a 70%, #8f928f 100%);
}

.page-hero-web {
  background:
    linear-gradient(135deg, #244160 0%, #2f6386 36%, #5b7f96 68%, #87969b 100%);
}

.page-hero-campaign {
  background:
    linear-gradient(135deg, #3a4350 0%, #64616c 36%, #856f70 68%, #9b8173 100%);
}

.page-hero h1 {
  margin-bottom: 12px;
}

.page-hero p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(247, 250, 251, 0.82);
  font-size: 1.15rem;
}

.detail-list {
  display: grid;
  gap: 18px;
}

.detail-list article {
  padding: 28px;
  border: 1px solid var(--line);
  border-left: 4px solid #aabdcf;
  border-radius: 6px;
  background: var(--white);
}

.detail-list article:nth-child(2) {
  border-left-color: #9bb7b3;
}

.detail-list article:nth-child(3) {
  border-left-color: #d6b46d;
}

.detail-list article:nth-child(4) {
  border-left-color: #1c3165;
}

.detail-list p {
  max-width: 820px;
  margin-bottom: 14px;
  color: var(--muted);
}

.detail-list p:last-child {
  margin-bottom: 0;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.service-main,
.service-side,
.service-cta {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.service-main {
  display: grid;
  gap: 28px;
}

.service-block h2 {
  font-size: 1.55rem;
}

.service-block p:last-child {
  margin-bottom: 0;
}

.service-points,
.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 34px;
  row-gap: 0;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.service-points li,
.service-list li {
  position: relative;
  min-height: 52px;
  padding: 12px 0 12px 28px;
  border-bottom: 0;
  color: #304052;
  font-weight: 700;
}

.service-points li::before,
.service-list li::before {
  content: "";
  position: absolute;
  top: 1.18em;
  left: 2px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 0 4px #e8edf6;
}

.service-points li:nth-child(even)::before,
.service-list li:nth-child(even)::before {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px #e8edf6;
}

.service-side {
  border-top: 3px solid #d6b46d;
}

.service-side h2,
.service-side h3 {
  font-size: 1.25rem;
}

.service-side ul {
  margin: 0;
  padding-left: 19px;
}

.service-side li {
  margin-bottom: 10px;
  color: #3b4752;
}

.service-cta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #eef3f7;
}

.service-cta p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(420px, 0.48fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.contact-details,
.contact-form {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
}

.contact-details p {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

.contact-details a {
  white-space: nowrap;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #c9d4df;
  padding: 11px 12px;
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .button {
  width: fit-content;
  cursor: pointer;
}

.form-check {
  position: absolute;
  left: -9999px;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-status.is-error {
  color: #9b3426;
}

.form-status.is-success {
  color: #2f485d;
  font-weight: 700;
}

@media (max-width: 820px) {
  .contact-page-grid {
    display: block;
  }

  .contact-form {
    margin-top: 22px;
  }

  .contact-details {
    padding: 22px;
  }

  .contact-details p {
    gap: 10px 16px;
    font-size: 0.96rem;
  }

  .service-detail-grid,
  .service-points,
  .service-list,
  .service-cta {
    display: block;
  }

  .service-side,
  .service-cta {
    margin-top: 20px;
  }

  .service-points li,
  .service-list li {
    margin-top: 10px;
  }
}
