/* ============================================================
   Michael Stucki · IT Services · main.css
   ============================================================ */

/* --- Custom Properties ------------------------------------ */
:root {
  --ms-accent:        #185FA5;
  --ms-accent-dark:   #0f4a84;
  --ms-accent-light:  #e8f0fa;
  --ms-font-head:     Georgia, serif;
  --ms-font-body:     'DM Mono', 'Courier New', monospace;
  --ms-radius:        4px;
  --ms-section-py:    5rem;
}

/* --- Site frame (narrow, centered) ------------------------ */
.site-bg {
  background: #f0f0ec;
  min-height: 100vh;
}

.site-frame {
  max-width: 1280px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 40px rgba(0,0,0,.08);
  overflow: hidden;
}

/* --- Base -------------------------------------------------- */
body {
  font-family: var(--ms-font-body);
  font-size: 0.9rem;
  color: #1a1a1a;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ms-font-head);
  letter-spacing: -0.01em;
}

.py-6 { padding-top: var(--ms-section-py); padding-bottom: var(--ms-section-py); }

/* --- Colour utilities ------------------------------------- */
.text-accent         { color: var(--ms-accent) !important; }
.bg-accent           { background-color: var(--ms-accent) !important; }
.bg-accent-light     { background-color: var(--ms-accent-light) !important; }
.text-white-75       { color: rgba(255,255,255,.75); }
.text-white-50       { color: rgba(255,255,255,.5) !important; }
.bg-white-10         { background-color: rgba(255,255,255,.1); }
.border-white-20     { border-color: rgba(255,255,255,.2) !important; }
.placeholder-white-50::placeholder { color: rgba(255,255,255,.5); }

/* --- Eyebrow label ---------------------------------------- */
.eyebrow-label {
  font-family: var(--ms-font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ms-accent);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e8e8e8;
}

.navbar-brand {
  text-decoration: none;
  font-family: var(--ms-font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a1a1a !important;
}

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

.nav-link {
  font-family: var(--ms-font-body);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: #333 !important;
  padding: 0.4rem 0.75rem !important;
  transition: color .15s;
}
.nav-link:hover { color: var(--ms-accent) !important; }

.btn-nav-cta {
  border: 1.5px solid var(--ms-accent);
  border-radius: var(--ms-radius);
  color: var(--ms-accent) !important;
  padding: 0.35rem 1rem !important;
  transition: background .15s, color .15s;
}
.btn-nav-cta:hover {
  background: var(--ms-accent);
  color: #fff !important;
}

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  display: flex;
}
.hero-section .row { min-height: auto; }

/* Left column */
.hero-text {
  max-width: 600px;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.hero-headline {
  font-family: var(--ms-font-head);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hero-headline__main  { color: #1a1a1a; }
.hero-headline__accent { color: var(--ms-accent); }

.hero-subtext {
  font-family: var(--ms-font-body);
  font-size: 0.88rem;
  line-height: 1.8;
  color: #555;
  max-width: 480px;
}

/* Buttons */
.btn-hero-primary {
  font-family: var(--ms-font-body);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: #1a1a1a;
  background: transparent;
  border: 1.5px solid #1a1a1a;
  border-radius: var(--ms-radius);
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.btn-hero-primary:hover {
  background: #1a1a1a;
  color: #fff;
}

.btn-hero-secondary {
  font-family: var(--ms-font-body);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: var(--ms-accent);
  background: transparent;
  border: none;
  padding: 0.75rem 0.25rem;
  text-decoration: none;
  transition: opacity .15s;
}
.btn-hero-secondary:hover { opacity: .7; color: var(--ms-accent); }

/* Right stats panel */
.hero-stats-panel {
  background: var(--ms-accent);
  color: #fff;
  min-height: 100%;
}

.stats-eyebrow {
  font-family: var(--ms-font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 0;
}

.stat-row {
  border-top: 1px solid rgba(255,255,255,.2);
  padding: 1.25rem 0;
}
.stat-row:last-of-type {
  border-bottom: 1px solid rgba(255,255,255,.2);
}

.stat-value {
  font-family: var(--ms-font-head);
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  color: #fff;
}

.stat-label {
  font-family: var(--ms-font-body);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-top: 0.3rem;
}

/* Reference tags on blue bg */
.badge-tag--light {
  border-color: rgba(255,255,255,.5) !important;
  color: #fff !important;
}

/* ============================================================
   BADGE / TAG
   ============================================================ */
.badge-tag {
  display: inline-block;
  font-family: var(--ms-font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.25em 0.65em;
  border: 1.5px solid var(--ms-accent);
  border-radius: 2px;
  color: var(--ms-accent);
  background: transparent;
  text-transform: uppercase;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-section {
  border-top: 3px solid var(--ms-accent);
}
.service-card {
  border-top: 2px solid var(--ms-accent);
  border-left: none;
  border-right: none;
  border-bottom: 1px solid #e8e8e8;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  transition: border-top-color .2s;
  padding-top: 1.5rem !important;
}
.service-card:hover {
  border-top-color: var(--ms-accent-dark);
}

.service-card__number {
  font-family: var(--ms-font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ms-accent);
  margin-bottom: 0.75rem;
}

.service-card__title {
  font-family: var(--ms-font-head);
  font-size: 1.2rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: #1a1a1a;
}

.service-card__desc {
  font-family: var(--ms-font-body);
  font-size: 0.8rem;
  line-height: 1.7;
  color: #555;
  flex-grow: 1;
  margin-bottom: 0;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-photo-wrap {
  width: 280px;
  height: 280px;
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.about-body p {
  font-family: var(--ms-font-body);
  font-size: 0.88rem;
  line-height: 1.8;
  color: #444;
}

.about-fact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-family: var(--ms-font-body);
  color: #555;
}
.about-fact__icon { color: var(--ms-accent); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-form .form-control {
  font-family: var(--ms-font-body);
  font-size: 0.88rem;
  border-radius: var(--ms-radius);
}
.contact-form .form-control:focus {
  box-shadow: 0 0 0 3px rgba(255,255,255,.25);
  border-color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.15);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { font-family: var(--ms-font-body); }
.hover-white:hover { color: #fff !important; }

/* ============================================================
   PROSE (content pages)
   ============================================================ */
.prose p, .prose li {
  font-family: var(--ms-font-body);
  font-size: 0.9rem;
  line-height: 1.8;
  color: #333;
}
.prose h2, .prose h3 {
  font-family: var(--ms-font-head);
  font-style: italic;
  margin-top: 2rem;
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header { max-width: 560px; }

.page-header h1 {
  font-family: var(--ms-font-head);
  font-style: italic;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
  .hero-section,
  .hero-section .row {
    min-height: auto;
  }
  .hero-text {
    padding-top: 3rem;
    padding-bottom: 3rem;
    max-width: 100%;
  }
  .hero-stats-panel {
    padding: 3rem 2.5rem;
  }
  .stat-value { font-size: 2.5rem; }
}
