@charset "utf-8";

/* =========================================================
   STRUCTURAL FLOW STUDIO - COMBINED CLEAN STYLESHEET
   Replace both old CSS files with this single file.
   ========================================================= */


/* =========================================================
   1. RESET / BASE
   ========================================================= */

:root {
  --sf-navy: #071827;
  --sf-navy-dark: #04111d;
  --sf-navy-soft: #0f2538;
  --sf-cyan: #08bce8;
  --sf-text: #1f2a30;
  --sf-muted: #5b6b7a;
  --sf-line: #d8ddda;
  --sf-light: #f5f8fb;
  --sf-white: #ffffff;
  --sf-feature-bg: #596B7F;
  --max: 1180px;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(24, 38, 44, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--sf-text);
  background:
  radial-gradient(circle at top left, rgba(255,255,255,0.9) 0%, transparent 35%),
  radial-gradient(circle at bottom right, rgba(225,233,240,0.5) 0%, transparent 45%),
  linear-gradient(180deg, #fafbfc 0%, #f1f5f8 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}


/* =========================================================
   2. SHARED / LEGACY PAGE STYLES
   These support your inner pages that may still use the
   original class names.
   ========================================================= */

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 247, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(216, 221, 218, 0.8);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand small {
  display: block;
  color: #66727a;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav a {
  color: #66727a;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
  color: var(--sf-text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.9rem 1.2rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.btn-primary {
  background: #264653;
  color: #fff;
}

.btn-primary:hover {
  background: #3b5f6f;
}

.btn-secondary {
  background: transparent;
  color: var(--sf-text);
  border-color: var(--sf-line);
}

.btn-secondary:hover {
  background: var(--sf-white);
}

.hero {
  padding: 5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.card,
.cta-box,
.contact-card,
.price-card,
.tier-card {
  background: var(--sf-white);
  border: 1px solid var(--sf-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 3rem;
}

.eyebrow {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #eef2f1;
  color: #264653;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.3rem, 4vw, 4.5rem);
  max-width: 11ch;
  margin-top: 1rem;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

h3 {
  font-size: 1.2rem;
}

.lead {
  font-size: 1.1rem;
  color: #66727a;
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.hero-panel {
  padding: 2rem;
  background: linear-gradient(180deg, #ffffff 0%, #eff4f2 100%);
}

.metric {
  padding: 1rem 0;
  border-bottom: 1px solid var(--sf-line);
}

.metric:last-child {
  border-bottom: 0;
}

.metric strong {
  display: block;
  font-size: 1.05rem;
}

.metric span {
  color: #66727a;
  font-size: 0.95rem;
}

.value-strip {
  margin: 0 0 2rem;
}

.value-strip .container {
  background: #264653;
  color: #fff;
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.section {
  padding: 2rem 0 4rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.section-header p {
  max-width: 55ch;
  color: #66727a;
  margin: 0;
}

.grid-3,
.grid-2,
.pricing-grid,
.contact-grid,
.tiers-grid {
  display: grid;
  gap: 1.25rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pricing-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.contact-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

.tiers-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.price-card,
.tier-card,
.contact-card,
.cta-box {
  padding: 1.5rem;
}

.card p,
.price-card p,
.tier-card p,
.contact-card p,
.cta-box p,
.list,
.price-meta,
.contact-list {
  color: #66727a;
}

.list,
.contact-list {
  padding-left: 1.1rem;
  margin: 1rem 0 0;
}

.list li,
.contact-list li {
  margin-bottom: 0.45rem;
}

.step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 1rem;
  align-items: start;
}

.step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #eef2f1;
  color: #264653;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.price {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.price-meta {
  font-size: 0.95rem;
}

.tier-card.featured {
  border-color: #264653;
}

.cta-box {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--sf-line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font: inherit;
  color: var(--sf-text);
  background: #fff;
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--sf-line);
  color: #66727a;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.note {
  font-size: 0.92rem;
  color: #66727a;
}


/* =========================================================
   3. HOMEPAGE REDESIGN - FIXED HEADER / NAV
   ========================================================= */

.sf-nav {
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
  width: 100%;
  max-width: none;
  z-index: 10000;
  margin: 0;
  padding: 24px max(30px, calc((100vw - 1180px) / 2));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: rgba(4, 17, 29, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sf-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.sf-logo img {
  width: 320px;
  max-width: 100%;
  height: auto;
  display: block;
}

.sf-nav-links {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
}

.sf-nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.sf-nav-btn {
  background: var(--sf-cyan);
  padding: 14px 20px;
}

/* Hide checkbox on all screen sizes */
#sf-menu-toggle,
.sf-menu-toggle {
  display: none !important;
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  pointer-events: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

/* Hamburger hidden on desktop */
.sf-hamburger {
  display: none;
}

.sf-hamburger span {
  transition: transform 0.25s ease, opacity 0.25s ease;
}

#sf-menu-toggle:checked + .sf-hamburger span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

#sf-menu-toggle:checked + .sf-hamburger span:nth-child(2) {
  opacity: 0;
}

#sf-menu-toggle:checked + .sf-hamburger span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}


/* =========================================================
   4. HOMEPAGE REDESIGN - HERO
   ========================================================= */

.sf-hero {
  min-height: 720px;
  padding-top: 110px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 18, 31, .96), rgba(5, 18, 31, .7), rgba(5, 18, 31, .2)),
    url("/images/structural-flow-hero.png") center / cover no-repeat;
}

.sf-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 24px 90px;
}

.sf-eyebrow {
  color: var(--sf-cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.sf-hero h1 {
  max-width: 760px;
  margin: 14px 0 24px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: .95;
  text-transform: uppercase;
}

.sf-hero p {
  max-width: 650px;
  font-size: 18px;
  line-height: 1.7;
}

.sf-hero-actions {
  display: flex;
  gap: 18px;
  margin-top: 34px;
}

.sf-btn {
  display: inline-block;
  padding: 16px 24px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.sf-btn-primary {
  background: var(--sf-cyan);
  color: #fff;
}

.sf-btn-secondary {
  border: 1px solid rgba(255,255,255,.75);
  color: #fff;
}


/* =========================================================
   5. FEATURE BAND
   ========================================================= */

.sf-feature-wrap {
  background: var(--sf-feature-bg);
  padding: 0 24px 0px;
}

.sf-feature-band {
  max-width: 1180px;
  margin: -70px auto 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,.14);
}

.sf-feature-band div {
  padding: 42px 28px;
  border-right: 1px solid #e5ecf2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sf-feature-band div:last-child {
  border-right: 0;
}

.sf-feature-icon {
  font-size: 42px;
  color: var(--sf-cyan);
  margin-bottom: 22px;
}

.sf-feature-band h3 {
  margin: 0 0 12px;
  color: var(--sf-navy);
  font-size: 24px;
  font-weight: 800;
}

.sf-feature-band p {
  margin: 0;
  color: var(--sf-muted);
  line-height: 1.6;
  max-width: 320px;
}


/* =========================================================
   6. SERVICES
   ========================================================= */

.sf-services-bg {
  position: relative;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.9) 0%, transparent 40%),
    radial-gradient(circle at top right, rgba(220,230,240,0.5) 0%, transparent 45%),
    radial-gradient(circle at bottom right, rgba(210,220,235,0.35) 0%, transparent 50%),
    linear-gradient(180deg, #f8fbfd 0%, #eef4f8 100%);
}


.sf-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 24px 80px;
}

.sf-section h2 {
  max-width: 720px;
  margin: 12px 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  color: var(--sf-navy);
  text-transform: uppercase;
}

.sf-section-intro {
  max-width: 680px;
  color: var(--sf-muted);
  line-height: 1.7;
}

.sf-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 42px;
}

.sf-card {
  min-height: 230px;
  padding: 32px;
  background: #fff;
  border: 1px solid #e4eaf0;
  box-shadow: 0 10px 30px rgba(0,0,0,.05);
  transition: transform .25s ease, box-shadow .25s ease;
}

.sf-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0,0,0,.1);
}

.sf-card h3 {
  margin-top: 0;
  color: var(--sf-navy);
}

.sf-card p {
  color: var(--sf-muted);
  line-height: 1.6;
}


/* =========================================================
   7. STATS
   ========================================================= */

.sf-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 180px));
  justify-content: center;
  gap: 80px;
  padding: 54px 24px;
  background: #071827;
  color: #fff;
  text-align: center;
}
.sf-stats div {
  width: 100%;
}
.sf-stats strong {
  display: block;
  color: var(--sf-cyan);
  font-size: 34px;
  text-transform: uppercase;
}

.sf-stats span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}


/* =========================================================
   8. PROCESS
   ========================================================= */


.sf-process-section {
  max-width: none;
  background: var(--sf-light);
  padding-left: max(24px, calc((100% - 1180px) / 2));
  padding-right: max(24px, calc((100% - 1180px) / 2));
}


.sf-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 42px;
}

.sf-process-card {
  padding: 34px;
  background: #fff;
  border-top: 4px solid var(--sf-cyan);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.sf-process-card span {
  color: var(--sf-cyan);
  font-size: 36px;
  font-weight: 900;
}

.sf-process-card h3 {
  color: var(--sf-navy);
}

.sf-process-card p {
  color: var(--sf-muted);
  line-height: 1.6;
}


/* =========================================================
   9. CTA / FOOTER
   ========================================================= */

.sf-cta {
  padding: 90px 24px;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, var(--sf-navy), var(--sf-navy-soft));
}

.sf-cta h2 {
  max-width: 850px;
  margin: 12px auto;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  text-transform: uppercase;
}

.sf-cta p {
  max-width: 720px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.sf-footer {
  padding: 34px 24px;
  background: var(--sf-navy-dark);
  color: #fff;
  text-align: center;
}

.sf-footer a {
  color: var(--sf-cyan);
  text-decoration: none;
}


/* =========================================================
   10. RESPONSIVE - LEGACY PAGES
   ========================================================= */

@media (max-width: 980px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .pricing-grid,
  .contact-grid,
  .tiers-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .section-header,
  .cta-box,
  .nav-wrap {
    align-items: start;
  }

  .hero-copy {
    padding: 2rem;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 3rem;
  }

  .nav {
    gap: 0.8rem;
  }

  .nav-wrap {
    min-height: auto;
    padding: 1rem 0;
  }

  .hero-copy,
  .hero-panel,
  .card,
  .price-card,
  .tier-card,
  .contact-card,
  .cta-box {
    padding: 1.25rem;
  }
}


/* =========================================================
   11. RESPONSIVE - HOMEPAGE REDESIGN
   Keep this near the bottom so mobile overrides win.
   ========================================================= */

@media (max-width: 850px) {
  .sf-nav {
    padding: 18px 20px;
    gap: 12px;
  }

  .sf-logo img {
    width: 220px;
  }

  .sf-hamburger {
    display: flex !important;
    width: 44px;
    height: 44px;
    margin-left: auto;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(7,24,39,.75);
    z-index: 10001;
    flex-shrink: 0;
  }

  .sf-hamburger span {
    display: block;
    width: 23px;
    height: 2px;
    background: #fff;
  }

  .sf-nav-links {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 20px !important;
    right: 20px !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 22px !important;
    background: rgba(4,17,29,.98);
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 18px 45px rgba(0,0,0,.3);
    z-index: 9999;
  }

  #sf-menu-toggle:not(:checked) ~ .sf-nav-links {
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
  }

  #sf-menu-toggle:checked ~ .sf-nav-links,
  .sf-menu-toggle:checked ~ .sf-nav-links {
    display: flex !important;
    height: auto !important;
    overflow: visible !important;
    padding: 22px !important;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
  }

  .sf-nav-links a {
    display: block;
    width: 100%;
    padding: 8px 0;
  }

  .sf-nav-btn {
    width: 100%;
    text-align: center;
    padding: 14px 18px !important;
  }

  .sf-hero {
    min-height: auto;
    padding-top: 90px;
    padding-bottom: 0;
  }

  .sf-hero-inner {
    padding: 20px 24px 50px !important;
  }

  .sf-hero h1 {
    font-size: clamp(34px, 10vw, 78px);
  }

  .sf-feature-wrap {
    padding: 0 16px 32px;
  }

  .sf-feature-band,
  .sf-service-grid,
  .sf-stats,
  .sf-process-grid {
    grid-template-columns: 1fr;
  }

  .sf-feature-band {
    margin-top: 0;
  }

  .sf-feature-band div {
    border-right: 0 !important;
    border-bottom: 1px solid #dbe4ec;
  }

  .sf-feature-band div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 480px) {
  .sf-nav {
    padding-left: 16px;
    padding-right: 16px;
  }

  .sf-logo img {
    width: 185px;
  }

  .sf-nav-links {
    left: 16px !important;
    right: 16px !important;
  }
}


/* =========================================================
   12. INNER PAGE LAYOUT - SF ONLY
   Added for services, pricing, and contact pages.
   ========================================================= */

.sf-inner-hero {
  min-height: 520px;
  padding-top: 110px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 18, 31, .96), rgba(5, 18, 31, .7), rgba(5, 18, 31, .2)),
    url("/images/structural-flow-hero.png") center / cover no-repeat;
}

.sf-inner-hero .sf-hero-inner {
  padding: 80px 24px 90px;
}

.sf-inner-hero h1 {
  max-width: 820px;
  margin: 14px 0 24px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: .95;
  text-transform: uppercase;
}

.sf-inner-hero p {
  max-width: 720px;
  font-size: 18px;
  line-height: 1.7;
}

.sf-page-bg {
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.9) 0%, transparent 40%),
    radial-gradient(circle at top right, rgba(220,230,240,0.5) 0%, transparent 45%),
    radial-gradient(circle at bottom right, rgba(210,220,235,0.35) 0%, transparent 50%),
    linear-gradient(180deg, #f8fbfd 0%, #eef4f8 100%);
}

.sf-two-col-grid,
.sf-three-col-grid,
.sf-four-col-grid {
  display: grid;
  gap: 24px;
  margin-top: 42px;
}

.sf-two-col-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sf-three-col-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sf-four-col-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sf-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--sf-muted);
}

.sf-card li {
  margin-bottom: 8px;
}

.sf-card-large {
  min-height: auto;
}

.sf-side-panel {
  background: var(--sf-navy);
  color: #fff;
  padding: 32px;
  border-top: 4px solid var(--sf-cyan);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.sf-side-panel h3,
.sf-side-panel strong {
  color: #fff;
}

.sf-side-panel p,
.sf-side-panel span,
.sf-side-panel li {
  color: rgba(255,255,255,.78);
}

.sf-panel-item {
  padding: 0 0 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.sf-panel-item:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.sf-price {
  color: var(--sf-cyan);
  font-size: 30px;
  font-weight: 900;
  margin: 10px 0 12px;
}

.sf-contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 26px;
  margin-top: 42px;
}

.sf-form {
  display: grid;
  gap: 16px;
}

.sf-form label {
  display: grid;
  gap: 8px;
  color: var(--sf-navy);
  font-weight: 800;
}

.sf-form input,
.sf-form select,
.sf-form textarea {
  width: 100%;
  border: 1px solid #d8e0e8;
  border-radius: 3px;
  padding: 14px 16px;
  font: inherit;
  color: var(--sf-text);
  background: #fff;
}

.sf-form textarea {
  min-height: 160px;
  resize: vertical;
}

.sf-card-highlight {
  border-top: 4px solid var(--sf-cyan);
}

@media (max-width: 850px) {
  .sf-inner-hero {
    min-height: auto;
    padding-top: 90px;
  }

  .sf-inner-hero .sf-hero-inner {
    padding: 40px 24px 60px !important;
  }

  .sf-inner-hero h1 {
    font-size: clamp(34px, 10vw, 68px);
  }

  .sf-two-col-grid,
  .sf-three-col-grid,
  .sf-four-col-grid,
  .sf-contact-grid {
    grid-template-columns: 1fr;
  }
}
