/* =========================================================
   TAHM — HOMEPAGE: hero, services, why, b2b, steps, rent,
   brands, seo, repair-cta, products on home
   ========================================================= */

.tahm-home { background: #fff; }

/* --- Hero --- */
.tahm-hero {
  position: relative; overflow: hidden; padding: 46px 0 90px;
  background: radial-gradient(circle at top right, rgba(1,150,242,0.12), transparent 32%),
              linear-gradient(180deg, #fff 0%, #f8fcff 100%);
}
.tahm-hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center; gap: 56px;
}
.tahm-hero__content, .tahm-hero__visual { min-width: 0; }

.tahm-hero__title {
  margin: 18px 0 16px; color: var(--tahm-heading);
  font-size: clamp(38px, 6vw, 60px); line-height: 1.04; font-weight: 800;
}
.tahm-hero__lead {
  margin: 0 0 28px; max-width: 720px;
  color: var(--tahm-muted); font-size: 20px; line-height: 1.65;
}

.tahm-search {
  display: grid; grid-template-columns: 1fr auto; gap: 12px;
  padding: 12px; max-width: 760px; background: #fff;
  border: 1px solid rgba(1,150,242,0.12);
  border-radius: 22px; box-shadow: var(--tahm-shadow); position: relative;
}
.tahm-search input {
  width: 100%; min-height: 58px; padding: 0 18px;
  border: 1px solid var(--tahm-line); border-radius: 16px;
  background: #fff; color: var(--tahm-heading); font-size: 16px; box-sizing: border-box;
}
.tahm-search input:focus {
  outline: none; border-color: var(--tahm-blue);
  box-shadow: 0 0 0 4px rgba(1,150,242,0.12);
}
.tahm-search button {
  min-height: 58px; padding: 0 22px; border: none; border-radius: 16px;
  background: var(--tahm-blue); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer;
}
.tahm-search button:hover { background: var(--tahm-blue-dark); }

.tahm-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 20px; }

.tahm-trustbar { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tahm-trustbar span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  background: #fff; border: 1px solid var(--tahm-line); border-radius: 999px;
  box-shadow: var(--tahm-shadow-soft); font-size: 14px; font-weight: 600;
  color: var(--tahm-heading); white-space: nowrap;
}

.tahm-hero__visual {
  position: relative; min-height: 520px;
  display: flex; align-items: center; justify-content: flex-end;
}
.tahm-hero-card {
  position: relative; width: 100%; max-width: 520px; padding: 34px;
  border-radius: var(--tahm-radius-xl);
  background: linear-gradient(180deg, #1697ea 0%, #0b6fbe 100%);
  color: #fff; box-shadow: 0 22px 50px rgba(1,97,174,0.22);
}
.tahm-hero-card h3, .tahm-hero-card p, .tahm-hero-card strong, .tahm-hero-card a { color: #fff; }
.tahm-hero-card__label {
  display: inline-block; padding: 7px 12px; border-radius: 999px;
  background: #fff; color: var(--tahm-blue-dark);
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
}
.tahm-hero-card h3 { margin: 18px 0 10px; font-size: 34px; line-height: 1.14; }
.tahm-hero-card p { margin: 0 0 22px; font-size: 16px; line-height: 1.7; }

.tahm-hero-mini-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px;
}
.tahm-mini-card {
  display: flex; flex-direction: column; gap: 8px; min-height: 110px; padding: 18px;
  border-radius: 18px; background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18); color: #fff;
  backdrop-filter: blur(2px); transition: all 0.22s ease;
}
.tahm-mini-card:hover { transform: translateY(-2px); background: rgba(255,255,255,0.16); }
.tahm-mini-card__icon { font-size: 26px; line-height: 1; }
.tahm-mini-card strong { font-size: 16px; line-height: 1.35; }

/* --- Sections --- */
.tahm-services, .tahm-why, .tahm-b2b, .tahm-products,
.tahm-steps, .tahm-rent, .tahm-brands, .tahm-seo { padding: 88px 0; }
.tahm-why, .tahm-rent, .tahm-seo { background: var(--tahm-bg); }

/* Cards */
.tahm-card-grid { display: grid; gap: 24px; }
.tahm-card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.tahm-service-card {
  display: block; padding: 28px; border-radius: var(--tahm-radius-lg);
  background: #fff; border: 1px solid var(--tahm-line);
  box-shadow: var(--tahm-shadow-soft); color: var(--tahm-text); transition: all 0.22s ease;
}
.tahm-service-card:hover {
  transform: translateY(-4px); border-color: rgba(1,150,242,0.30); box-shadow: var(--tahm-shadow);
}
.tahm-service-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; margin-bottom: 18px;
  border-radius: 16px; background: var(--tahm-blue-soft); font-size: 24px;
}
.tahm-service-card h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.25; color: var(--tahm-heading); }
.tahm-service-card p { margin: 0 0 18px; color: var(--tahm-muted); line-height: 1.7; }
.tahm-service-card__more { color: var(--tahm-blue-dark); font-weight: 700; }

/* Why */
.tahm-why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tahm-why-card { padding: 26px; border-radius: var(--tahm-radius-md); background: #fff; border: 1px solid var(--tahm-line); }
.tahm-why-card strong { display: block; margin-bottom: 10px; color: var(--tahm-heading); font-size: 19px; }
.tahm-why-card p { margin: 0; color: var(--tahm-muted); line-height: 1.7; }

/* B2B */
.tahm-b2b__grid, .tahm-rent__grid, .tahm-seo__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center;
}
.tahm-b2b__visual {
  padding: 36px; border-radius: 28px;
  background: linear-gradient(135deg, #eef8ff 0%, #dff2ff 100%);
  border: 1px solid rgba(1,150,242,0.14);
}
.tahm-checklist { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.tahm-checklist li { position: relative; padding-left: 28px; color: var(--tahm-heading); font-weight: 600; }
.tahm-checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--tahm-blue); font-weight: 800; }
.tahm-b2b__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.tahm-flow { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.tahm-flow__item {
  min-width: 120px; padding: 18px 20px; border-radius: 18px;
  background: #fff; text-align: center; font-weight: 700;
  color: var(--tahm-heading); box-shadow: var(--tahm-shadow-soft);
}
.tahm-flow__arrow { font-size: 24px; color: var(--tahm-blue-dark); font-weight: 700; }

/* Homepage product grid */
.tahm-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.tahm-product-card {
  overflow: hidden; border-radius: var(--tahm-radius-lg);
  background: #fff; border: 1px solid var(--tahm-line); box-shadow: var(--tahm-shadow-soft);
}
.tahm-product-card__image {
  display: flex; align-items: center; justify-content: center;
  min-height: 260px; padding: 24px; background: #fbfcfd;
  border-bottom: 1px solid var(--tahm-line);
}
.tahm-product-card__image img { max-height: 190px; width: auto; object-fit: contain; }
.tahm-product-card__body { padding: 24px; }
.tahm-product-card h3 { margin: 0 0 12px; font-size: 18px; line-height: 1.5; }
.tahm-product-card h3 a { color: var(--tahm-heading); }
.tahm-product-card h3 a:hover { color: var(--tahm-blue-dark); }
.tahm-product-card__price { margin-bottom: 18px; color: var(--tahm-blue-dark); font-size: 20px; font-weight: 800; }
.tahm-empty-box { padding: 36px; border-radius: var(--tahm-radius-lg); background: #fff; border: 1px solid var(--tahm-line); text-align: center; }

/* Repair CTA */
.tahm-repair-cta {
  padding: 72px 0; background: linear-gradient(135deg, #0161AE 0%, #0196F2 100%); color: #fff;
}
.tahm-repair-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.tahm-repair-cta h2, .tahm-repair-cta p { color: #fff; }
.tahm-repair-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Steps */
.tahm-steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tahm-step {
  padding: 28px; border-radius: var(--tahm-radius-lg);
  background: #fff; border: 1px solid var(--tahm-line); box-shadow: var(--tahm-shadow-soft);
}
.tahm-step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; margin-bottom: 18px; border-radius: 50%;
  background: var(--tahm-blue-soft); color: var(--tahm-blue-dark); font-weight: 800; font-size: 20px;
}
.tahm-step h3 { margin: 0 0 10px; font-size: 21px; color: var(--tahm-heading); }
.tahm-step p { margin: 0; color: var(--tahm-muted); line-height: 1.7; }

/* Rent */
.tahm-rent__visual { display: flex; align-items: center; justify-content: center; }
.tahm-rent-box {
  display: flex; flex-wrap: wrap; gap: 14px; padding: 36px;
  border-radius: var(--tahm-radius-xl);
  background: linear-gradient(180deg, #fff 0%, #eef8ff 100%);
  border: 1px solid rgba(1,150,242,0.14); box-shadow: var(--tahm-shadow);
}
.tahm-rent-box span {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 18px;
  border-radius: 16px; background: #fff; border: 1px solid var(--tahm-line);
  font-weight: 700; color: var(--tahm-heading);
}

/* Brands */
.tahm-brand-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.tahm-brand-tile {
  display: flex; align-items: center; justify-content: center;
  min-height: 86px; padding: 12px; border-radius: 18px;
  background: #fff; border: 1px solid var(--tahm-line);
  color: var(--tahm-heading); font-size: 18px; font-weight: 700;
  box-shadow: var(--tahm-shadow-soft); transition: all 0.22s ease;
}
.tahm-brand-tile:hover { transform: translateY(-3px); border-color: rgba(1,150,242,0.30); color: var(--tahm-blue-dark); }

/* SEO / FAQ */
.tahm-seo__content p + p { margin-top: 16px; }
.tahm-faq { display: grid; gap: 14px; }
.tahm-faq details { overflow: hidden; border-radius: 16px; background: #fff; border: 1px solid var(--tahm-line); }
.tahm-faq summary { cursor: pointer; list-style: none; padding: 18px 20px; color: var(--tahm-heading); font-weight: 700; }
.tahm-faq summary::-webkit-details-marker { display: none; }
.tahm-faq details p { margin: 0; padding: 0 20px 18px; color: var(--tahm-muted); line-height: 1.7; }

/* --- Responsive --- */
@media (max-width: 1100px) {
  .tahm-hero__grid, .tahm-b2b__grid, .tahm-rent__grid, .tahm-seo__grid { grid-template-columns: 1fr; }
  .tahm-hero__visual { min-height: auto; justify-content: flex-start; }
  .tahm-card-grid--4, .tahm-product-grid, .tahm-why-grid, .tahm-steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tahm-brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tahm-section-head--split, .tahm-repair-cta__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767px) {
  .tahm-hero { padding: 28px 0 64px; }
  .tahm-services, .tahm-why, .tahm-b2b, .tahm-products,
  .tahm-steps, .tahm-rent, .tahm-brands, .tahm-seo { padding: 64px 0; }
  .tahm-hero__title { font-size: 38px; }
  .tahm-hero__lead { font-size: 17px; }
  .tahm-search { grid-template-columns: 1fr; }
  .tahm-card-grid--4, .tahm-why-grid, .tahm-product-grid, .tahm-steps-grid,
  .tahm-brand-grid, .tahm-hero-mini-grid { grid-template-columns: 1fr; }
  .tahm-hero-card { padding: 24px; }
  .tahm-hero-card h3 { font-size: 28px; }
  .tahm-hero__actions, .tahm-b2b__actions, .tahm-repair-cta__actions {
    flex-direction: column; align-items: stretch;
  }
}
