/* ===== Ten by Ten X — Starter Styles ===== */
:root {
  --bg: #ffffff;
  --text: #4B4B4B;
  --muted: #5A5A5A;
  --accent: #004C97;      /* primary blue */
  --accent-2: #0072CE;  /* secondary blue */
  --teal: #008080;           /* accent teal */
  --surface: #E6E6E6;       /* light gray bg */
  --border: #DADADA;
  --card: #ffffff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Open Sans', Arial, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
.container { width: min(1100px, 92%); margin-inline: auto; }
h1, h2, h3 { font-family: 'Montserrat', 'Open Sans', Arial, sans-serif; line-height: 1.2; margin: 0 0 .6em 0; }
h1 { font-size: clamp(2rem, 2.4rem + 1vw, 3rem); }
h2 { font-size: clamp(1.6rem, 1.8rem + .6vw, 2.2rem); }
h3 { font-size: 1.2rem; color: var(--muted); }
p.lead { color: var(--muted); font-size: 1.125rem; margin: 0.4rem 0 1.2rem 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.9); border-bottom: 1px solid var(--border); backdrop-filter: blur(8px); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: .7rem 0; }
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.35rem; /* reduced from 0.65rem */
  text-decoration: none;
}

.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 1000;
  color: #085dc7;            /* matches your 10X logo blue */
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: -0.02em;
  position: relative;
  top: 1px;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .logo-text {
    font-size: 1.2rem;
    top: 0;
  }
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 1000;
  color: #0F172A;            /* dark navy */
  font-size: 1.6rem;         /* larger to match logo height */
  line-height: 1;
  letter-spacing: -0.02em;
  position: relative;
  top: 1px;                  /* slight vertical align tweak */
  white-space: nowrap;
}

@media (max-width: 600px) {
  .logo-text {
    font-size: 1.2rem;
    top: 0;
  }
}




.logo-mark { display: inline-block; padding: .2rem .45rem; border-radius: .4rem; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: white; font-weight: 800; }
.logo-text { color: var(--text); letter-spacing: .2px; }
.site-nav { display: flex; gap: 1rem; align-items: center; }
.site-nav a { color: var(--text); font-weight: 600; }
.nav-toggle { display:none; }
.btn { display: inline-block; background: var(--accent); color: #fff; border: 1px solid var(--accent); padding: .75rem 1.1rem; border-radius: .6rem; font-weight: 700; letter-spacing: .2px; }
.btn:hover { filter: brightness(.95); text-decoration: none; }
.btn--outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn--small { padding: .5rem .8rem; font-size: .92rem; }
.accent { color: var(--accent); }
.hero { padding: clamp(3rem, 6vw, 6rem) 0; background: radial-gradient(1200px 600px at 85% -10%, rgba(34,197,94,.12), transparent 60%), radial-gradient(1200px 600px at 10% 110%, rgba(14,165,166,.12), transparent 60%); }
.quick-stats { display: flex; gap: 1rem; padding: 0; margin: 1rem 0 0 0; list-style: none; color: var(--muted); flex-wrap: wrap; }
.cta-group { display: flex; gap: .8rem; flex-wrap: wrap; }
.section { padding: clamp(2.4rem, 4vw, 4rem) 0; }
.section.alt { background: var(--surface); }
.grid.two { display: grid; gap: 1.4rem; grid-template-columns: 1.2fr 1fr; align-items: start; }
.grid.three { display: grid; gap: 1.4rem; grid-template-columns: repeat(3, 1fr); }
.card { border: 1px solid var(--border); border-radius: .8rem; padding: 1rem; background: var(--card); box-shadow: 0 1px 0 rgba(0,0,0,.02); }
.kpis { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }
.kpi { border:1px solid var(--border); border-radius:.8rem; padding:.8rem 1rem; background:#fff; min-width: 140px; }
.kpi-value { font-size: 1.6rem; font-weight: 800; display:block; }
.kpi-label { color: var(--muted); }
.services .service { border:1px solid var(--border); border-radius: .8rem; padding:1rem; background:#fff; }
.service-sub { color: var(--muted); margin-top: -0.35rem; }
.steps .step { border:1px dashed var(--border); padding:1rem; border-radius:.8rem; background:#fff; }
.step-number { width: 36px; height: 36px; border-radius: 50%; display:grid; place-items: center; background: var(--accent); color:#fff; font-weight:800; margin-bottom:.5rem; }
.checklist { padding-left: 1.2rem; }
.checklist li { margin-bottom: .5rem; }
.center { text-align: center; margin-top: 1.2rem; }
.contact-list { padding-left: 1rem; }
.contact-form { display: grid; gap:.6rem; border:1px solid var(--border); padding:1rem; border-radius:.8rem; background:#fff; }
.contact-form input, .contact-form textarea { width: 100%; padding:.7rem .8rem; border-radius:.6rem; border:1px solid var(--border); font: inherit; }
.form-note { color: var(--muted); font-size:.95rem; }
.site-footer { border-top:1px solid var(--border); padding: 1.4rem 0; background: #fff; color: var(--muted); }
.site-footer a { color: var(--muted); text-decoration: underline; }
@media (max-width: 900px) {
  .grid.two { grid-template-columns: 1fr; }
  .grid.three { grid-template-columns: 1fr; }
  .site-nav { display:none; }
  .nav-toggle { display:block; background:transparent; border:1px solid var(--border); padding:.4rem .6rem; border-radius:.4rem; }
  .site-header.open .site-nav {
    position: absolute; top: 56px; right: 0; background:#fff;
    display: grid; gap: .6rem; padding: .8rem; border-left:1px solid var(--border); border-bottom:1px solid var(--border);
  }
}
.btn:hover { background: var(--accent-2); border-color: var(--accent-2); text-decoration:none; }
.btn--outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn--outline:hover { color:#fff; background: var(--teal); border-color: var(--teal); }
.accent { color: var(--teal); } /* Use teal for inline emphasis */
.logo-mark, .step-number { background: var(--accent); }
.site-nav a:hover { color: var(--accent-2); }
.hero { background: radial-gradient(1200px 600px at 85% -10%, rgba(0,114,206,.10), transparent 60%), radial-gradient(1200px 600px at 10% 110%, rgba(0,76,151,.10), transparent 60%); }
.site-footer { color:#666; }
/* ========== How We Win — Accordion ========== */
.section.tight { padding-top: 2.2rem; padding-bottom: 2.6rem; }

#solution h2 { text-align: center; margin-bottom: 1rem; }

/* container */
.accordion { max-width: 900px; margin: 0 auto; text-align: left; }

/* rows */
.accordion-item { border-bottom: 1px solid var(--border); }

/* header button */
.accordion-header {
  width: 100%;
  text-align: left;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  padding: 1rem 0;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  position: relative;
  color: var(--accent-2); /* on-brand blue */
}

/* + / – icon */
.accordion-header::after {
  content: '+';
  position: absolute;
  right: 0;
  font-size: 1.2rem;
  transition: transform 0.2s ease;
  color: var(--teal);
}
.accordion-header.active::after { content: '–'; }

/* body */
.accordion-body {
  display: none;
  padding: 0 0 1rem 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* hover affordance */
.accordion-header:hover { color: var(--accent); }
/* Interactive How We Win */
#solution .win-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 1rem auto 0;
}
.win-item {
  border: 1px solid #dbe3ef;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  background: #fff;
  cursor: pointer;
  transition: all 0.25s ease;
}
.win-item:hover {
  box-shadow: 0 8px 18px rgba(8, 93, 199, 0.08);
}
.win-title {
  font-weight: 700;
  color: #0f172a;
  position: relative;
}
.win-title::after {
  content: "›";
  color: #085dc7;
  position: absolute;
  right: 0;
  transition: transform 0.3s;
}
.win-item.open .win-title::after {
  transform: rotate(90deg);
}
.win-detail {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  color: #505b66;
  font-size: 0.95rem;
  line-height: 1.5;
  transition: all 0.3s ease;
}
.win-item.open .win-detail {
  max-height: 200px;
  opacity: 1;
  margin-top: 0.5rem;
}
@media (max-width: 800px) {
  #solution .win-grid {
    grid-template-columns: 1fr;
  }
}
/* --- Logo + wordmark lockup (override) --- */
.site-header .logo {
  display: flex;              /* ensure horizontal lockup */
  align-items: center;        /* vertical alignment */
  gap: 0.35rem;               /* tight spacing */
  text-decoration: none;
}

.site-header .logo img {
  height: 40px;               /* keep your current logo size */
  display: block;
  margin-bottom: -2px;        /* tiny optical baseline tweak */
}

/* Force the wordmark color + size even if header links set a color */
.site-header .logo .logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 1000;
  font-size: 1.8rem;
  line-height: 1;
  letter-spacing: -0.015em;
  white-space: nowrap;
  position: relative;
  top: 1px;
  color: #085dc7 !important;  /* MATCH 10X BLUE & override any inherited link color */
}

/* Make sure the anchor itself doesn’t re-color the span */
.site-header .logo:link,
.site-header .logo:visited,
.site-header .logo:hover,
.site-header .logo:active {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 600px) {
  .site-header .logo .logo-text {
    font-size: 1.2rem;
    top: 0;
  }
}

.site-footer p:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  justify-content: center;
}
.site-footer p:last-child a { white-space: nowrap; }
/* Enhanced Contact button styling */
.contact-btn {
  background-color: #085dc7; /* TenX blue */
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.25px;
  border-radius: 8px;
  padding: 0.6rem 1.3rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease-in-out;
}

.contact-btn:hover {
  background-color: #064595; /* darker navy */
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  color: #ffffff !important;
}
/* --- Thank-you page mobile fixes --- */

/* Ensure header doesn't overlay the content area */
.site-header { position: relative; z-index: 3; }
main, .thankyou { position: relative; z-index: 1; }

/* Make the CTA easy to tap on phones */
.thankyou .btn {
  display: inline-block;
  min-height: 48px;            /* WCAG tap target */
  line-height: 48px;
  padding: 0 20px;
  text-align: center;
}

/* Full-width, thumb-friendly button on narrow screens */
@media (max-width: 640px) {
  .thankyou .btn {
    display: block;
    width: 100%;
    max-width: 340px;
    margin: 16px auto;
    line-height: 1.2;          /* allow multi-line label if needed */
    padding: 12px 18px;
  }
}

/* Just in case any global style disabled clicks */
.thankyou .btn { pointer-events: auto; }
.thankyou { padding: 3.5rem 1rem 2rem; }
/* Thank-you page spacing so header doesn't crowd it */
.thankyou { padding: 3.5rem 1rem 2.25rem; }

/* Button: big, obvious, and easy to tap */
.thankyou .btn {
  display: inline-block;
  min-height: 48px;           /* WCAG tap target */
  line-height: 48px;
  padding: 0 22px;
  text-align: center;
  border-radius: 10px;
  font-weight: 700;
}

/* Full-width button on phones */
@media (max-width: 640px) {
  .thankyou .btn {
    display: block;
    width: 100%;
    max-width: 360px;
    margin: 16px auto 0;
    line-height: 1.25;        /* allow 2-line labels if needed */
    padding: 14px 18px;
  }
}
/* ---------- MOBILE REFINEMENTS ---------- */
@media (max-width: 640px) {
  /* Header tweaks */
  .logo img { height: 32px; vertical-align: middle; }
  .logo-text { font-size: 1.1rem; margin-left: 6px; }

  /* Hero spacing and typography */
  .hero {
    padding-top: 60px;
    padding-bottom: 40px;
  }
  .hero h1 {
    font-size: clamp(1.8rem, 5vw, 2.2rem);
    line-height: 1.2;
  }
  .hero h2 {
    font-size: clamp(1.1rem, 3.5vw, 1.3rem);
    margin-bottom: 1rem;
  }
  .hero .lead {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }

  /* Buttons spacing */
  .cta-group a.btn {
    display: block;
    width: 100%;
    max-width: 340px;
    margin: 0 auto 12px;
  }

  /* Section spacing normalization */
  section.section {
    padding: 2.5rem 1rem;
  }
}


/* Ensure nothing is overlaying clicks */
.site-header { position: relative; z-index: 3; }
.thankyou { position: relative; z-index: 1; }

/* ===== FINAL MOBILE OVERRIDES (place at very bottom of styles.css) ===== */
@media (max-width: 640px) {
  /* Header / logo lockup */
  .site-header .logo { gap: .4rem !important; }
  .site-header .logo img { height: 30px !important; vertical-align: middle; }
  .site-header .logo .logo-text { font-size: 1.15rem !important; top: 0 !important; }

  /* Hero spacing + type */
  .hero { padding-top: 48px !important; padding-bottom: 32px !important; }
  .hero h1 { font-size: clamp(1.8rem, 5vw, 2.2rem) !important; line-height: 1.2 !important; }
  .hero h2, .hero .accent { font-size: clamp(1.1rem, 3.5vw, 1.3rem) !important; margin-bottom: 1rem !important; }
  .hero .lead { font-size: 1rem !important; line-height: 1.5 !important; margin-bottom: 1.25rem !important; }

  /* CTA buttons */
  .cta-group .btn, .cta-group a.btn {
    display: block !important;
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto 12px !important;
  }

  /* Section rhythm */
  section.section { padding: 2.25rem 1rem !important; }
}

/* Thank-you page button/tap target */
.thankyou { padding: 3.5rem 1rem 2.25rem !important; }
.thankyou .btn {
  display: inline-block;
  min-height: 48px; line-height: 48px;
  padding: 0 22px; text-align: center;
  border-radius: 10px; font-weight: 700;
}
@media (max-width: 640px) {
  .thankyou .btn {
    display: block; width: 100%; max-width: 360px;
    margin: 16px auto 0; line-height: 1.25; padding: 14px 18px;
  }
}

/* Make sure header isn’t overlaying mobile content */
.site-header { position: sticky !important; top: 0; z-index: 1000; }
/* ===== TenX Mobile Fit Upgrade (<= 640px) ===== */
@media (max-width: 640px) {
  /* 1) Header: tighter, cleaner */
  .site-header .nav-wrap { padding: .5rem 0; }
  .site-header .logo { gap: .35rem; }
  .site-header .logo img { height: 28px; }
  .site-header .logo .logo-text { font-size: 1.05rem; top: 0; }
  .site-header { backdrop-filter: blur(10px); }

  /* 2) Hero: fewer line breaks, less vertical bounce */
  .hero { padding-top: 44px; padding-bottom: 26px; }
  .hero h1 { font-size: clamp(1.68rem, 5.1vw, 2.06rem); line-height: 1.18; margin-bottom: .35rem; }
  .hero h2, .hero .accent { font-size: clamp(1.04rem, 3.6vw, 1.22rem); margin-bottom: .7rem; }
  .hero .lead { font-size: .98rem; line-height: 1.55; margin-bottom: 1.05rem; }

  /* 3) CTAs: full-width, thumb-friendly */
  .cta-group { gap: .6rem; }
  .cta-group .btn { display:block; width:100%; max-width:360px; margin:0 auto; }

  /* 4) Section rhythm: even spacing across page */
  section.section { padding: 2rem 1rem; }
  .section.alt { padding: 2.1rem 1rem; }

  /* 5) Cards/services/steps: reduce padding, strengthen titles */
  .services .service, .steps .step, .card { padding: .9rem .95rem; }
  .service h3, .steps h3 { font-size: 1.06rem; margin-bottom: .35rem; }

  /* 6) “How We Win” tiles: bigger tap targets */
  #solution .win-grid { grid-template-columns: 1fr; gap: .9rem; }
  .win-item { padding: .95rem 1.05rem; }
  .win-title { font-size: 1.04rem; padding-right: 1.25rem; }
  .win-title::after { right: .2rem; }

  /* 7) Contact form: easier to fill */
  .contact-form { gap: .55rem; padding: .95rem; }
  .contact-form input, .contact-form textarea { padding: .85rem .95rem; font-size: 1rem; }
  .contact-form .btn { width:100%; max-width:360px; margin:.45rem auto 0; }

  /* 8) Footer links: wrap nicely */
  .site-footer p:last-child { gap: .4rem .8rem; }
}

/* Thank-you page */
.thankyou { padding: 3rem 1rem 2rem; }
.thankyou .btn {
  display:block; width:100%; max-width:360px; margin:12px auto 0;
  min-height:48px; line-height:1.25; padding:14px 18px; border-radius:10px; font-weight:700;
}

/* Mobile nav button hit-area (optional but nice) */
@media (max-width: 640px) {
  .nav-toggle { padding: .6rem .75rem; }
}



