/*
Theme Name: Tømrermester Mikkel Jørgensen
Theme URI: https://toemrermikkel.dk/
Author: Danish Data Solutions
Description: Skræddersyet tema til Tømrermester Mikkel Jørgensen — forside med tilbudsformular i tre trin.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: toemrermikkel
*/

:root {
  --accent: #4A90D9;
  --accent-ink: #1A1206;
  --accent-light: #AECDEC;
  --accent-wash: #F1F6FB;
  --accent-on: #FCFBF6;
  --accent-on-soft: rgba(252, 251, 246, 0.92);
  --accent-on-dim: rgba(252, 251, 246, 0.8);

  --ink: #181713;
  --ink-soft: #605C51;
  --ink-dim: #7A766B;
  --ink-faint: #8F8B7E;
  --paper: #F6F5F2;
  --line: #E3E1DA;
  --line-strong: #DEDCD4;
  --dark: #131210;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a { color: var(--accent); text-decoration: none; }
a:hover { filter: brightness(1.12); }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }
::placeholder { color: var(--ink-faint); opacity: 1; }
img { max-width: 100%; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.tm-skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: #fff; color: var(--ink); padding: 12px 18px; font-weight: 700;
}
.tm-skip:focus { left: 8px; top: 8px; }

.tm-wrap { max-width: 1200px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

.tm-eyebrow {
  color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: 0.16em;
}
.tm-eyebrow--light { color: var(--accent-light); }
.tm-eyebrow--on { color: var(--accent-on-dim); font-weight: 800; }

.tm-h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900; letter-spacing: -0.02em; line-height: 1.05; color: var(--ink);
}

/* ---------- Buttons ---------- */
.tm-btn {
  display: inline-block; border: none; border-radius: 6px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 800; font-size: 16px; padding: 15px 26px;
  text-align: center; white-space: nowrap;
}
.tm-btn:hover { filter: brightness(1.08); color: var(--accent-ink); }
.tm-btn--sm { font-size: 14px; padding: 12px 20px; letter-spacing: 0.01em; }
.tm-btn--lg { font-size: 17px; padding: 17px 30px; }
.tm-btn--block { display: block; width: 100%; }

.tm-btn-ghost {
  display: inline-block; border-radius: 6px;
  border: 1.5px solid rgba(252, 251, 246, 0.5);
  background: rgba(15, 13, 9, 0.3); color: var(--accent-on);
  font-weight: 700; font-size: 17px; padding: 17px 26px;
}
.tm-btn-ghost:hover { border-color: var(--accent); filter: none; color: var(--accent-on); }

.tm-btn-outline {
  display: inline-block; border-radius: 6px;
  border: 1.5px solid #D6D3CA; color: var(--ink);
  font-weight: 700; font-size: 16px; padding: 15px 24px; background: none;
}
.tm-btn-outline:hover { border-color: var(--accent); filter: none; color: var(--ink); }

/* ---------- Header ---------- */
.tm-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(19, 18, 16, 0.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.tm-header__bar {
  max-width: 1200px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.tm-header__logo { height: 46px; width: auto; display: block; flex-shrink: 0; }

.tm-nav { display: flex; align-items: center; gap: 2px; }
.tm-nav__link, .tm-nav__toggle {
  color: #F2F1EA; font-weight: 700; font-size: 13.5px; letter-spacing: 0.06em;
  padding: 10px 11px; border-radius: 6px; background: none; border: none;
  display: flex; align-items: center;
}
.tm-nav__link:hover, .tm-nav__toggle:hover { color: var(--accent); filter: none; }
.tm-nav__caret { font-size: 8px; opacity: 0.65; margin-left: 6px; }

.tm-nav__item { position: relative; display: flex; }
.tm-nav__panel { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); padding-top: 10px; }
.tm-nav__panel[hidden] { display: none; }
.tm-nav__panel-inner {
  background: #FFFFFF; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 24px 56px rgba(15, 14, 12, 0.22); padding: 22px 26px;
}
.tm-nav__panel--ydelser .tm-nav__panel-inner { width: 330px; }
.tm-nav__panel--om .tm-nav__panel-inner { width: 260px; padding: 18px 22px; }
.tm-nav__panel a { display: block; padding: 7px 0; color: var(--ink); font-weight: 600; font-size: 15px; }
.tm-nav__panel a:hover { color: var(--accent); filter: none; }
.tm-nav__panel-foot {
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
}
.tm-nav__panel-foot a.is-primary { color: var(--accent); font-weight: 800; font-size: 14.5px; padding: 0; }
.tm-nav__panel-foot a.is-secondary { color: var(--ink-dim); font-weight: 600; font-size: 13.5px; padding: 0; }
.tm-nav__panel-foot a.is-secondary:hover { color: var(--accent); }

.tm-header__actions { display: flex; align-items: center; gap: 16px; }
.tm-header__phone { color: #F2F1EA; font-weight: 800; font-size: 15px; white-space: nowrap; }
.tm-header__phone:hover { color: var(--accent); filter: none; }

.tm-burger {
  background: none; border: 1.5px solid rgba(255, 255, 255, 0.25); border-radius: 6px;
  width: 44px; height: 44px; display: none; align-items: center; justify-content: center;
  color: #F2F1EA; font-size: 19px; padding: 0;
}

/* Mobile menu */
.tm-mobilemenu {
  position: absolute; top: 100%; left: 0; right: 0; background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-height: calc(100vh - 70px); overflow-y: auto; padding: 10px 20px 26px;
}
.tm-mobilemenu[hidden] { display: none; }
.tm-mobilemenu a {
  display: block; padding: 10px 0; color: #F2F1EA; font-weight: 600; font-size: 15.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.tm-mobilemenu a.is-top { padding: 12px 0; font-weight: 700; font-size: 16px; }
.tm-mobilemenu__label {
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; color: #9B978B; margin: 18px 0 4px;
}
.tm-mobilemenu__cta { display: flex; gap: 10px; margin-top: 20px; }
.tm-mobilemenu__cta a {
  flex: 1; font-weight: 800; font-size: 16px; padding: 14px 10px; border-radius: 6px;
  text-align: center; border: 1.5px solid var(--accent); border-bottom-width: 1.5px;
}
.tm-mobilemenu__cta .is-call { color: #F2F1EA; }
.tm-mobilemenu__cta .is-quote { background: var(--accent); color: var(--accent-ink); }

/* ---------- Hero ---------- */
.tm-hero { position: relative; overflow: hidden; background: #1C1A15; }
.tm-hero__media, .tm-hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.tm-hero__video { opacity: 0; transition: opacity 900ms ease; }
.tm-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(15, 13, 9, 0.9) 0%, rgba(15, 13, 9, 0.62) 45%, rgba(15, 13, 9, 0.28) 100%);
}
.tm-hero__fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: linear-gradient(180deg, rgba(246, 245, 242, 0) 0%, #F6F5F2 100%);
}
.tm-hero__inner {
  position: relative; max-width: 1200px; margin: 0 auto; padding: 140px 20px 110px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(430px, 100%), 1fr));
  gap: 56px; align-items: center;
}
.tm-hero__copy { display: flex; flex-direction: column; gap: 22px; max-width: 620px; }
.tm-hero__title {
  margin: 0; font-size: clamp(38px, 5.2vw, 64px); line-height: 1.02; font-weight: 900;
  letter-spacing: -0.02em; color: var(--accent-on); text-wrap: balance;
  text-shadow: 0 2px 24px rgba(10, 9, 6, 0.45);
}
.tm-hero__lead {
  margin: 0; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; color: #E5E2D6;
  max-width: 54ch; text-shadow: 0 1px 12px rgba(10, 9, 6, 0.45);
}
.tm-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.tm-hero__points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 8px; }
.tm-hero__point {
  display: flex; align-items: center; gap: 8px; color: #ECE9DE; font-size: 14.5px; font-weight: 600;
}
.tm-hero__point span { color: var(--accent-light); font-weight: 900; }

/* ---------- Quote form ---------- */
.tm-quote {
  scroll-margin-top: 92px; background: #FFFFFF; color: var(--ink); border-radius: 12px;
  padding: clamp(22px, 3vw, 32px); box-shadow: 0 24px 64px rgba(12, 11, 9, 0.45);
  max-width: 520px; justify-self: center; width: 100%;
}
.tm-quote__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tm-quote__head h2 { margin: 0; font-size: 22px; font-weight: 900; letter-spacing: -0.01em; }
.tm-quote__hint { font-size: 12.5px; font-weight: 700; color: var(--accent); white-space: nowrap; }

.tm-quote__progress { margin-top: 14px; display: flex; align-items: center; gap: 12px; }
.tm-quote__track { flex: 1; height: 6px; background: #E8E6E0; border-radius: 99px; overflow: hidden; }
.tm-quote__fill { height: 100%; background: var(--accent); border-radius: 99px; transition: width 0.3s ease; width: 33.3333%; }
.tm-quote__stepno { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }

.tm-step[hidden] { display: none; }
.tm-step { margin-top: 18px; }

.tm-tasks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tm-task {
  padding: 14px 12px; border: 1.5px solid var(--line-strong); border-radius: 6px;
  background: #FFFFFF; font-weight: 600; font-size: 15px; color: var(--ink); text-align: center;
}
.tm-task:hover { border-color: var(--accent); background: var(--accent-wash); }
.tm-quote__q { font-size: 15px; font-weight: 700; margin-bottom: 12px; }

.tm-step--2, .tm-step--3 { display: flex; flex-direction: column; gap: 14px; }
.tm-step--2[hidden], .tm-step--3[hidden] { display: none; }

.tm-chosen {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #F1F0EC; border-radius: 6px; padding: 10px 14px;
}
.tm-chosen__text { font-size: 14px; color: var(--ink-soft); }
.tm-chosen__text strong { color: var(--ink); }
.tm-chosen__change { border: none; background: none; color: var(--accent); font-weight: 700; font-size: 13.5px; padding: 4px; }

.tm-label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 7px; }
.tm-label span { font-weight: 500; color: var(--ink-faint); }

.tm-input, .tm-textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line-strong); border-radius: 6px;
  font-size: 15px; background: #FFFFFF; color: var(--ink);
}
.tm-textarea { line-height: 1.5; resize: vertical; }
.tm-input:focus, .tm-textarea:focus { border-color: var(--accent); outline: none; }

.tm-file {
  display: flex; align-items: center; gap: 12px; border: 1.5px dashed #C9C5B8;
  border-radius: 6px; padding: 13px 14px; cursor: pointer; background: #FFFFFF;
}
.tm-file:hover { border-color: var(--accent); }
.tm-file__plus {
  width: 34px; height: 34px; border-radius: 6px; background: #F1F0EC; color: var(--accent);
  font-weight: 900; font-size: 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.tm-file__text { font-size: 14px; color: var(--ink-soft); font-weight: 500; }
.tm-file input { display: none; }

.tm-grid-2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.tm-actions { display: flex; gap: 10px; margin-top: 2px; }
.tm-back {
  padding: 15px 18px; border: 1.5px solid var(--line-strong); border-radius: 6px;
  background: none; font-weight: 700; font-size: 15px; color: var(--ink-soft);
}
.tm-submit {
  flex: 1; padding: 15px 18px; border: none; border-radius: 6px;
  background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 16px;
}
.tm-submit:hover { filter: brightness(1.08); }
.tm-submit[disabled] { opacity: 0.6; cursor: progress; }

.tm-error { background: #FBE9E0; color: #8C3010; border-radius: 6px; padding: 11px 14px; font-size: 14px; font-weight: 600; }
.tm-error[hidden] { display: none; }
.tm-fineprint { font-size: 12.5px; color: var(--ink-faint); line-height: 1.5; }
.tm-fineprint a { color: var(--accent); font-weight: 600; }

.tm-done {
  margin-top: 22px; display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 12px; padding: 10px 4px 6px;
}
.tm-done[hidden] { display: none; }
.tm-done__tick {
  width: 58px; height: 58px; border-radius: 50%; background: var(--accent); color: var(--accent-ink);
  font-size: 28px; font-weight: 900; display: flex; align-items: center; justify-content: center;
}
.tm-done h3 { margin: 0; font-size: 22px; font-weight: 900; }
.tm-done p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.tm-done p strong { color: var(--ink); }
.tm-done p.is-small { margin-top: 4px; font-size: 14px; color: var(--ink-faint); }

.tm-quote__foot {
  margin-top: 16px; text-align: center; font-size: 12.5px; font-weight: 600;
  color: var(--ink-faint); letter-spacing: 0.04em;
}
.tm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Trust bar ---------- */
.tm-trust { background: #FFFFFF; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tm-trust__grid {
  max-width: 1200px; margin: 0 auto; padding: 28px 20px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 18px 0;
}
.tm-trust__item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 0 16px; border-left: 1px solid var(--line);
}
.tm-trust__big { font-size: 24px; font-weight: 900; color: var(--ink); }
.tm-trust__big--accent { color: var(--accent); }
.tm-trust__sub { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; color: var(--ink-dim); text-align: center; }

/* ---------- Services ---------- */
.tm-section { scroll-margin-top: 80px; }
.tm-section__pad { max-width: 1200px; margin: 0 auto; padding: clamp(70px, 9vw, 110px) 20px; }
.tm-services__pad { padding-bottom: 30px; }

.tm-services__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-top: 12px;
}
.tm-services__head h2 { max-width: 22ch; }
.tm-services__head p { margin: 0; color: var(--ink-soft); font-size: 16px; max-width: 40ch; line-height: 1.55; }

.tm-cards {
  margin-top: 40px; display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 22px;
}
.tm-card {
  background: #FFFFFF; border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; display: flex; flex-direction: column;
}
.tm-card__img { width: 100%; height: 190px; object-fit: cover; display: block; }
.tm-card__body { padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tm-card__body h3 { margin: 0; font-size: 21px; font-weight: 800; color: var(--ink); }
.tm-card__body p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.55; flex: 1; }
.tm-card__link { color: var(--accent); font-weight: 800; font-size: 15px; margin-top: 6px; }

.tm-card--flat {
  background: #EBE8E1; border-color: var(--line-strong);
  padding: 26px 22px 20px; gap: 8px; justify-content: center;
}
.tm-card--flat h3 { margin: 0; font-size: 21px; font-weight: 800; color: var(--ink); }
.tm-card--flat p { margin: 0; color: #5C584D; font-size: 15px; line-height: 1.6; }
.tm-card--flat .tm-btn { align-self: flex-start; margin-top: 8px; font-size: 15px; padding: 13px 20px; }

.tm-erhverv {
  scroll-margin-top: 90px; margin-top: 40px; background: #FFFFFF; border: 1px solid var(--line);
  border-radius: 10px; padding: 24px 26px; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 12px 28px;
}
.tm-erhverv__copy { display: flex; flex-direction: column; gap: 5px; max-width: 60ch; }
.tm-erhverv h3 { margin: 0; font-size: 17px; font-weight: 800; color: var(--ink); }
.tm-erhverv p { margin: 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; }
.tm-erhverv__link { color: var(--accent); font-weight: 800; font-size: 15px; white-space: nowrap; }

/* ---------- Process ---------- */
.tm-steps {
  margin-top: 44px; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 22px;
}
.tm-stepcard {
  background: #FFFFFF; border: 1px solid var(--line); border-radius: 10px;
  padding: 28px 26px; display: flex; flex-direction: column; gap: 12px;
}
.tm-stepcard__no {
  font-size: 44px; font-weight: 900; color: transparent;
  -webkit-text-stroke: 1.5px var(--accent); line-height: 1;
}
.tm-stepcard h3 { margin: 0; font-size: 20px; font-weight: 800; color: var(--ink); }
.tm-stepcard p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.tm-proces__title { margin-top: 12px; }

/* ---------- About ---------- */
.tm-about { background: #FFFFFF; border-top: 1px solid var(--line); }
.tm-about__grid {
  max-width: 1200px; margin: 0 auto; padding: clamp(70px, 9vw, 110px) 20px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: clamp(36px, 5vw, 72px); align-items: center;
}
.tm-about__copy { display: flex; flex-direction: column; gap: 18px; max-width: 560px; }
.tm-about__copy > p { margin: 0; color: var(--ink-soft); font-size: 16.5px; line-height: 1.65; }
.tm-ticks { display: flex; flex-direction: column; gap: 10px; }
.tm-tick { display: flex; gap: 10px; align-items: baseline; color: #3E3B33; font-size: 15.5px; }
.tm-tick span { color: var(--accent); font-weight: 900; }
.tm-about__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

.tm-portrait { justify-self: center; width: min(440px, 100%); }
.tm-portrait__inner {
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; display: flex; flex-direction: column;
}
.tm-portrait img { width: 100%; height: clamp(300px, 30vw, 380px); object-fit: cover; object-position: center 15%; display: block; }
.tm-portrait__body { padding: clamp(22px, 2.8vw, 30px); display: flex; flex-direction: column; gap: 14px; }
.tm-portrait__rule { width: 44px; height: 5px; background: var(--accent); }
.tm-portrait__quote {
  font-size: clamp(20px, 2vw, 25px); font-weight: 900; letter-spacing: -0.02em;
  line-height: 1.2; color: var(--ink); text-wrap: balance;
}
.tm-portrait__by { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--line); padding-top: 14px; }
.tm-portrait__name { font-weight: 800; font-size: 16px; color: var(--ink); }
.tm-portrait__role { font-size: 13.5px; font-weight: 600; color: var(--ink-dim); letter-spacing: 0.04em; }

/* ---------- Big CTA ---------- */
.tm-cta { position: relative; overflow: hidden; background: var(--accent); }
.tm-cta__bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0.45; mix-blend-mode: multiply;
}
.tm-cta__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(96deg, rgba(14, 12, 8, 0.62) 0%, rgba(14, 12, 8, 0.5) 46%, rgba(14, 12, 8, 0.12) 78%, rgba(14, 12, 8, 0) 100%);
}
.tm-cta__inner {
  position: relative; max-width: 1200px; margin: 0 auto; padding: clamp(64px, 8vw, 96px) 20px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
.tm-cta__copy { display: flex; flex-direction: column; gap: 16px; max-width: 560px; }
.tm-cta__copy h2 {
  margin: 0; color: var(--accent-on); font-size: clamp(32px, 4.4vw, 54px);
  font-weight: 900; letter-spacing: -0.02em; line-height: 1.03; text-wrap: balance;
}
.tm-cta__copy p {
  margin: 0; color: var(--accent-on-soft); font-size: 17.5px; line-height: 1.55;
  font-weight: 500; max-width: 46ch;
}
.tm-callcard {
  background: #FFFFFF; border-radius: 12px; padding: clamp(26px, 3vw, 36px);
  box-shadow: 0 16px 48px rgba(30, 20, 5, 0.25); width: min(460px, 100%);
  justify-self: center; display: flex; flex-direction: column; gap: 16px;
}
.tm-callcard__label {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; color: var(--ink-dim);
}
.tm-callcard__head { display: flex; flex-direction: column; gap: 4px; text-align: center; }
.tm-callcard__no {
  color: var(--ink); font-size: clamp(36px, 4.5vw, 46px); font-weight: 900;
  letter-spacing: -0.02em; line-height: 1.1;
}
.tm-callcard__no:hover { color: var(--accent); filter: none; }
.tm-or { display: flex; align-items: center; gap: 14px; }
.tm-or__line { flex: 1; height: 1px; background: var(--line); }
.tm-or span { font-size: 13px; font-weight: 600; color: var(--ink-dim); }
.tm-callcard__foot { text-align: center; font-size: 12.5px; font-weight: 600; color: var(--ink-dim); letter-spacing: 0.04em; }

/* ---------- Footer ---------- */
.tm-footer { background: var(--dark); }
.tm-footer__grid {
  max-width: 1200px; margin: 0 auto; padding: 60px 20px 44px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 40px 32px;
}
.tm-footer__brand { display: flex; flex-direction: column; gap: 14px; }
.tm-footer__logo { height: 56px; width: auto; display: block; align-self: flex-start; }
.tm-footer__brand p { margin: 0; color: #8C8980; font-size: 14px; line-height: 1.6; max-width: 30ch; }
.tm-footer__contact { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.tm-footer__contact a { color: #F2F1EA; font-weight: 700; font-size: 15px; }
.tm-footer__contact a.is-mail { font-size: 14.5px; font-weight: 600; }
.tm-footer__contact span { color: #8C8980; font-size: 14.5px; }
.tm-footer__title {
  font-weight: 800; font-size: 12.5px; letter-spacing: 0.14em; color: #9B978B; margin-bottom: 12px;
}
.tm-footer__col a { display: block; padding: 4px 0; color: #C9C6BC; font-size: 14.5px; font-weight: 500; }
.tm-footer__col a:hover { color: var(--accent); filter: none; }
.tm-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.tm-footer__bottom-inner {
  max-width: 1200px; margin: 0 auto; padding: 18px 20px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  color: #8C8980; font-size: 13px;
}
.tm-footer__bottom a { color: #8C8980; font-weight: 600; }
.tm-footer__bottom a:hover { color: var(--accent); filter: none; }
.tm-footer__spacer { display: none; height: 76px; }

/* ---------- Mobile sticky CTA ---------- */
.tm-floatbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; gap: 10px;
  background: rgba(19, 18, 16, 0.96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
}
.tm-floatbar a {
  flex: 1; font-weight: 800; font-size: 16px; padding: 14px 10px; border-radius: 6px;
  text-align: center; border: 1.5px solid var(--accent);
}
.tm-floatbar .is-call { color: #F2F1EA; }
.tm-floatbar .is-quote { background: var(--accent); color: var(--accent-ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .tm-nav, .tm-header__phone { display: none; }
  .tm-burger { display: flex; }
}

@media (max-width: 719px) {
  body.tm-has-floatbar .tm-floatbar { display: flex; }
  body.tm-has-floatbar .tm-footer__spacer { display: block; }
  .tm-hero__inner { padding: 116px 20px 80px; gap: 40px; }
  .tm-trust__item { border-left: none; }
  .tm-tasks { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 419px) {
  .tm-tasks { grid-template-columns: 1fr; }
  .tm-grid-2 { grid-template-columns: 1fr; }
  .tm-hero__actions .tm-btn, .tm-hero__actions .tm-btn-ghost { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tm-quote__fill, .tm-hero__video { transition: none; }
}
