/*
Theme Name: TilbyTechFix
Theme URI: https://tilbytechfix.com/
Author: TilbyTechFix
Description: A clear, mobile-friendly repair business theme that keeps existing WordPress page content, posts, forms, and shortcodes.
Version: 1.6.8
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: tilbytechfix
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */

:root {
  --ttf-ink: #25303a;
  --ttf-navy: #303742;
  --ttf-coral: #f16d7b;
  --ttf-coral-dark: #de5364;
  --ttf-coral-deep: #d84e5e;
  --ttf-coral-soft: #ffd9dd;
  --ttf-coral-wash: #fff0f1;
  --ttf-paper: #ffffff;
  --ttf-muted: #2f363d;
  --ttf-line: #e2e4e8;
  --ttf-shadow: 0 12px 34px rgba(31, 40, 50, 0.1);
  --ttf-radius: 10px;
  --ttf-width: 1160px;
  --ttf-tracker: #1673c9;
  --ttf-tracker-dark: #105da5;
  --ttf-sky: #eaf7fc;
  --ttf-sky-mid: #d9eff9;
  --ttf-sky-deep: #c9e8f6;
}

.ttf-muted {
    color:#69737e; 
    
}

/* ==========================================================================
   2. Base reset & typography
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--ttf-paper);
  color: #343a40;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: #e75d6c;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #b93d4a !important; 
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid #e7a83e;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  z-index: 1000;
  background: #fff;
  padding: 0.8rem 1rem;
}

.skip-link:focus {
  left: 1rem;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   3. Buttons
   ========================================================================== */

button,
.button,
input[type="submit"],
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  border: 0;
  border-radius: 7px;
  background: var(--ttf-coral);
  color: #1a1a1a;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

button:hover,
.button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
  background: var(--ttf-coral-dark);
  color: #1a1a1a;
  transform: translateY(-1px);
  box-shadow: 0 9px 22px rgba(241, 109, 123, 0.25);
}

.button-secondary {
  background: #fff;
  color: #1a1a1a;
  box-shadow: inset 0 0 0 1px #d7d9de;
}

.button-secondary:hover {
  background: #f5f5f6;
  color: var(--ttf-navy);
}

/* ==========================================================================
   4. Layout utilities
   ========================================================================== */

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

.site-main {
  min-height: 55vh;
}

.content-section {
  padding: clamp(45px, 7vw, 84px) 0;
}

.content-section h2,
.page-header h1 {
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.alignleft {
  float: left;
  margin: 0 1.5rem 1rem 0;
}

.alignright {
  float: right;
  margin: 0 0 1rem 1.5rem;
}

.aligncenter {
  display: block;
  margin-inline: auto;
}

/* Full-width layout (Customizer) */
body.ttf-full-width-layout .site-main .container {
  width: calc(100% - 48px);
  max-width: none;
}

body.ttf-full-width-layout .site-main .entry-content > * {
  max-width: none;
}

body.ttf-full-width-layout .site-main .entry-content > .alignwide,
body.ttf-full-width-layout .site-main .entry-content .wp-block-columns {
  max-width: none;
}

body.ttf-full-width-layout .site-main .page-content-card {
  padding: clamp(22px, 4vw, 48px);
}

body.ttf-full-width-layout .site-main .entry-content form,
body.ttf-full-width-layout .site-main .entry-content .wpforms-container,
body.ttf-full-width-layout .site-main .entry-content .gform_wrapper {
  max-width: none;
}

body.ttf-full-width-layout .site-main .content-layout {
  width: 100%;
  max-width: none;
}

body.ttf-full-width-layout .home-content-section .home-content-heading,
body.ttf-full-width-layout .home-content-section .home-entry-content {
  width: 100%;
  max-width: none;
}

/* Boxed content area (Customizer) */
body.ttf-content-area-boxed .site-main .container,
body.ttf-content-area-boxed .page-shell > .container,
body.ttf-content-area-boxed .legacy-content > .container {
  width: min(980px, calc(100% - 48px));
  max-width: 980px;
}

body.ttf-content-area-boxed .site-main .content-layout .main-column {
  max-width: 900px;
  margin-inline: auto;
}

body.ttf-content-area-boxed .content-layout-sidebar-none .main-column {
  margin-inline: auto;
}

body.ttf-content-area-boxed .page-content-card {
  width: 100%;
}

/* Gentle inset leaves about 50px between page content and the viewport edges. */
body.ttf-content-area-gentle .site-main .container,
body.ttf-content-area-gentle .site-main .page-shell > .container,
body.ttf-content-area-gentle .site-main .legacy-content > .container {
  width: calc(100% - 100px);
  max-width: none;
}

body.ttf-content-area-gentle .site-main .content-layout {
  width: 100%;
  max-width: none;
}

body.ttf-content-area-gentle .site-main .content-layout .main-column {
  max-width: none;
}

/* Full width keeps a small 24px safety gutter and does not affect the header or footer. */
body.ttf-content-area-full .site-main .container,
body.ttf-content-area-full .site-main .page-shell > .container,
body.ttf-content-area-full .site-main .legacy-content > .container {
  width: calc(100% - 48px);
  max-width: none;
}

body.ttf-content-area-full .site-main .content-layout {
  width: 100%;
  max-width: none;
}

body.ttf-content-area-full .site-main .content-layout .main-column {
  max-width: none;
  margin-inline: 0;
}

/* Full-width overrides boxed when both layout choices are selected */
body.ttf-full-width-layout.ttf-content-area-boxed .site-main .container {
  width: calc(100% - 48px);
  max-width: none;
}

body.ttf-full-width-layout.ttf-content-area-boxed .site-main .content-layout {
  width: calc(100% - 48px);
  max-width: none;
}

body.ttf-full-width-layout.ttf-content-area-boxed .site-main .content-layout .main-column {
  max-width: none;
  margin-inline: 0;
}

body.ttf-full-width-layout.ttf-content-area-gentle .site-main .container {
  width: calc(100% - 48px);
  max-width: none;
}

body.ttf-full-width-layout.ttf-content-area-gentle .site-main .content-layout {
  width: 100%;
  max-width: none;
}

body.ttf-full-width-layout.ttf-content-area-gentle .site-main .content-layout .main-column {
  max-width: none;
  margin-inline: 0;
}

/* Content spacing variants */
.ttf-content-spacing-compact .page-shell {
  padding: 24px 0 48px;
}

.ttf-content-spacing-compact .legacy-content {
  padding: 30px 0;
}

.ttf-content-spacing-compact .page-header {
  margin-bottom: 18px;
  padding: clamp(20px, 3vw, 32px);
}

.ttf-content-spacing-compact .page-content-card {
  padding: clamp(18px, 2.5vw, 28px);
}

.ttf-content-spacing-relaxed .page-shell {
  padding: clamp(60px, 8vw, 96px) 0 110px;
}

.ttf-content-spacing-relaxed .legacy-content {
  padding: clamp(60px, 8vw, 92px) 0;
}

.ttf-content-spacing-relaxed .page-header {
  margin-bottom: 40px;
  padding: clamp(36px, 6vw, 64px);
}

.ttf-content-spacing-relaxed .page-content-card {
  padding: clamp(34px, 6vw, 64px);
}

/* ==========================================================================
   5. Header
   ========================================================================== */

.site-header {
  position: relative;
  background: var(--ttf-navy);
  color: #fff;
  border: 0;
}

.header-social {
  background: var(--ttf-navy);
}

.social-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  color: #bac0c7;
  font-size: 0.78rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-links a.social-link {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.social-links a.social-link:hover {
  color: #fff;
  transform: translateY(-2px);
  opacity: 0.9;
}

.social-link svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.social-facebook {
  background: #4267b2;
}

.social-whatsapp {
  background: #25a765;
}

.social-youtube {
  background: #f00000;
}

.brand-row {
  padding: 12px 24px 17px;
}

.brand {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 4px;
  color: var(--ttf-ink);
  text-decoration: none;
  min-width: max-content;
}

.brand .custom-logo-link {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand .custom-logo {
  display: block;
  width: auto;
  max-width: min(360px, 75vw);
  max-height: 94px;
  height: auto;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 5px;
  background: var(--ttf-coral);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 900;
  text-decoration: none;
}

.brand-mark:hover {
  color: #fff;
}

.brand-text {
  display: grid;
  gap: 3px;
  color: var(--ttf-coral);
  text-decoration: none;
  line-height: 1.2;
}

.brand-name {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.brand-tagline {
  display: block;
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  font-weight: 500;
  color: var(--ttf-coral);
  line-height: 1.2;
}

.nav-row {
  background: var(--ttf-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.nav-inner {
  display: flex;
  align-items: stretch;
  gap: 14px;
  min-height: 60px;
  position: relative;
}

.main-nav {
  display: block;
  margin: 0;
  position: static;
}

.main-nav > div {
  height: 100%;
}

.main-nav ul {
  display: flex;
  align-items: stretch;
  gap: 0;
  height: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  position: static;
}

.main-nav li {
  display: flex;
  align-items: stretch;
}

.main-nav a {
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: #fff;
  font-size: 17px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
  background: var(--ttf-coral);
  color: #1a1a1a !important;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.header-actions .header-contact,
.header-actions .header-tracker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.55rem 0.9rem;
  border-radius: 7px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.header-actions .header-contact {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.48);
  color: #fff;
}

.header-actions .header-tracker {
  background: var(--ttf-tracker);
  color: #fff;
}

.header-actions .header-contact:hover {
  background: var(--ttf-coral-dark);
  color: #fff !important;
}

.header-actions .header-tracker:hover {
  background: var(--ttf-tracker-dark);
  color: #fff;
	box-shadow:none !important;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0 5px;
}

.header-search:hover {
  color: #ff8590;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  min-height: 44px;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  background: var(--ttf-coral);
  color: #fff;
  border: 0;
  cursor: pointer;
}

/* ==========================================================================
   6. Homepage – legacy hero, trust strip, content
   ========================================================================== */

.home-main .home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 88px) 0;
  background: linear-gradient(125deg, #303742 0%, #414953 58%, #5b6068 100%);
  color: #fff;
}

.home-main .home-hero::after {
  display: none;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  align-items: center;
  gap: clamp(32px, 6vw, 78px);
}

.home-hero-copy {
  position: relative;
  z-index: 1;
}

.home-hero-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--ttf-coral-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-hero-copy .eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
}

.home-hero-copy h1 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.home-hero-lede {
  max-width: 620px;
  margin: 22px 0 26px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  line-height: 1.6;
}

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

.home-hero-actions .button {
  min-height: 52px;
  padding-inline: 22px;
}

.home-hero-actions .button-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: none;
}

.home-hero-actions .button-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.home-hero-note {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
}

.home-hero-visual {
  position: relative;
  min-height: 360px;
}

.home-hero-visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border: 5px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.28);
}

.home-hero-visual-placeholder {
  display: flex;
  min-height: 360px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background:
    radial-gradient(circle at 70% 28%, rgba(241, 109, 123, 0.48), transparent 35%),
    linear-gradient(145deg, #414953, #222831);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.22);
}

.home-hero-visual-placeholder span {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 28px;
  background: var(--ttf-coral);
  color: #fff;
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.home-hero-visual-placeholder strong {
  color: #fff;
  font-size: 1.2rem;
}

.home-hero-badge {
  position: absolute;
  right: -15px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 300px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 10px;
  background: #fff;
  color: var(--ttf-navy);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.home-hero-badge strong {
  color: var(--ttf-coral-deep);
  font-size: 2rem;
  line-height: 1;
}

.home-hero-badge span {
  font-size: 0.82rem;
  line-height: 1.35;
}

/* Trust strip */
.home-trust-strip {
  background: #f7f7f8;
  border-bottom: 1px solid var(--ttf-line);
}

.home-trust-items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 18px 0;
}

.home-trust-items > span,
.home-trust-items > a {
  display: grid;
  gap: 2px;
  color: var(--ttf-muted);
  font-size: 0.88rem;
  text-decoration: none;
}

.home-trust-items strong {
  color: var(--ttf-navy);
  font-size: 0.98rem;
}

.home-trust-items > a:hover strong {
  color: var(--ttf-coral-deep);
}

.home-trust-items > span.home-trust-item-blue-light {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-width: 0;
}

.home-trust-item-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.home-trust-item-blue-light img {
  display: block;
  flex: 0 0 auto;
  width: 82px;
  height: 42px;
  max-width: 34%;
  object-fit: contain;
}

.trust-pill {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: var(--ttf-coral-wash);
  color: #b84250;
  font-size: 0.82rem;
  font-weight: 750;
}

/* Homepage content sections */
.home-content-section {
  padding: clamp(42px, 6vw, 76px) 0;
  background: #fff;
}

.home-content-heading {
  margin: 0;
  max-width: none;
}

.home-content-heading .eyebrow {
  color: #168fc4;
}

.home-content-heading h2 {
  margin: 0;
  color: var(--ttf-navy);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.home-intro-panel {
  margin: 0 0 clamp(30px, 4vw, 48px);
  padding: clamp(24px, 4vw, 42px);
  background: #f7f7f8;
  border-left: 5px solid #38bdf8;
}

.home-intro-copy {
  max-width: none;
  margin: 18px 0 0;
  color: var(--ttf-muted);
}

.home-intro-copy p {
  line-height: 1.75;
}

.home-intro-copy > :last-child {
  margin-bottom: 0;
}

.home-entry-content {
  max-width: 850px;
  margin-inline: auto;
}

.home-entry-content > :first-child {
  margin-top: 0;
}

.home-entry-content > h2 {
  padding-top: 26px;
  border-top: 1px solid var(--ttf-line);
}

.home-entry-content .wp-block-columns {
  margin-block: 30px;
}

.home-entry-content .wp-block-image img {
  border-radius: 10px;
}

.home-entry-content .has-background {
  background-color: #f6f7f8 !important;
  color: var(--ttf-navy) !important;
  border: 1px solid var(--ttf-line);
  border-radius: 12px;
}

.home-entry-content .has-background,
.home-entry-content .has-background p,
.home-entry-content .has-background li,
.home-entry-content .has-background strong {
  color: var(--ttf-navy) !important;
}

.home-entry-content .has-background a:not(.wp-block-button__link) {
  color: #bd4350 !important;
}

.home-entry-content .has-background .wp-block-button__link,
.home-entry-content .has-background a.wp-block-button__link {
  background: var(--ttf-coral) !important;
  color: #fff !important;
  border-radius: 7px;
}

.home-entry-content .wp-block-columns.has-background {
  gap: 20px;
  padding: clamp(16px, 3vw, 28px);
}

.home-entry-content .wp-block-columns.has-background .wp-block-column {
  background: #fff;
  border: 1px solid var(--ttf-line);
  border-radius: 10px;
}

.home-entry-content .has-text-align-center {
  text-align: left;
}

.home-entry-content > .wp-block-group.has-background {
  border-left: 5px solid var(--ttf-tracker);
}

.home-main .cta-band {
  margin-top: 0;
}

/* Legacy home banner */
.home-banner {
  min-height: clamp(300px, 38vw, 510px);
  background-color: #414953;
  background-image: linear-gradient(135deg, #454d57, #303742);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.banner-inner {
  display: flex;
  justify-content: flex-end;
  padding-top: 40px;
  padding-bottom: 28px;
}

.banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
  border-radius: 9px;
  background: rgba(34, 40, 48, 0.46);
  backdrop-filter: blur(5px);
}

.banner-actions .button {
  min-height: 45px;
}

/* ==========================================================================
   7. Homepage redesign (purpose-built)
   ========================================================================== */

.home-redesign {
  overflow: hidden;
  background: #fff;
}

.home-redesign-hero {
  position: relative;
  padding: clamp(48px, 7vw, 92px) 0;
  background:
    radial-gradient(ellipse at 86% 12%, rgba(255, 255, 255, 0.72), transparent 34%),
    linear-gradient(125deg, var(--ttf-sky) 0%, var(--ttf-sky-mid) 58%, var(--ttf-sky-deep) 100%);
  color: var(--ttf-ink);
}

.home-redesign-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  align-items: center;
  gap: clamp(34px, 6vw, 84px);
}

.home-redesign-copy {
  max-width: 640px;
}

.home-redesign-kicker {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 1.20rem;
  font-weight: 800;
  color: var(--ttf-coral-deep);
  margin: 0 0 0.75rem;
}

.home-redesign-copy h1 {
  max-width: 680px;
  margin: 0;
  color: var(--ttf-ink);
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.home-redesign-lead {
  max-width: 600px;
  margin: 1.35rem 0 1.6rem;
  color: #405766;
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
}

.home-redesign-how-link {
  background: var(--ttf-coral);
  color: #1a1a1a;
  box-shadow: 0 8px 20px rgba(216, 78, 94, 0.16);
}

.home-redesign-how-link:hover {
  background: var(--ttf-coral-dark);
  color: #1a1a1a !important;
  box-shadow: 0 9px 22px rgba(216, 78, 94, 0.22);
}

.home-redesign-local {
  margin-top: 1.8rem;
  color: #405766;
  font-size: 0.9rem;
}

.home-redesign-quote-card {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--ttf-radius);
  background: #fff;
  color: var(--ttf-ink);
  box-shadow: 0 22px 65px rgba(0, 0, 0, 0.2);
}

.home-redesign-quote-card h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  line-height: 1.2;
}

.home-redesign-quote-card > p:not(.home-redesign-kicker) {
  margin: 0.55rem 0 1rem;
  color: var(--ttf-muted);
}

.home-redesign-quote-form form,
.home-redesign-quote-form .wpforms-container,
.home-redesign-quote-form .gform_wrapper {
  max-width: none;
  margin: 1rem 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-redesign-quote-form label {
  color: var(--ttf-ink);
}

.home-redesign-highlights {
  background: #eef7fc;
  border-bottom: 1px solid #d8eaf4;
}

.home-redesign-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-block: 24px;
}

.home-redesign-highlight-grid > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.home-redesign-highlight-icon {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: #fff;
  font-size: 1.35rem;
  box-shadow: 0 5px 18px rgba(11, 39, 52, 0.08);
}

.home-redesign-highlight-grid p {
  display: grid;
  margin: 0;
  line-height: 1.4;
}

.home-redesign-highlight-grid strong {
  font-size: 0.94rem;
}

.home-redesign-highlight-grid p span {
  margin-top: 3px;
  color: var(--ttf-muted);
  font-size: 0.82rem;
}

.home-redesign-section {
  padding: clamp(58px, 8vw, 98px) 0;
}

.home-redesign-section-heading {
  max-width: 740px;
  margin: 0 auto 38px;
  text-align: center;
}

.home-redesign-section-heading h2,
.home-redesign-about h2,
.home-redesign-final-cta h2 {
  margin: 0;
  color: var(--ttf-ink);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.home-redesign-section-heading > p:last-child {
  margin: 0.85rem auto 0;
  color: var(--ttf-muted);
  font-size: 1.05rem;
}

.home-redesign-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.home-redesign-service-card {
  padding: 28px;
  border: 1px solid var(--ttf-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(11, 39, 52, 0.05);
}

.home-redesign-service-card > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 17px;
  background: #eaf6fc;
  font-size: 1.55rem;
}

.home-redesign-service-card h3,
.home-redesign-step-grid h3 {
  margin: 0 0 0.5rem;
  color: var(--ttf-ink);
  font-size: 1.2rem;
}

.home-redesign-service-card p,
.home-redesign-step-grid p {
  margin: 0;
  color: var(--ttf-muted);
}

.home-redesign-steps {
  background: #f2f8fc;
}

.home-redesign-step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: steps;
}

.home-redesign-step-grid li {
  padding: 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--ttf-line);
}

.home-redesign-step-grid li > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--ttf-navy);
  color: #fff;
  font-weight: 800;
  font-size: 0.86rem;
}

.home-redesign-about-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: center;
  gap: clamp(34px, 7vw, 90px);
}

.home-redesign-about-grid > div:last-child {
  max-width: 700px;
}

.home-redesign-about h2 {
  margin-bottom: 1rem;
}

.home-redesign-about-grid > div:last-child > p:not(.home-redesign-kicker) {
  color: var(--ttf-muted);
  font-size: 1.08rem;
}

.home-redesign-about-mark {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 280px;
  border-radius: 28px;
  background: linear-gradient(140deg, #e6f4fb, #f7fbfe);
  color: var(--ttf-navy);
}

.home-redesign-about-mark span {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border-radius: 32px;
  background: var(--ttf-coral);
  color: #fff;
  font-size: 4rem;
  font-weight: 900;
  box-shadow: 0 15px 35px rgba(241, 109, 123, 0.25);
}

.home-redesign-about-mark small {
  margin-top: 14px;
  color: var(--ttf-muted);
  font-weight: 700;
}

.home-redesign-text-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 0.5rem;
  font-weight: 800;
  text-decoration: none;
}

.home-redesign-final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-block: clamp(32px, 5vw, 56px) 72px;
  padding: clamp(28px, 5vw, 52px);
  border-radius: var(--ttf-radius);
  background: var(--ttf-navy);
  color: #fff;
}

.home-redesign-final-cta .home-redesign-kicker {
  color: #bfeaff;
}

.home-redesign-final-cta h2 {
  color: #fff;
}

.home-redesign-final-cta p:last-child {
  margin: 0.6rem 0 0;
  color: rgba(255, 255, 255, 0.77);
}

.home-redesign-final-cta .button {
  flex-shrink: 0;
  background: var(--ttf-coral);
  color: #1a1a1a;
}

.home-redesign-final-cta .button:hover {
  background: var(--ttf-coral-dark);
  color: #1a1a1a !important;
}

/* Hero action row + Track repair / Meet link (tracker blue = repair status) */
.home-redesign-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.home-redesign-actions > .button + .button {
  margin-left: 8px;
}

.home-redesign-actions .home-redesign-meet-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0.7rem 1.1rem;
  background-color: var(--ttf-tracker);
  color: #fff;
  box-shadow: 0 8px 20px rgba(22, 115, 201, 0.16);
  text-decoration: none;
  border-radius: 7px;
  font-weight: 750;
}

.home-redesign-actions .home-redesign-meet-link:hover {
  background-color: var(--ttf-tracker-dark);
  color: #fff !important;
}

.home-redesign-about {
  scroll-margin-top: 24px;
}

.home-redesign-about-mark.has-workbench-image {
  display: block;
  overflow: hidden;
  background: #e6f4fb;
}

.home-redesign-about-mark.has-workbench-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 420px;
  object-fit: cover;
}

.home-redesign-google-reviews {
  padding: clamp(34px, 5vw, 58px) 0;
  background: #f2f8fc;
  border-top: 1px solid #d8eaf4;
  border-bottom: 1px solid #d8eaf4;
  text-align: center;
}

.home-redesign-google-reviews .container {
  display: grid;
  justify-items: center;
  gap: 24px;
}

.home-redesign-google-widget {
  width: 100%;
  max-width: 100%;
}

.home-redesign-google-reviews .home-redesign-google-review-link {
  display: inline-flex;
  width: min(100%, 460px);
  min-height: 66px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.9rem 1.5rem;
  border-radius: 10px;
  background-color: #c89100;
  color: #263238;
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(140, 95, 0, 0.24);
}

.home-redesign-google-reviews .home-redesign-google-review-link:hover {
  background-color: #a97800;
  color: #263238 !important;
}

a.see-more-work {
    color: #8acaf2 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.13em !important;
    font-size: 1.10rem !important;
    font-weight: 500 !important;
    display: inline-block !important;
    transition: transform 0.2s ease-in-out, color 0.2s ease-in-out !important;
}

a.see-more-work:hover {
    color: #3b93eb !important;
    transform: scale(1.05) !important;
}


/* ==========================================================================
   8. Page shells, content cards, notices
   ========================================================================== */

.page-shell {
  padding: clamp(34px, 5vw, 62px) 0 80px;
  background: #fff;
}

.page-header {
  margin-bottom: 28px;
  padding: clamp(24px, 4vw, 42px);
  background: #f7f7f8;
  border: 0;
  border-left: 5px solid var(--ttf-coral);
  border-radius: 0;
}

.page-header .eyebrow {
  color: #e45d6b;
}

.page-header h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

.page-header p {
  max-width: 720px;
  margin: 0.9rem 0 0;
  color: var(--ttf-muted);
  font-size: 1.08rem;
}

.page-content-card {
  padding: clamp(22px, 4vw, 48px);
  background: #fff;
  border: 1px solid var(--ttf-line);
  border-radius: 8px;
  box-shadow: 0 5px 24px rgba(31, 40, 50, 0.06);
  min-width: 0;
}

.page-notice {
  margin: 0 0 24px;
  padding: 17px 20px;
  border-radius: 4px;
  background: #fff2f3;
  border-left: 4px solid var(--ttf-coral);
}

.page-notice strong {
  display: block;
}

.quick-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 24px;
}

.quick-contact .button {
  border-radius: 7px;
}

.service-prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 25px;
  padding: 18px 20px;
  background: #f1f8f7;
  border-radius: 14px;
}

.service-prompt p {
  margin: 0;
}

.cta-band {
  margin: 30px auto 72px;
  padding: clamp(26px, 5vw, 48px);
  border-radius: 8px;
  background: var(--ttf-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
}

.cta-band p {
  margin: 0.45rem 0 0;
  color: rgba(255, 255, 255, 0.75);
}

.cta-band .button {
  flex-shrink: 0;
  background: var(--ttf-coral);
  color: #fff;
}

/* ==========================================================================
   9. Entry content (posts & pages)
   ========================================================================== */

.legacy-content {
  padding: clamp(34px, 5vw, 62px) 0;
  background: #fff;
}

.entry-content {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.03rem;
  color: #444;
}

.entry-content > * {
  max-width: 820px;
  margin-inline: auto;
}

.entry-content > .alignwide {
  max-width: var(--ttf-width);
}

.entry-content > .alignfull {
  max-width: none;
  width: 100%;
}

.entry-content > :first-child {
  margin-top: 0;
}

.entry-content > :last-child {
  margin-bottom: 0;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  color: #172c50;
  line-height: 1.16;
  letter-spacing: -0.025em;
  margin-top: 1.5em;
}

.entry-content h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
}

.entry-content h3 {
  font-size: 1.45rem;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
  margin-block: 0 1.25rem;
  line-height: 1.75;
}

.entry-content a {
  color: #e75d6c;
}

.entry-content a:hover {
  color: #b93d4a;
}

.entry-content img,
.entry-content video,
.entry-content iframe,
.entry-content embed,
.entry-content object {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

.entry-content iframe {
  width: 100%;
  border: 0;
}

.entry-content figure,
.entry-content .wp-caption {
  margin-top: 2rem;
  margin-bottom: 2rem;
  max-width: 100%;
}

.entry-content blockquote {
  margin: 2rem auto;
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--ttf-coral);
  background: #fff2f3;
  border-radius: 0 14px 14px 0;
}

.entry-content table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.entry-content th,
.entry-content td {
  padding: 0.7rem;
  border-bottom: 1px solid var(--ttf-line);
  text-align: left;
}

.entry-content .wp-block-columns {
  max-width: var(--ttf-width);
  gap: 24px;
}

.entry-content .wp-block-column {
  padding: 20px;
  border: 1px solid var(--ttf-line);
  border-radius: 18px;
  background: #fff;
}

.entry-content form,
.entry-content .wpforms-container,
.entry-content .gform_wrapper {
  max-width: 760px;
  margin: 2rem auto;
  padding: clamp(20px, 4vw, 38px);
  border: 1px solid var(--ttf-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 24px rgba(31, 40, 50, 0.08);
}

.entry-content input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.entry-content select,
.entry-content textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #bdcccf;
  border-radius: 9px;
  background: #fff;
}

.entry-content textarea {
  min-height: 140px;
}

.entry-content label {
  font-weight: 680;
}

.entry-content input[type="checkbox"],
.entry-content input[type="radio"] {
  accent-color: var(--ttf-coral);
}

.entry-content .alignleft,
.entry-content .alignright {
  max-width: min(48%, 420px);
}

.entry-content .wp-block-embed {
  max-width: 100%;
}

.entry-content .wp-block-embed__wrapper {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.entry-content .wp-block-gallery {
  max-width: 100%;
}

/* ==========================================================================
   10. Sidebars & content layout
   ========================================================================== */

.content-layout {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.content-layout .main-column {
  flex: 1 1 0;
  min-width: 0;
}

.content-layout .main-sidebar {
  flex: 0 0 290px;
  width: 290px;
  min-width: 0;
  padding: 22px;
  background: #f7f7f8;
  border: 1px solid var(--ttf-line);
  border-radius: 8px;
}

.content-layout-sidebar-left .main-sidebar {
  order: 0;
}

.content-layout-sidebar-left .main-column {
  order: 1;
}

.content-layout-sidebar-right .main-column {
  order: 0;
}

.content-layout-sidebar-right .main-sidebar {
  order: 1;
}

.content-layout-sidebar-none {
  display: block;
}

.content-layout-sidebar-none .main-column {
  width: 100%;
}

.main-sidebar .widget + .widget {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--ttf-line);
}

.main-sidebar .widget-title {
  margin: 0 0 12px;
  color: #172c50;
  font-size: 1.15rem;
}

.main-sidebar ul {
  padding-left: 1.15rem;
}

.main-sidebar img {
  height: auto;
}

/* ==========================================================================
   11. Posts list & category layouts
   ========================================================================== */

.post-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.post-card {
  overflow: hidden;
  border: 1px solid var(--ttf-line);
  border-radius: 18px;
  background: #fff;
}

.post-card-body {
  padding: 22px;
}

.post-card h2 {
  margin: 0 0 0.6rem;
  font-size: 1.3rem;
}

.post-card h2 a {
  color: var(--ttf-ink);
  text-decoration: none;
}

.post-meta {
  color: var(--ttf-muted);
  font-size: 0.82rem;
}

.pagination {
  display: flex;
  gap: 8px;
  margin-top: 30px;
}

.pagination a,
.pagination span {
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--ttf-line);
  text-decoration: none;
}

.category.ttf-category-layout-grid-3 .post-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category.ttf-category-layout-grid-2 .post-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category.ttf-category-layout-list .post-list {
  grid-template-columns: minmax(0, 1fr);
}

.category.ttf-category-layout-image-left .post-list {
  grid-template-columns: minmax(0, 1fr);
}

.category.ttf-category-layout-image-left .post-card.has-post-thumbnail {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
}

.category.ttf-category-layout-image-left .post-card.has-post-thumbnail > a {
  display: block;
  min-height: 280px;
  overflow: hidden;
}

.category.ttf-category-layout-image-left .post-card.has-post-thumbnail > a img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 380px;
  object-fit: cover;
  border-radius: 0;
}

.category.ttf-category-layout-image-left .post-card.has-post-thumbnail .post-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 48px);
}

.category.ttf-category-layout-image-left .post-card:not(.has-post-thumbnail) .post-card-body {
  padding: clamp(24px, 4vw, 48px);
}

/* ==========================================================================
   12. Quote dialog & booking form
   ========================================================================== */

.ttf-quote-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 0;
  width: min(760px, calc(100% - 32px));
  max-width: 760px;
  max-height: min(90vh, 900px);
  overflow: auto;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #343a40;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.ttf-quote-dialog::backdrop {
  background: rgba(16, 24, 34, 0.72);
  backdrop-filter: blur(3px);
}

.ttf-quote-dialog-inner {
  position: relative;
  padding: clamp(22px, 4vw, 36px);
}

.ttf-quote-dialog-inner h2 {
  margin: 0 48px 22px 0;
  color: #172c50;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
}

.ttf-quote-dialog .ttf-quote-form {
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.ttf-quote-dialog .ttf-quote-form select {
  max-width: min(620px, calc(100vw - 80px));
}

.ttf-quote-dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  min-width: 42px;
  width: 42px;
  min-height: 42px;
  padding: 0;
  background: var(--ttf-navy);
  color: #fff;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  border: 0;
  cursor: pointer;
}

.ttf-quote-dialog-close:hover {
  background: var(--ttf-coral);
}

.ttf-booking-page .entry-content .ttf-quote-form {
  max-width: 100%;
  margin: 0;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--ttf-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 24px rgba(31, 40, 50, 0.06);
}

.ttf-booking-page .entry-content .ttf-quote-form select {
  font-size: 16px;
  line-height: 1.4;
}

/* Booking plugin presentation */
body.ttf-repair-booking-page .site-main > .container {
  width: min(1600px, calc(100% - 64px));
  max-width: 1600px;
}

body.ttf-repair-booking-page.ttf-content-area-boxed .site-main > .container {
  width: min(980px, calc(100% - 48px));
  max-width: 980px;
}

body.ttf-repair-booking-page.ttf-full-width-layout .site-main > .container {
  width: calc(100% - 48px);
  max-width: none;
}

/* Keep the booking page consistent with the selected content-area width. */
body.ttf-repair-booking-page.ttf-content-area-gentle .site-main > .container {
  width: calc(100% - 100px);
  max-width: none;
}

body.ttf-repair-booking-page.ttf-content-area-full .site-main > .container {
  width: calc(100% - 48px);
  max-width: none;
}

body.ttf-repair-booking-page.ttf-full-width-layout.ttf-content-area-gentle .site-main > .container {
  width: calc(100% - 48px);
  max-width: none;
}

body.ttf-repair-booking-page .site-main .content-layout .main-column {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.ttf-repair-booking-page .page-header {
  background: var(--ttf-sky);
  border-left-color: var(--ttf-tracker);
  border-radius: var(--ttf-radius);
}

.ttf-repair-booking-page .page-header .eyebrow {
  color: var(--ttf-tracker);
}

.ttf-repair-booking-page .content-layout {
  display: block;
}

.ttf-repair-booking-page .content-layout .page-content-card {
  width: 100%;
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ttf-repair-booking-page .ttf-repair-booking-layout {
  display: grid;
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.9fr);
  grid-template-areas: "form notes";
  justify-content: center;
  align-items: start;
  gap: 32px;
}

.ttf-repair-booking-page .ttf-repair-booking-form {
  grid-area: form;
  min-width: 0;
}

.ttf-repair-booking-page .ttf-repair-booking-notes {
  grid-area: notes;
  padding: 24px;
  border: 1px solid var(--ttf-sky-deep);
  border-left: 4px solid var(--ttf-tracker);
  border-radius: var(--ttf-radius);
  background: var(--ttf-sky);
  color: var(--ttf-ink);
}

.ttf-repair-booking-page .ttf-repair-booking-notes h2 {
  margin: 0 0 14px;
  color: var(--ttf-navy);
  font-size: 1.3rem;
  line-height: 1.25;
}

.ttf-repair-booking-page .ttf-repair-booking-notes p {
  margin: 0 0 14px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.ttf-repair-booking-page .ttf-repair-booking-notes p:last-child {
  margin-bottom: 0;
}

.ttf-repair-booking-page .ttf-booking-approval-note {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ttf-sky-deep);
}

.ttf-repair-booking-page .tbf-wizard-container {
  width: min(100%, 920px) !important;
  max-width: 920px !important;
  margin: 0 auto !important;
  padding: clamp(22px, 4vw, 38px) !important;
  border: 1px solid var(--ttf-line) !important;
  border-radius: var(--ttf-radius) !important;
  background: #fff !important;
  color: var(--ttf-ink) !important;
  box-shadow: var(--ttf-shadow) !important;
  font-family: inherit !important;
  box-sizing: border-box;
}

.ttf-repair-booking-page .tbf-wizard-container #tbf-booking-form {
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ttf-repair-booking-page .tbf-charity-badge {
  padding: 14px 16px !important;
  border: 1px solid var(--ttf-sky-deep) !important;
  border-left: 4px solid var(--ttf-tracker) !important;
  border-radius: var(--ttf-radius) !important;
  background: var(--ttf-sky) !important;
  color: var(--ttf-navy) !important;
  font-family: inherit !important;
  line-height: 1.5;
}

.ttf-repair-booking-page .tbf-progress {
  overflow: hidden;
  border-radius: 999px;
  background: var(--ttf-line);
}

.ttf-repair-booking-page .tbf-progress-bar {
  background: var(--ttf-tracker) !important;
}

.ttf-repair-booking-page .tbf-step h2,
.ttf-repair-booking-page .tbf-step h3 {
  color: var(--ttf-navy);
  font-family: inherit;
}

.ttf-repair-booking-page .tbf-btn {
  border-radius: 7px;
  background: var(--ttf-tracker);
  font-family: inherit;
  font-weight: 750;
}

.ttf-repair-booking-page .tbf-btn:hover {
  background: var(--ttf-tracker-dark);
}

.ttf-repair-booking-page .tbf-step input:not([type="checkbox"]):not([type="radio"]),
.ttf-repair-booking-page .tbf-step select,
.ttf-repair-booking-page .tbf-step textarea {
  max-width: 100%;
  min-height: 48px;
  border: 1px solid #bdcccf;
  border-radius: 8px;
  font: inherit;
}

.ttf-repair-booking-page .tbf-step textarea {
  min-height: 140px;
}

@media (max-width: 960px) {
  body.ttf-repair-booking-page .site-main > .container {
    width: calc(100% - 40px);
    max-width: none;
  }

  body.ttf-repair-booking-page.ttf-content-area-gentle .site-main > .container {
    width: calc(100% - 40px);
  }

  body.ttf-repair-booking-page.ttf-content-area-full .site-main > .container,
  body.ttf-repair-booking-page.ttf-full-width-layout.ttf-content-area-gentle .site-main > .container {
    width: calc(100% - 32px);
  }

  .ttf-repair-booking-page .ttf-repair-booking-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "notes" "form";
  }

  .ttf-repair-booking-page .ttf-repair-booking-notes {
    padding: 20px;
  }
}

/* ==========================================================================
   13. Footer
   ========================================================================== */

.site-footer {
  padding: 56px 0 22px;
  background: var(--ttf-navy);
  color: #fff;
  border-top: 5px solid var(--ttf-coral);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 1rem;
}

.site-footer p {
  margin: 0.4rem 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  color: #ff8d98;
}


.site-footer a:hover {
  color: #1673c9 !important;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer-contact {
  display: grid;
  gap: 9px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
}

.footer-bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

/* ==========================================================================
   14. Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .header-actions {
    gap: 6px;
  }

  .header-actions .header-contact,
  .header-actions .header-tracker {
    padding: 0.48rem 0.65rem;
    font-size: 0.82rem;
  }

  .header-search span {
    display: none;
  }
}

@media (max-width: 1020px) {
  .social-inner,
  .brand-row,
  .nav-inner {
    width: calc(100% - 32px);
  }

  .nav-inner {
    min-height: 58px;
  }

  .menu-toggle {
    display: inline-flex;
    align-self: center;
    margin: 7px 0;
	color: #1a1a1a;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 5;
    padding: 0 16px 14px;
    background: var(--ttf-navy);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    display: grid;
    max-width: var(--ttf-width);
    margin: auto;
  }

  .main-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .main-nav a {
    min-height: 48px;
    padding: 0 10px;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-actions .header-contact {
    min-height: 40px;
  }

  .header-search {
    margin-left: 4px !important;
  }

  .home-banner {
    min-height: clamp(280px, 44vw, 430px);
  }
}

@media (max-width: 900px) {
  .content-layout,
  .content-layout-sidebar-left,
  .content-layout-sidebar-right {
    display: flex;
    flex-direction: column;
  }

  .content-layout .main-column,
  .content-layout-sidebar-left .main-column,
  .content-layout-sidebar-right .main-column {
    order: 0;
    width: 100%;
  }

  .content-layout .main-sidebar,
  .content-layout-sidebar-left .main-sidebar,
  .content-layout-sidebar-right .main-sidebar {
    order: 1;
    flex: 0 0 auto;
    width: 100%;
  }

  .category.ttf-category-layout-grid-3 .post-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-redesign-hero-grid {
    grid-template-columns: 1fr minmax(300px, 0.85fr);
    gap: 28px;
  }

  .home-redesign-highlight-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .home-redesign-step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .home-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .home-hero-visual,
  .home-hero-visual > img,
  .home-hero-visual-placeholder {
    min-height: 280px;
  }

  .home-hero-badge {
    right: 12px;
    bottom: 12px;
  }

  .home-trust-items {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px 0;
  }

  .home-trust-items > span,
  .home-trust-items > a {
    padding-bottom: 10px;
    border-bottom: 1px solid var(--ttf-line);
  }

  .home-trust-items > *:last-child {
    padding-bottom: 0;
    border: 0;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(var(--ttf-width), calc(100% - 32px));
  }

  body.ttf-content-area-gentle .site-main .container,
  body.ttf-content-area-full .site-main .container {
    width: calc(100% - 32px);
  }

  body.ttf-full-width-layout .site-main .container,
  body.ttf-content-area-boxed .site-main .container,
  body.ttf-full-width-layout.ttf-content-area-boxed .site-main .container,
  body.ttf-full-width-layout.ttf-content-area-boxed .site-main .content-layout {
    width: calc(100% - 32px);
  }

  body.ttf-full-width-layout .site-main .content-layout {
    width: calc(100% - 32px);
  }

  .post-list {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-prompt {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .home-redesign-hero-grid,
  .home-redesign-about-grid {
    grid-template-columns: 1fr;
  }

  .home-redesign-copy h1 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .home-redesign-card-grid {
    grid-template-columns: 1fr;
  }

  .home-redesign-about-mark {
    min-height: 210px;
  }

  .home-redesign-about-mark.has-workbench-image img {
    min-height: 210px;
    max-height: 320px;
  }

  .home-redesign-final-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-redesign-final-cta .button {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .category.ttf-category-layout-image-left .post-card.has-post-thumbnail {
    grid-template-columns: minmax(0, 1fr);
  }

  .category.ttf-category-layout-image-left .post-card.has-post-thumbnail > a,
  .category.ttf-category-layout-image-left .post-card.has-post-thumbnail > a img {
    min-height: 220px;
    max-height: 260px;
  }

  .category.ttf-category-layout-image-left .post-card.has-post-thumbnail .post-card-body {
    padding: 22px;
  }
}

@media (max-width: 640px) {
  .entry-content .alignleft,
  .entry-content .alignright {
    float: none;
    display: block;
    max-width: 100%;
    margin: 1.25rem auto;
  }

  .entry-content table {
    font-size: 0.92rem;
  }

  .ttf-booking-page .page-content-card {
    padding: 18px;
  }

  .ttf-quote-dialog {
    width: calc(100% - 20px);
    max-height: 94vh;
    border-radius: 10px;
  }

  .ttf-quote-dialog-inner {
    padding: 22px 18px;
  }

  .ttf-quote-dialog .ttf-quote-form select {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .social-inner {
    justify-content: flex-end;
    min-height: 35px;
  }

  .social-inner > span {
    display: none;
  }

  .social-links {
    gap: 12px;
  }

  .social-links a {
    font-size: 0.7rem;
  }

  .brand-row {
    padding: 11px 16px 14px;
  }

  .brand .custom-logo {
    max-height: 76px;
  }

  .brand-tagline {
    font-size: 1rem;
  }

  .nav-inner {
    gap: 6px;
  }

  .header-actions .header-contact,
  .header-actions .header-tracker {
    padding: 0.45rem 0.58rem;
    font-size: 0.75rem;
  }

  .header-search span {
    display: none;
  }

  .home-banner {
    min-height: 260px;
  }

  .banner-inner {
    justify-content: center;
    padding-bottom: 18px;
  }

  .banner-actions {
    width: 100%;
    justify-content: center;
  }

  .banner-actions .button {
    flex: 1;
  }

  .entry-content h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 520px) {
  .post-list,
  .footer-grid,
  .category.ttf-category-layout-grid-2 .post-list,
  .category.ttf-category-layout-grid-3 .post-list {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .home-main .home-hero {
    padding: 42px 0;
  }

  .home-hero-copy h1 {
    font-size: clamp(2.35rem, 12vw, 3.35rem);
  }

  .home-hero-actions {
    display: grid;
  }

  .home-hero-actions .button {
    width: 100%;
  }

  .home-hero-note {
    font-size: 0.78rem;
  }

  .home-hero-visual,
  .home-hero-visual > img,
  .home-hero-visual-placeholder {
    min-height: 235px;
  }

  .home-hero-badge {
    max-width: 255px;
    right: 8px;
    bottom: 8px;
    padding: 12px;
  }

  .home-hero-badge strong {
    font-size: 1.7rem;
  }

  .home-content-heading {
    margin-bottom: 18px;
  }

  .page-content-card {
    padding: 20px;
  }

  .trust-pill {
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  .home-redesign-step-grid {
    grid-template-columns: 1fr;
  }

  .home-redesign-quote-card {
    padding: 22px;
  }
}

/* ==========================================================================
   15. Accessibility – reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* Floating return-to-top control */
.ttf-back-to-top {
  position: fixed;
  z-index: 999;
  right: clamp(16px, 2.5vw, 32px);
  bottom: clamp(16px, 2.5vw, 32px);
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--ttf-tracker, #1673c9);
  color: #fff;
  box-shadow: 0 4px 14px rgba(20, 44, 67, 0.25);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.ttf-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ttf-back-to-top:hover,
.ttf-back-to-top:focus-visible {
  background: #105b9e;
}

.ttf-back-to-top:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.ttf-back-to-top svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.home-redesign-google-review-link .home-redesign-review-star {
  color: inherit;
  font-size: 1.2em;
  line-height: 1;
  filter: drop-shadow(1px 0 0 #5a3b00) drop-shadow(-1px 0 0 #5a3b00) drop-shadow(0 1px 0 #5a3b00) drop-shadow(0 -1px 0 #5a3b00);
}

@media (prefers-reduced-motion: reduce) {
  .ttf-back-to-top { transition: none; }
}

@media (max-width: 760px) {
  .ttf-back-to-top {
    display: none;
  }
}

.home-recent-strip {
  padding: clamp(36px, 5vw, 56px) 0;
  background: #f2f8fc;
  border-bottom: 1px solid var(--ttf-line, #e2e4e8);
}

.home-recent-strip-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.home-recent-strip-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}

.home-recent-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-recent-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--ttf-line, #e2e4e8);
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 6px 18px rgba(11, 39, 52, 0.05);
}

.home-recent-mini img {
  display: block;
  width: 100%;
  height: 310px;
  object-fit: cover;
}

.home-recent-mini span {
  grid-column: 1 / -1;
  padding: 10px 12px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ttf-ink, #25303a);
}

@media (max-width: 700px) {
  .home-recent-strip-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .home-recent-strip-grid {
    grid-template-columns: 1fr;
  }
  .home-recent-mini img {
    height: 100px;
  }
}
/* Force the Google Reviews widget container to stay inside the page bounds */
.home-redesign-google-widget, 
.home-redesign-google-reviews .container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Force review slider/cards to stack and scale down gracefully on smaller screens */
.home-redesign-google-widget .grs-container,
.home-redesign-google-widget [class*="grs-"] {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Ensure individual cards shrink instead of blowing out the container */
.home-redesign-google-widget .grs-card {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
}

/* Mobile & Tablet Fix for Google Reviews Widget */
@media screen and (max-width: 1024px) {
    .home-redesign-google-widget, 
    .home-redesign-google-widget .grs-slider,
    .home-redesign-google-widget .grs-container,
    .home-redesign-google-widget .grs-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: 0 0 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        transform: none !important;
    }
}