/* =========================================================
   TAHM — BASE: variables, reset, typography, buttons
   ========================================================= */

:root {
  --tahm-blue: #0196F2;
  --tahm-blue-dark: #0161AE;
  --tahm-blue-soft: #E2F4FF;
  --tahm-white: #FFFFFF;
  --tahm-bg: #F7FAFC;
  --tahm-card: #FFFFFF;
  --tahm-line: #E9E9E9;
  --tahm-line-2: #D6D6D6;
  --tahm-text: #494949;
  --tahm-heading: #000000;
  --tahm-muted: #6C7680;
  --tahm-yellow: #FED23A;
  --tahm-radius-xl: 30px;
  --tahm-radius-lg: 24px;
  --tahm-radius-md: 18px;
  --tahm-radius-sm: 14px;
  --tahm-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  --tahm-shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.04);
  --tahm-container: 1280px;
}

body { color: var(--tahm-text); background: #fff; }

.tahm-container {
  width: min(var(--tahm-container), calc(100% - 48px));
  margin: 0 auto;
}

.screen-reader-text { position: absolute; left: -9999px; }

a, a:hover, a:focus { text-decoration: none; }
img { max-width: 100%; height: auto; }

/* Storefront cleanup */
.site-content { padding-top: 0; }
.home.page:not(.woocommerce-page) .site-main,
.home .site-main { padding-top: 0; }
.home .content-area,
.home .site-main { width: 100%; float: none; margin: 0; }
.home .hentry, .home .entry-content { margin: 0; }

.storefront-full-width-content .site-content .col-full,
.home .site-content .col-full,
.home .col-full {
  max-width: 100% !important; width: 100% !important;
  padding-left: 0 !important; padding-right: 0 !important;
}

.home .site-main ul.products,
.home .site-main .woocommerce-products-header,
.home .site-header, .home .site-branding,
.home .site-search, .home .main-navigation,
.home .secondary-navigation, .home .storefront-primary-navigation,
.home .site-header-cart { margin: 0; }

/* No sidebar */
.tahm-no-sidebar .content-area,
.tahm-no-sidebar #primary,
.tahm-no-sidebar .site-main { width: 100% !important; float: none !important; margin-right: 0 !important; }
.tahm-no-sidebar #secondary,
.tahm-no-sidebar .widget-area,
.tahm-no-sidebar .sidebar { display: none !important; }
.tahm-no-sidebar .col-full { max-width: 1280px; }

/* Hide default page title */
.page:not(.home):not(.woocommerce-page) .entry-header { display: none !important; }
.page:not(.home):not(.woocommerce-page) #primary.content-area,
.page:not(.home):not(.woocommerce-page) .content-area,
.page:not(.home):not(.woocommerce-page) .site-main,
.blog .content-area, .archive .content-area, .search .content-area,
.blog .site-main, .archive .site-main, .search .site-main {
  width: 100% !important; max-width: 100% !important;
  float: none !important; margin: 0 !important; padding: 0 !important;
}

/* --- Typography --- */
.tahm-eyebrow,
.tahm-section-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--tahm-blue-soft); color: var(--tahm-blue-dark);
  font-size: 13px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase;
}
.tahm-section-kicker--light { background: rgba(255,255,255,0.16); color: #fff; }

.tahm-section-head { max-width: 780px; margin: 0 auto 40px; text-align: center; }
.tahm-section-head--split {
  max-width: none; margin: 0 0 40px;
  display: flex; align-items: end; justify-content: space-between; gap: 24px; text-align: left;
}

.tahm-section-head h2,
.tahm-b2b__content h2, .tahm-rent__content h2,
.tahm-seo__content h2, .tahm-repair-cta h2 {
  margin: 14px 0 12px; color: var(--tahm-heading);
  font-size: clamp(30px, 4vw, 42px); line-height: 1.12; font-weight: 700;
}

.tahm-section-head p,
.tahm-b2b__content p, .tahm-rent__content p,
.tahm-seo__content p, .tahm-repair-cta p {
  margin: 0; font-size: 17px; line-height: 1.7; color: var(--tahm-muted);
}

/* --- Buttons --- */
.tahm-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 22px; border-radius: 14px;
  border: 1px solid transparent; box-sizing: border-box;
  font-size: 15px; font-weight: 700; transition: all 0.22s ease;
}
.tahm-btn--primary { background: var(--tahm-blue); color: #fff; }
.tahm-btn--primary:hover { background: var(--tahm-blue-dark); color: #fff; }
.tahm-btn--secondary { background: #fff; color: var(--tahm-heading); border-color: var(--tahm-line-2); }
.tahm-btn--secondary:hover { border-color: var(--tahm-blue); color: var(--tahm-blue-dark); }
.tahm-btn--light { background: #fff; color: var(--tahm-blue-dark); }
.tahm-btn--light:hover { background: #f5f9fd; }
.tahm-btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.tahm-btn--ghost-light:hover { background: rgba(255,255,255,0.08); color: #fff; }
.tahm-btn--small { min-height: 44px; padding: 0 16px; font-size: 14px; }

.tahm-link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--tahm-blue-dark); font-weight: 700;
}
.tahm-link-arrow:hover { color: var(--tahm-blue); }

/* --- Container responsive --- */
@media (max-width: 767px) {
  .tahm-container { width: min(var(--tahm-container), calc(100% - 24px)); }
  .tahm-btn { width: 100%; }
}
