/* ============================================
   CM Liftservice — Stylesheet
   Colors: Orange #f47920, Black #1a1a1a, White #fff
   ============================================ */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Segoe UI",
    system-ui,
    -apple-system,
    sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  transition:
    background 0.2s,
    transform 0.15s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: #f47920;
  color: #fff;
}

.btn-primary:hover {
  background: #d8640f;
  transform: translateY(-1px);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #1a1a1a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  font-weight: 500;
  font-size: 0.9rem;
}

.header-phone:hover {
  color: #f47920;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition:
    transform 0.2s,
    opacity 0.2s;
}

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #fff;
  padding: 6rem 0;
  text-align: center;
}

.hero-inner {
  max-width: 720px;
}

.hero-logo {
  margin: 0 auto 2rem;
  height: auto;
  width: 200px;
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.hero-tagline {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* --- Sections shared --- */
section {
  padding: 5rem 0;
}

section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 2.5rem;
}

/* --- Services --- */
.services {
  background: #f7f7f7;
}

.services h2 {
  margin-bottom: 2.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  background: #fff;
  border-radius: 8px;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- Brands Section --- */
.brands-section {
  background: #fff;
}

.brands-section h2 {
  margin-bottom: 0.5rem;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.brand-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f7f7;
  border-radius: 8px;
  padding: 1.5rem 1rem;
  min-height: 90px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.brand-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.brand-card svg {
  width: 100%;
  max-width: 180px;
  height: 50px;
}

.brand-card-other {
  background: #f0f0f0;
  color: #666;
  font-size: 0.95rem;
  font-weight: 500;
  font-style: italic;
}

/* --- About --- */
.about {
  background: #f7f7f7;
}

.about-inner {
  max-width: 720px;
  margin: 0 auto;
}

.about h2 {
  margin-bottom: 1.5rem;
}

.about p {
  color: #444;
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

/* --- Contact --- */
.contact-inner {
  text-align: center;
}

.contact-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.05rem;
  width: 100%;
  max-width: 320px;
}

.contact-item div {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.contact-item strong {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888;
}

.contact-item a {
  color: #1a1a1a;
  font-weight: 500;
}

.contact-item a:hover {
  color: #f47920;
}

/* --- Footer --- */
.site-footer {
  background: #1a1a1a;
  color: #999;
  text-align: center;
  padding: 1.75rem 0;
  font-size: 0.85rem;
}

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

/* Tablet */
@media (min-width: 600px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-details {
    flex-direction: row;
    justify-content: center;
    gap: 3rem;
  }
}

/* Desktop */
@media (min-width: 900px) {
  .hero {
    padding: 8rem 0;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .hero-logo {
    width: 260px;
  }
}

/* Mobile nav */
@media (max-width: 599px) {
  .menu-toggle {
    display: flex;
  }

  .header-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #1a1a1a;
    flex-direction: column;
    padding: 1.25rem;
    gap: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

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

  .header-phone {
    justify-content: center;
  }

  .btn-primary {
    text-align: center;
    width: 100%;
  }
}
