/* ===================================================================
   Tycho Bom IT — main stylesheet
   =================================================================== */

:root {
  --navy-900: #081222;
  --navy-800: #0f213c;
  --navy-700: #16304f;
  --blue-600: #0078d4;
  --blue-500: #2b88d8;
  --blue-100: #e6f2fc;
  --bg-light: #f5f7fa;
  --white: #ffffff;
  --text-dark: #1b2430;
  --text-muted: #5b6b79;
  --border-light: #e3e8ee;

  --max-width: 1140px;
  --radius: 10px;
  --shadow-sm: 0 2px 8px rgba(8, 18, 34, 0.06);
  --shadow-md: 0 12px 30px rgba(8, 18, 34, 0.10);
  --transition: 0.2s ease;
}

* {
  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-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

/* ---------- Typography helpers ---------- */

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin: 0 0 12px;
}

.section-title {
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem);
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--navy-900);
}

.section-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 0 32px;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--blue-600);
  color: var(--white);
  border-color: var(--blue-600);
}

.btn-primary:hover {
  background: var(--blue-500);
  border-color: var(--blue-500);
}

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

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

/* Outline button on light backgrounds (about section) */
#about .btn-outline,
.contact-item.btn-outline {
  color: var(--navy-900);
  border-color: var(--navy-900);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-900);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  height: 100%;
}

.brand-logo {
  height: 38px;
  width: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-nav a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
}

.primary-nav a:hover {
  color: var(--white);
}

.primary-nav a.btn-nav {
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

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

.hero {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--blue-600) 150%);
  color: var(--white);
  padding: 96px 0 100px;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  justify-content: space-between;
}

.hero-content {
  max-width: 620px;
}

.hero h1 {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem);
  line-height: 1.15;
  margin: 0 0 20px;
  font-weight: 800;
}

.hero-lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 32px;
  max-width: 560px;
}

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

.hero-badge {
  flex-shrink: 0;
}

.fasttrack-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 260px;
  backdrop-filter: blur(6px);
}

.fasttrack-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-500);
}

.fasttrack-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}

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

.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--bg-light);
}

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

.section-dark .section-lead {
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Services cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--blue-100);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  font-size: 1.1rem;
  margin: 0 0 10px;
  color: var(--navy-900);
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- Expertise ---------- */

.expertise-inner {
  display: flex;
  align-items: center;
  gap: 56px;
  justify-content: space-between;
}

.expertise-content {
  max-width: 620px;
}

.expertise-content p {
  color: var(--text-muted);
}

.checklist {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checklist li {
  position: relative;
  padding-left: 30px;
  color: var(--text-dark);
  font-weight: 500;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue-600);
}

.checklist li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 7px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg);
}

.expertise-visual {
  flex-shrink: 0;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(var(--shadow-md));
}

.expertise-mark {
  width: 100%;
  height: auto;
  border-radius: 50%;
}

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

.about-inner {
  max-width: 760px;
}

.about-cta {
  display: flex;
  justify-content: center;
}

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

.contact-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 22px 32px;
  transition: transform var(--transition), background var(--transition);
}

a.contact-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.1);
}

.contact-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-500);
}

.contact-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  word-break: break-word;
}

.contact-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.btn-linkedin {
  gap: 10px;
}

.btn-linkedin svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

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

.site-footer {
  background: var(--navy-900);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  height: 26px;
  width: auto;
}

.footer-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}

.footer-nav {
  display: flex;
  gap: 20px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  transition: color var(--transition);
}

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

/* ===================================================================
   Responsive
   =================================================================== */

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .expertise-inner {
    flex-direction: column;
    text-align: center;
  }

  .expertise-content {
    max-width: 100%;
  }

  .checklist li {
    text-align: left;
  }

  .contact-grid {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--navy-900);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
    box-shadow: var(--shadow-md);
  }

  .primary-nav.open {
    max-height: 400px;
  }

  .primary-nav a {
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .primary-nav a.btn-nav {
    margin: 16px 24px;
  }

  .hero {
    padding: 64px 0 72px;
  }

  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-badge {
    width: 100%;
  }

  .fasttrack-card {
    width: 100%;
    min-width: 0;
  }

  .section {
    padding: 64px 0;
  }
}

@media (max-width: 560px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .contact-cta .btn {
    width: 100%;
  }

  .contact-item {
    width: 100%;
  }
}
