/* Texas A&E — v7 "Light" (Savant-inspired). White and warm-gray, full-bleed photography, thin uppercase type, brand-red accent. */
:root {
  --t5-bg: #FFFFFF;
  --t5-alt: #F5F4F1;
  --t5-line: #E5E2DC;
  --t5-text: #1F1F1F;
  --t5-sub: #5D5D5D;
  --t5-accent: #B12B3E;
  --t5-accent-hi: #8F2032;
  --t5-navy: #1F2B5C;
  --t5-font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --t5-dock-h: 0px;
}

/* ---------- base ---------- */
body.tae5 { margin: 0; background: var(--t5-bg); color: var(--t5-sub); font: 400 16.5px/1.75 var(--t5-font); -webkit-font-smoothing: antialiased; padding-bottom: var(--t5-dock-h); overflow-x: hidden; }
body.tae5 *, body.tae5 *::before, body.tae5 *::after { box-sizing: border-box; }
:where(body.tae5) img { max-width: 100%; height: auto; display: block; }
:where(body.tae5) a { color: inherit; }
:where(body.tae5) :where(h1, h2, h3, h4) { font-family: var(--t5-font); color: var(--t5-text); line-height: 1.2; margin: 0 0 .6em; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; }
:where(body.tae5) h2 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 300; letter-spacing: .06em; }
:where(body.tae5) h3 { font-size: 18px; font-weight: 500; letter-spacing: .08em; }
:where(body.tae5) p { margin: 0 0 1.1em; }
body.tae5 ::selection { background: var(--t5-accent); color: #fff; }
body.tae5 :focus-visible { outline: 2px solid var(--t5-accent); outline-offset: 3px; }
.t5-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.t5-narrow { max-width: 820px; }
.t5-skip { position: absolute; left: -999px; top: 8px; background: var(--t5-accent); color: #fff; padding: 10px 14px; z-index: 1000; }
.t5-skip:focus { left: 8px; }
.t5-center { text-align: center; }

/* ---------- buttons (thin, rectangular, uppercase) ---------- */
.t5-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 28px; border-radius: 2px; font: 500 13px/1.2 var(--t5-font); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--t5-accent); cursor: pointer; white-space: nowrap; transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
.t5-btn svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.t5-btn--lg { min-height: 54px; padding: 14px 34px; }
.t5-btn--block { width: 100%; }
.t5-btn--primary { background: var(--t5-accent); color: #fff; }
.t5-btn--primary:hover { background: var(--t5-accent-hi); border-color: var(--t5-accent-hi); }
.t5-btn--ghost, .t5-btn--outline, .t5-btn--navy { background: transparent; color: var(--t5-accent); }
.t5-btn--ghost:hover, .t5-btn--outline:hover, .t5-btn--navy:hover { background: var(--t5-accent); color: #fff; }
.t5-btn--white { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
.t5-btn--white:hover { background: #fff; color: var(--t5-text); border-color: #fff; }
.t5-link { color: var(--t5-accent); font: 500 13px/1.2 var(--t5-font); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.t5-link:hover { color: var(--t5-accent-hi); }

/* ---------- header ---------- */
.t5-topbar { display: none; }
.t5-header { position: sticky; top: 0; z-index: 900; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--t5-line); transition: box-shadow .25s ease; }
body.admin-bar .t5-header { top: 32px; }
.t5-header.is-scrolled { box-shadow: 0 6px 24px -16px rgba(0,0,0,.25); }
.t5-header__in { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.t5-brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.t5-brand img { width: auto; height: 62px; }
.t5-nav { margin-left: auto; margin-right: auto; }
.t5-nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.t5-nav a { position: relative; display: block; padding: 10px 14px; text-decoration: none; color: var(--t5-text); font: 500 13px/1.2 var(--t5-font); letter-spacing: .14em; text-transform: uppercase; transition: color .2s ease; }
.t5-nav a:hover { color: var(--t5-accent); }
.t5-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 1px; background: var(--t5-accent); }
.t5-nav__cta { display: none; }
.t5-header__actions { display: flex; align-items: center; gap: 20px; }
.t5-phone { display: flex; flex-direction: column; text-decoration: none; color: var(--t5-navy); font: 600 16px/1.2 var(--t5-font); letter-spacing: .02em; }
.t5-phone small { font-weight: 500; font-size: 10.5px; color: var(--t5-sub); letter-spacing: .16em; text-transform: uppercase; }
.t5-phone:hover { color: var(--t5-accent); }
.t5-iconbtn { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 2px; background: var(--t5-accent); color: #fff; }
.t5-iconbtn svg { width: 19px; height: 19px; fill: currentColor; }
.t5-burger { display: none; width: 46px; height: 46px; border: 1px solid var(--t5-line); background: #fff; border-radius: 2px; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.t5-burger span { display: block; width: 20px; height: 1.5px; background: var(--t5-text); transition: transform .25s ease, opacity .2s ease; }
.t5-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.t5-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.t5-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.t5-show-sm { display: none !important; }

/* ---------- small labels ---------- */
.t5-eyebrow { font: 500 12px/1.3 var(--t5-font); letter-spacing: .22em; text-transform: uppercase; color: var(--t5-accent); margin: 0 0 16px; }
.t5-lead { font-size: 18px; color: var(--t5-sub); line-height: 1.75; }

/* ---------- hero slider ---------- */
.t5-slider { position: relative; height: clamp(560px, calc(100svh - 84px), 880px); overflow: hidden; background: #1a1a1a; color: #fff; }
body.admin-bar .t5-slider { height: clamp(560px, calc(100svh - 116px), 880px); }
.t5-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 1.1s; }
.t5-slide.is-active { opacity: 1; visibility: visible; }
.t5-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7.5s ease-out; }
.t5-slide.is-active img { transform: scale(1); }
.t5-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.25) 55%, rgba(0,0,0,.72) 100%); }
.t5-slide__cap { position: absolute; left: 0; right: 0; bottom: clamp(48px, 9vh, 96px); z-index: 2; }
.t5-slide__cap .t5-eyebrow { color: rgba(255,255,255,.88); }
.t5-slide__title { font: 300 clamp(32px, 4.4vw, 60px)/1.1 var(--t5-font) !important; letter-spacing: .06em !important; text-transform: uppercase !important; color: #fff !important; margin: 0 0 14px !important; max-width: 20ch; }
.t5-slide__sub { font-size: clamp(16px, 1.5vw, 19px); color: rgba(255,255,255,.9); max-width: 46ch; margin-bottom: 28px; }
.t5-slide__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.t5-slide .t5-slide__btns .t5-btn--primary { border-color: var(--t5-accent); }
.t5-slider__arrow { position: absolute; top: 50%; z-index: 3; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; border: 1px solid rgba(255,255,255,.75); background: rgba(0,0,0,.12); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background-color .2s ease; }
.t5-slider__arrow:hover { background: rgba(255,255,255,.2); }
.t5-slider__arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.t5-slider__prev { left: 24px; }
.t5-slider__next { right: 24px; }
.t5-slider__dots { position: absolute; z-index: 3; right: 32px; bottom: 32px; display: flex; gap: 10px; }
.t5-slider__dots button { width: 34px; height: 3px; padding: 0; border: 0; background: rgba(255,255,255,.4); cursor: pointer; }
.t5-slider__dots button[aria-current="true"] { background: #fff; }

/* ---------- page hero (photo band) ---------- */
.t5-phero { position: relative; padding: 120px 0 96px; background: var(--t5-alt); border-bottom: 1px solid var(--t5-line); overflow: hidden; }
.t5-phero--photo { color: #fff; background: #222; }
.t5-phero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t5-phero--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.66) 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.15) 100%); }
.t5-phero__in { position: relative; z-index: 2; }
.t5-phero h1 { font-size: clamp(32px, 4vw, 52px) !important; font-weight: 300 !important; letter-spacing: .06em !important; max-width: 20ch; margin-bottom: 18px !important; }
.t5-phero--photo h1, .t5-phero--photo .t5-phero__lead { color: #fff !important; }
.t5-phero--photo .t5-eyebrow { color: rgba(255,255,255,.88); }
.t5-phero h1 span { display: inline; }
.t5-phero__lead { font-size: 18px; max-width: 60ch; margin-bottom: 30px; }
.t5-phero--photo .t5-btn--ghost { color: #fff; border-color: rgba(255,255,255,.85); }
.t5-phero--photo .t5-btn--ghost:hover { background: #fff; color: var(--t5-text); }
.t5-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.t5-phero__in > :last-child { margin-bottom: 0; }

/* ---------- sections ---------- */
.t5-section { padding: 110px 0; position: relative; }
.t5-section--tight { padding: 64px 0 110px; }
.t5-section--panel, .t5-section--paper, .t5-section--navy, .t5-section--alt { background: var(--t5-alt); }
.t5-head { max-width: 760px; margin-bottom: 56px; }
.t5-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.t5-head--row { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 56px; align-items: end; }
.t5-head--row .t5-lead { margin: 0; }

/* intro (centered, Savant-style) */
.t5-intro2 { text-align: center; padding: 110px 0 100px; }
.t5-intro2 h2 { margin-bottom: 26px; }
.t5-intro2 .t5-lead { max-width: 64ch; margin: 0 auto 38px; }
.t5-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; margin: 0 auto 44px; padding: 0; list-style: none; }
.t5-badges li { padding: 6px 28px; border-left: 1px solid var(--t5-line); display: flex; flex-direction: column; gap: 2px; }
.t5-badges li:first-child { border-left: 0; }
.t5-badges strong { font: 500 16px/1.3 var(--t5-font); color: var(--t5-text); letter-spacing: .08em; }
.t5-badges span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

/* full-bleed photo + text block */
.t5-bleed { position: relative; height: clamp(360px, 62vh, 680px); overflow: hidden; background: #ddd; }
.t5-bleed img { width: 100%; height: 100%; object-fit: cover; }
.t5-bleed--overlay::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.t5-bleed__cap { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; text-align: center; color: #fff; padding: 0 24px; }
.t5-bleed__cap h2 { color: #fff !important; }
.t5-bleed__cap p { color: rgba(255,255,255,.92); max-width: 60ch; margin: 0 auto 30px; font-size: 18px; }
.t5-feature { padding: 88px 0 104px; }
.t5-feature__in { max-width: 820px; }
.t5-feature__in .t5-lead { margin-bottom: 28px; }
.t5-inline { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.t5-inline li { position: relative; padding-left: 16px; font-size: 15.5px; color: var(--t5-text); }
.t5-inline li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 1px; background: var(--t5-accent); }

/* split: image beside text */
.t5-split2 { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.t5-split2__img { position: relative; overflow: hidden; background: #ddd; }
.t5-split2__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t5-split2__txt { display: flex; flex-direction: column; justify-content: center; padding: 88px clamp(32px, 6vw, 96px); background: var(--t5-alt); }
.t5-split2--rev .t5-split2__img { order: 2; }

/* AC pricing */
.t5-prices { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--t5-line); margin: 8px 0 18px; background: #fff; }
.t5-prices div { padding: 22px 18px; text-align: center; border-left: 1px solid var(--t5-line); }
.t5-prices div:first-child { border-left: 0; }
.t5-prices span { display: block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.t5-prices strong { display: block; font: 300 34px/1.2 var(--t5-font); color: var(--t5-text); letter-spacing: .02em; margin-top: 6px; }
.t5-fine { font-size: 14px; color: var(--t5-sub); margin-bottom: 28px; }

/* cards & lists reused by inner pages */
.t5-card, .t5-path, .t5-svc, .t5-row, .t5-dcard, .t5-formcard, .t5-area__card, .t5-licbox { background: #fff; border: 1px solid var(--t5-line); border-radius: 0; }
.t5-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.t5-path { padding: 44px; display: flex; flex-direction: column; }
.t5-path h3 { font-size: 22px; }
.t5-path .t5-list { margin: 6px 0 28px; }
.t5-path__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: auto; }
.t5-tag { font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--t5-accent); margin-bottom: 10px; }
.t5-ico { display: none; }
.t5-chips { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.t5-chips li { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--t5-text); padding: 9px 16px; border: 1px solid var(--t5-line); background: #fff; }
.t5-chips--lg li { font-size: 14px; }
.t5-cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.t5-cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.t5-card { padding: 36px; }
.t5-num { display: inline-block; font: 300 30px/1 var(--t5-font); color: var(--t5-accent); margin-bottom: 16px; letter-spacing: .04em; }
.t5-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.t5-list li { position: relative; padding-left: 20px; color: var(--t5-sub); }
.t5-list li::before { content: ""; position: absolute; left: 0; top: .85em; width: 8px; height: 1px; background: var(--t5-accent); }
.t5-list--2 { grid-template-columns: 1fr 1fr; column-gap: 30px; }
.t5-svc { padding: 36px 34px; }
.t5-why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--t5-line); }
.t5-why__item { padding: 40px 30px 10px 0; }
.t5-why__item + .t5-why__item { padding-left: 30px; border-left: 1px solid var(--t5-line); }
.t5-why__item h3 { font-size: 16px; line-height: 1.45; }
.t5-why__item p { margin: 0; font-size: 15.5px; }
.t5-dcard { padding: 32px; }
.t5-value { padding: 28px 0 0; border-top: 1px solid var(--t5-line); position: relative; }
.t5-value::before { content: ""; position: absolute; left: 0; top: -1px; width: 48px; height: 1px; background: var(--t5-accent); }
.t5-value h3 { font-size: 20px; }

/* projects */
.t5-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.t5-gallery__item { margin: 0; overflow: hidden; background: var(--t5-alt); }
.t5-gallery__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s ease; }
.t5-gallery__item:hover img { transform: scale(1.03); }
.t5-gallery__item figcaption { padding: 14px 0; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--t5-text); }

/* service area */
.t5-area { display: grid; grid-template-columns: 1.3fr .7fr; gap: 56px; align-items: center; }
.t5-area__card { padding: 36px; display: flex; flex-direction: column; gap: 6px; }
.t5-area__k { font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--t5-accent); }
.t5-area__v { font: 300 34px/1.2 var(--t5-font); color: var(--t5-text); text-decoration: none; letter-spacing: .02em; }
.t5-area__s { font-size: 15px; margin-bottom: 18px; }

/* about */
.t5-about { display: grid; grid-template-columns: 1.4fr .9fr; gap: 64px; align-items: start; }
.t5-licbox { padding: 8px 32px; position: sticky; top: 130px; }
.t5-licbox div { padding: 22px 0; border-bottom: 1px solid var(--t5-line); display: flex; flex-direction: column; gap: 4px; }
.t5-licbox div:last-child { border-bottom: 0; }
.t5-licbox span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.t5-licbox strong { font: 400 22px/1.2 var(--t5-font); color: var(--t5-text); letter-spacing: .04em; }

/* services page */
.t5-jump { position: sticky; top: 84px; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--t5-line); }
body.admin-bar .t5-jump { top: 116px; }
.t5-jump .t5-wrap { display: flex; gap: 8px; padding-top: 12px; padding-bottom: 12px; }
.t5-jump a { text-decoration: none; font: 500 12.5px/1.2 var(--t5-font); letter-spacing: .14em; text-transform: uppercase; padding: 10px 18px; border: 1px solid var(--t5-line); color: var(--t5-text); }
.t5-jump a:hover { border-color: var(--t5-accent); color: var(--t5-accent); }
.t5-stack { display: grid; gap: 0; border-top: 1px solid var(--t5-line); }
.t5-row { display: grid; grid-template-columns: 90px 1fr; gap: 8px; padding: 40px 0; border-width: 0 0 1px; background: transparent; }
.t5-row h3 { font-size: 20px; }
.t5-row ul { margin-top: 8px; }
.t5-note { margin: 22px 0 0; padding: 16px 20px; border-left: 1px solid var(--t5-accent); background: #fff; font-size: 15.5px; color: var(--t5-text); }
#commercial, #residential, #estimate, #services, #ac { scroll-margin-top: 130px; }

/* contact */
.t5-contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.t5-ci { padding: 22px 0; border-bottom: 1px solid var(--t5-line); display: flex; flex-direction: column; gap: 4px; }
.t5-ci__k { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--t5-sub); }
.t5-ci__v { font: 400 22px/1.3 var(--t5-font); color: var(--t5-text); text-decoration: none; letter-spacing: .02em; }
a.t5-ci__v:hover { color: var(--t5-accent); }
.t5-ci__s { font-size: 14.5px; }
.t5-ci__btns { display: flex; gap: 10px; margin-top: 12px; }
.t5-formcard { padding: 44px; scroll-margin-top: 130px; background: var(--t5-alt); border-color: var(--t5-alt); }
.t5-formcard h3 { font-size: 20px; }
.t5-formcard > p a { color: var(--t5-accent); font-weight: 500; }

/* SureForms on light */
.t5-formcard .srfm-form-container, .t5-formcard .srfm-form, .t5-formcard form { max-width: none !important; padding: 0 !important; background: transparent !important; box-shadow: none !important; border: 0 !important; }
.t5-formcard label, .t5-formcard .srfm-block-label, .t5-formcard .srfm-label { color: var(--t5-text) !important; font: 500 13px/1.4 var(--t5-font) !important; letter-spacing: .1em !important; text-transform: uppercase !important; }
.t5-formcard input[type="text"], .t5-formcard input[type="email"], .t5-formcard input[type="tel"], .t5-formcard input[type="number"], .t5-formcard textarea, .t5-formcard select { background: #fff !important; color: var(--t5-text) !important; border: 1px solid var(--t5-line) !important; border-radius: 0 !important; font: 400 16px/1.4 var(--t5-font) !important; min-height: 52px; padding: 12px 14px !important; box-shadow: none !important; }
.t5-formcard ::placeholder { color: #8A8A8A !important; opacity: 1; }
.t5-formcard input:focus, .t5-formcard textarea:focus, .t5-formcard select:focus { border-color: var(--t5-accent) !important; outline: none !important; }
.t5-formcard button[type="submit"], .t5-formcard .srfm-submit-button { background: var(--t5-accent) !important; color: #fff !important; border: 0 !important; border-radius: 2px !important; font: 500 13px/1.2 var(--t5-font) !important; letter-spacing: .16em !important; text-transform: uppercase !important; min-height: 52px !important; padding: 14px 34px !important; box-shadow: none !important; }
.t5-formcard button[type="submit"]:hover { background: var(--t5-accent-hi) !important; }
.t5-formcard .srfm-error-message, .t5-formcard .srfm-error { color: #B91C1C !important; }

/* careers (chat plugin markup) */
.tae5-careers .tae-careers { max-width: none; color: var(--t5-sub); font-family: var(--t5-font); }
.tae5-careers .tae-careers h2, .tae5-careers .tae-careers h3, .tae5-careers .tae-careers h4 { color: var(--t5-text); font-family: var(--t5-font); text-transform: uppercase; letter-spacing: .06em; font-weight: 400; }
.tae5-careers .tae-careers-intro .tae-eyebrow { display: none; }
.tae5-careers .tae-benefits { border-left: 1px solid var(--t5-accent); background: var(--t5-alt); border-radius: 0; }
.tae5-careers .tae-job { background: #fff; border: 1px solid var(--t5-line); border-radius: 0; padding: 36px; box-shadow: none; }
.tae5-careers .tae-job-meta strong { color: var(--t5-accent); }
.tae5-careers .tae-apply-btn { background: var(--t5-accent); color: #fff; border-radius: 2px; min-height: 48px; padding: 12px 28px; font: 500 13px/1.2 var(--t5-font); letter-spacing: .14em; text-transform: uppercase; }
.tae5-careers .tae-apply-btn:hover { background: var(--t5-accent-hi); filter: none; }
.tae5-careers .tae-call-link, .tae5-careers .tae-linkbtn { color: var(--t5-accent); }

/* ---------- CTA band ---------- */
.t5-cta { padding: 96px 0; background: var(--t5-alt); border-top: 1px solid var(--t5-line); }
.t5-cta__in { display: flex; justify-content: space-between; align-items: center; gap: 32px 48px; flex-wrap: wrap; }
.t5-cta h2 { margin-bottom: 8px; }
.t5-cta p { margin: 0; font-size: 17px; }
.t5-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- footer ---------- */
.t5-footer { background: var(--t5-alt); color: var(--t5-sub); padding: 84px 0 0; font-size: 14.5px; border-top: 1px solid var(--t5-line); }
.t5-footer__grid { display: grid; grid-template-columns: 1.3fr 1.2fr .8fr 1fr; gap: 40px; }
.t5-footer__logo { display: inline-block; margin-bottom: 18px; }
.t5-footer__logo img { height: 80px; width: auto; }
.t5-footer__lic { color: var(--t5-text); font-weight: 500; letter-spacing: .04em; }
.t5-footer__h { font: 500 12px/1.2 var(--t5-font) !important; letter-spacing: .2em !important; text-transform: uppercase !important; color: var(--t5-text) !important; margin: 6px 0 20px !important; }
.t5-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.t5-footer__list li { color: var(--t5-text); }
.t5-footer__list span { display: block; color: var(--t5-sub); font-size: 13.5px; }
.t5-footer__list a { color: var(--t5-text); text-decoration: none; font-weight: 500; }
.t5-footer__list a:hover { color: var(--t5-accent); }
.t5-footer__links a { font-weight: 400; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; }
.t5-footer__cta { display: flex; flex-direction: column; gap: 10px; }
.t5-footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 64px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid var(--t5-line); font-size: 12.5px; letter-spacing: .06em; }

/* ---------- mobile dock ---------- */
.t5-dock { display: none; }

/* ---------- chat plugin on light ---------- */
body.tae5 .tae-chat { --tae-navy: #1F2B5C; --tae-navy-2: #B12B3E; --tae-amber: #B12B3E; --tae-amber-ink: #FFFFFF; font-family: var(--t5-font); }
body.tae5 .tae-chat:not(.tae-open) { bottom: 24px; right: 24px; }
body.tae5 .tae-launcher { background: #fff; color: var(--t5-text); border: 1px solid var(--t5-accent); border-radius: 2px; height: 50px; box-shadow: 0 12px 30px -14px rgba(0,0,0,.35); letter-spacing: .12em; text-transform: uppercase; font-size: 12.5px; }
body.tae5 .tae-launcher svg { fill: var(--t5-accent); }
body.tae5 .tae-user { background: var(--t5-accent); color: #fff; }
body.tae5 .tae-chip-primary, body.tae5 .tae-chip-call, body.tae5 .tae-callcard { background: var(--t5-accent); border-color: var(--t5-accent); color: #fff; }
body.tae5 .tae-form button { background: var(--t5-accent); color: #fff; }
body.tae5 #ast-scroll-top { display: none !important; }

/* ---------- reveal ---------- */
.t5-js .t5-reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.t5-js .t5-reveal.is-in { opacity: 1; transform: none; }
.t5-js .t5-slide.is-active .t5-slide__cap > .t5-wrap > * { animation: t5-rise 1s cubic-bezier(.2,.7,.2,1) both; }
.t5-js .t5-slide.is-active .t5-slide__cap > .t5-wrap > :nth-child(2) { animation-delay: .1s; }
.t5-js .t5-slide.is-active .t5-slide__cap > .t5-wrap > :nth-child(3) { animation-delay: .2s; }
.t5-js .t5-slide.is-active .t5-slide__cap > .t5-wrap > :nth-child(4) { animation-delay: .3s; }
@keyframes t5-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .t5-js .t5-reveal { opacity: 1; transform: none; transition: none; }
  .t5-slide, .t5-slide img { transition: none; transform: none; }
  .t5-js .t5-slide.is-active .t5-slide__cap > .t5-wrap > * { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1150px) {
  .t5-header__in { gap: 14px; }
  .t5-nav a { padding: 10px 9px; letter-spacing: .1em; }
  .t5-phone small { display: none; }
  .t5-why { grid-template-columns: 1fr 1fr; }
  .t5-why__item:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 782px) { body.admin-bar .t5-header { top: 0; } }
@media (max-width: 960px) {
  :root { --t5-dock-h: 76px; }
  .t5-header__in { min-height: 70px; }
  .t5-brand img { height: 50px; }
  .t5-phone, .t5-hide-sm { display: none !important; }
  .t5-show-sm { display: inline-grid !important; }
  .t5-burger { display: flex; }
  .t5-header__actions { margin-left: auto; }
  .t5-nav { position: fixed; left: 0; right: 0; top: var(--t5-header-bottom, 70px); bottom: 0; z-index: 899; margin: 0; background: #fff; padding: 12px 24px 32px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s ease, transform .25s ease, visibility .25s; }
  .t5-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .t5-nav ul { flex-direction: column; gap: 0; }
  .t5-nav a { font-size: 15px; padding: 20px 2px; border-bottom: 1px solid var(--t5-line); }
  .t5-nav a[aria-current="page"]::after { left: 2px; right: auto; width: 28px; bottom: 12px; }
  .t5-nav__cta { display: grid; gap: 12px; margin-top: 28px; }
  .t5-nav .t5-nav__cta a { display: flex; padding: 16px 20px; border-bottom-width: 1px; }
  .t5-nav .t5-nav__cta a.t5-btn--primary { color: #fff; }
  .t5-jump, body.admin-bar .t5-jump { top: 70px; }
  .t5-slider, body.admin-bar .t5-slider { height: clamp(520px, calc(100svh - 70px - var(--t5-dock-h)), 760px); }
  .t5-slider__arrow { display: none; }
  .t5-slider__dots { left: 24px; right: auto; bottom: 22px; }
  .t5-slide__cap { bottom: 56px; }
  .t5-split2 { grid-template-columns: 1fr; min-height: 0; }
  .t5-split2__img { aspect-ratio: 4 / 3; }
  .t5-split2--rev .t5-split2__img { order: 0; }
  .t5-split2__txt { padding: 56px 24px 64px; }
  .t5-split, .t5-cols3, .t5-cols2, .t5-about, .t5-contact, .t5-area { grid-template-columns: 1fr; gap: 28px; }
  .t5-section { padding: 76px 0; }
  .t5-intro2 { padding: 76px 0 70px; }
  .t5-feature { padding: 56px 0 72px; }
  .t5-head { margin-bottom: 36px; }
  .t5-head--row { grid-template-columns: 1fr; }
  .t5-gallery { grid-template-columns: 1fr 1fr; }
  .t5-licbox { position: static; }
  .t5-phero { padding: 84px 0 64px; }
  .t5-footer__grid { grid-template-columns: 1fr 1fr; }
  .t5-footer__brand, .t5-footer__cta { grid-column: 1 / -1; }
  .t5-dock { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; padding: 9px 10px calc(9px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--t5-line); box-shadow: 0 -8px 24px -18px rgba(0,0,0,.35); }
  .t5-dock__btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; border-radius: 2px; font: 500 13px/1 var(--t5-font); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--t5-accent); cursor: pointer; background: #fff; color: var(--t5-accent); }
  .t5-dock__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
  .t5-dock__call { background: var(--t5-accent); color: #fff; }
  .t5-dock__call svg { fill: currentColor; stroke: none; }
  body.tae5 .tae-chat:not(.tae-open) .tae-launcher { display: none; }
  body.tae5 .tae-chat.tae-open { z-index: 1000; }
}
@media (max-width: 600px) {
  body.tae5 { font-size: 16px; }
  .t5-wrap { padding: 0 22px; }
  :where(body.tae5) h2 { font-size: 25px; }
  .t5-slide__title { font-size: 31px !important; }
  .t5-slide__btns, .t5-hero__btns, .t5-cta__btns { display: grid; grid-template-columns: 1fr; width: 100%; }
  .t5-slide__btns .t5-btn, .t5-hero__btns .t5-btn, .t5-cta__btns .t5-btn { width: 100%; }
  .t5-badges li { padding: 6px 14px; }
  .t5-badges li:last-child { flex-basis: 100%; border-left: 0; margin-top: 10px; }
  .t5-prices strong { font-size: 24px; }
  .t5-prices div { padding: 18px 8px; }
  .t5-bleed { height: 300px; }
  .t5-phero h1 { font-size: 28px !important; }
  .t5-path, .t5-card, .t5-formcard, .t5-area__card { padding: 28px 22px; }
  .t5-why { grid-template-columns: 1fr; }
  .t5-why__item, .t5-why__item + .t5-why__item { padding: 28px 0 4px; border-left: 0; }
  .t5-gallery { grid-template-columns: 1fr; }
  .t5-row { grid-template-columns: 1fr; }
  .t5-list--2 { grid-template-columns: 1fr; }
  .t5-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .t5-ci__v, .t5-area__v { font-size: 22px; }
}
