/* Twin Cities Tech Solutions — shared styles */

:root {
  --navy: #0a2239;
  --navy-light: #12314f;
  --navy-lighter: #1b3f63;
  --blue: #00a8e8;
  --blue-dark: #0086bd;
  --white: #ffffff;
  --off-white: #f4f7fa;
  --gray-100: #eef1f5;
  --gray-300: #c9d2dc;
  --gray-600: #5b6b7c;
  --text: #16222f;
  --shadow: 0 10px 30px rgba(10, 34, 57, 0.10);
  --radius: 14px;
  --max-width: 1140px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 48px;
  width: 48px;
  border-radius: 8px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text .name {
  color: var(--white);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.2px;
}

.brand-text .tag {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

nav.main-nav a {
  color: var(--gray-300);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 14px;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}

nav.main-nav a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}

nav.main-nav a.active {
  color: var(--white);
  background: var(--navy-light);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone-link {
  display: none;
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
}

.phone-link .icon { color: var(--blue); margin-right: 6px; }

@media (min-width: 900px) {
  .phone-link { display: inline-flex; align-items: center; }
}

.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  text-align: center;
}

.btn-primary {
  background: var(--blue);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-block { display: block; width: 100%; }

/* Mobile nav toggle */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: none;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  cursor: pointer;
}

.nav-toggle svg { width: 22px; height: 22px; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
}

nav.main-nav {
  display: none;
}

@media (min-width: 900px) {
  nav.main-nav { display: flex; }
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--navy-light);
  padding: 10px 24px 20px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  color: var(--gray-300);
  font-weight: 600;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-nav a.active,
.mobile-nav a:hover { color: var(--white); }

.mobile-nav .phone-link { display: flex; margin-top: 8px; }

@media (min-width: 900px) {
  .mobile-nav { display: none !important; }
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 60%, var(--navy-lighter) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero .container {
  padding-top: 84px;
  padding-bottom: 84px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 860px) {
  .hero .container {
    grid-template-columns: 1.1fr 0.9fr;
    padding-top: 110px;
    padding-bottom: 110px;
  }
}

.hero .eyebrow {
  color: var(--blue);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 1.6px;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1.12;
  margin: 0 0 18px;
  font-weight: 800;
}

.hero p.lead {
  color: var(--gray-300);
  font-size: 1.08rem;
  max-width: 52ch;
  margin: 0 0 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-art {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-art .badge {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 36px;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: 380px;
}

.hero-art .stat {
  text-align: center;
}

.hero-art .stat .num {
  color: var(--blue);
  font-size: 1.9rem;
  font-weight: 800;
}

.hero-art .stat .label {
  color: var(--gray-300);
  font-size: 0.8rem;
  margin-top: 4px;
}

/* ---------- Sections ---------- */

section { padding: 72px 0; }

.section-off { background: var(--off-white); }

.section-navy {
  background: var(--navy);
  color: var(--white);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head.left {
  margin: 0 0 44px;
  text-align: left;
}

.eyebrow {
  color: var(--blue-dark);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.section-navy .eyebrow { color: var(--blue); }

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 14px;
  font-weight: 800;
}

.section-head p {
  color: var(--gray-600);
  font-size: 1.02rem;
}

.section-navy .section-head p { color: var(--gray-300); }

/* Cards / grid */

.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid.cols-2 { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 860px) {
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
}

.card .icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(0,168,232,0.12);
  color: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card .icon svg { width: 26px; height: 26px; }

.card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  font-weight: 700;
}

.card p {
  margin: 0;
  color: var(--gray-600);
  font-size: 0.96rem;
}

.card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--gray-600);
  font-size: 0.92rem;
}

.card ul li { margin-bottom: 6px; }

/* Service card link style on services page */
.service-card { display: flex; flex-direction: column; height: 100%; }

/* Value strip */

.value-strip {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  margin-top: 10px;
}

@media (min-width: 640px) {
  .value-strip { grid-template-columns: repeat(3, 1fr); }
}

.value-item {
  text-align: center;
  padding: 18px 10px;
}

.value-item .num {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--blue);
}

.value-item .label {
  margin-top: 6px;
  color: var(--gray-300);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* CTA band */

.cta-band {
  background: linear-gradient(120deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--navy);
  border-radius: var(--radius);
  padding: 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band h3 {
  margin: 0 0 6px;
  font-size: 1.4rem;
  font-weight: 800;
}

.cta-band p {
  margin: 0;
  color: rgba(10,34,57,0.8);
}

.cta-band .btn-outline {
  border-color: var(--navy);
  color: var(--navy);
}

.cta-band .btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* Two column with image-style panel */

.split {
  display: grid;
  gap: 44px;
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.reverse > *:first-child { order: 2; }
}

.panel {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 40px;
  color: var(--white);
  box-shadow: var(--shadow);
}

.panel h3 { margin-top: 0; }

.checklist { list-style: none; margin: 20px 0 0; padding: 0; }

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  color: var(--gray-600);
}

.section-navy .checklist li,
.panel .checklist li { color: var(--gray-300); }

.checklist .tick {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0,168,232,0.15);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  margin-top: 2px;
}

/* ---------- Footer ---------- */

footer.site-footer {
  background: var(--navy);
  color: var(--gray-300);
  padding: 56px 0 26px;
}

.footer-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

.footer-brand .brand { margin-bottom: 14px; }

.footer-brand p {
  max-width: 34ch;
  font-size: 0.92rem;
  color: var(--gray-300);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 16px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li { margin-bottom: 10px; }

.footer-col a {
  color: var(--gray-300);
  font-size: 0.94rem;
  transition: color 0.15s ease;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--gray-300);
}

/* ---------- Page hero (interior pages) ---------- */

.page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 64px 0 60px;
}

.page-hero .eyebrow { color: var(--blue); }

.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin: 0 0 14px;
  font-weight: 800;
}

.page-hero p {
  color: var(--gray-300);
  max-width: 62ch;
  font-size: 1.02rem;
  margin: 0;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--gray-300);
  margin-bottom: 18px;
}

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

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; }
}

.contact-info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px;
}

.contact-info-card h3 { margin-top: 0; }

.contact-info-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.contact-info-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.contact-info-list .icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0,168,232,0.15);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-list .icon svg { width: 20px; height: 20px; }

.contact-info-list .label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--gray-300);
  margin-bottom: 2px;
}

.contact-info-list .value {
  font-weight: 600;
  color: var(--white);
}

.contact-info-list a.value:hover { color: var(--blue); }

.hours-table {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.92rem;
}

.hours-table div {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  color: var(--gray-300);
}

.hours-table div span:last-child { color: var(--white); font-weight: 600; }

.form-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  margin-bottom: 18px;
}

@media (min-width: 560px) {
  .form-row.two { grid-template-columns: 1fr 1fr; }
}

label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 7px;
}

input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: 9px;
  font-size: 0.96rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,168,232,0.18);
}

textarea { resize: vertical; min-height: 130px; }

.form-note {
  font-size: 0.82rem;
  color: var(--gray-600);
  margin-top: 14px;
}

.map-wrap {
  margin-top: 40px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  position: relative;
}

.map-wrap iframe { width: 100%; height: 800px; border: 0; display: block; }

/* Service-area circle overlay, sized to represent roughly a 100-mile
   radius at the map's zoom level (z=8). Purely decorative, so it sits
   on top of the live map without blocking clicks/drag/scroll. */
.service-radius-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 744px;
  height: 744px;
  margin-left: -372px;
  margin-top: -372px;
  border-radius: 50%;
  border: 3px solid #e11d2e;
  background: rgba(225, 29, 46, 0.10);
  box-shadow: 0 0 0 1px rgba(225, 29, 46, 0.25) inset;
  pointer-events: none;
}

.service-radius-label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(10, 34, 57, 0.85);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
  pointer-events: none;
  letter-spacing: 0.2px;
}

/* ---------- About page ---------- */

.about-values {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .about-values { grid-template-columns: repeat(3, 1fr); }
}

.timeline {
  border-left: 2px solid var(--gray-300);
  margin: 30px 0 0 6px;
  padding-left: 26px;
}

.timeline .step { position: relative; margin-bottom: 30px; }

.timeline .step::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--blue);
}

.timeline .step h4 {
  margin: 0 0 6px;
  font-weight: 700;
}

.timeline .step p { margin: 0; color: var(--gray-600); }

/* Utility */

.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.small { font-size: 0.85rem; color: var(--gray-600); }
