/* ==========================================================================
   I Fix It 4 U — "Workshop Night" design
   Palette from the logo: steel blue, ink, rivet red, badge blue
   ========================================================================== */
:root {
  --ink: #14181C;
  --steel: #5E7F9A;
  --steel-light: #8FA9BD;
  --steel-pale: #E6EDF2;
  --steel-deep: #3D5468;
  --rivet: #C8261A;
  --rivet-dark: #A51E14;
  --badge: #2747C9;
  --glow: #7E97FF;
  --paper: #F3F6F9;
  --card: #FFFFFF;
  --line: rgba(20, 24, 28, .10);
  --text-soft: #47525E;
  --k: 1;
}
.dark {
  --paper: #0E1318;
  --card: #18212A;
  --line: rgba(255, 255, 255, .11);
  --text-soft: #B6C2CE;
  color-scheme: dark;
}
@media (max-width: 1279px) { :root { --k: .78; } }

[hidden] { display: none !important; }
body { overflow-x: hidden; }
img { max-width: 100%; }
::selection { background: var(--badge); color: #fff; }

/* ---------- Focus + skip link (ADA) ---------- */
:focus-visible { outline: 3px solid #2747C9; outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .site-header:not(.is-solid) :focus-visible, .hero :focus-visible, .dark-sec :focus-visible, .page-hero :focus-visible { outline-color: #FFD34D; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }
#main:focus { outline: none; }

/* ---------- Type (smaller headings) ---------- */
.h2 { font-family: "Saira Condensed", "Arial Narrow", sans-serif; font-weight: 700; font-size: clamp(1.45rem, 2.2vw, 1.9rem); line-height: 1.1; letter-spacing: -.005em; }
.hero-display { font-size: clamp(2rem, 3.8vw, 3.2rem); text-wrap: balance; }
.lead { font-size: 1.05rem; line-height: 1.65; color: var(--text-soft); }
.section { padding-top: 2.75rem; padding-bottom: 2.75rem; }
@media (min-width: 768px) { .section { padding-top: 3.25rem; padding-bottom: 3.25rem; } }

/* ---------- Header: transparent over every banner ---------- */
.site-header { color: #fff; transition: background-color .3s, box-shadow .3s, color .3s; }
.site-header.is-solid { background: rgba(255,255,255,.96); color: var(--ink); box-shadow: 0 8px 24px -16px rgba(20,24,28,.5); backdrop-filter: blur(8px); }
.dark .site-header.is-solid { background: rgba(14,19,24,.96); color: #E8EEF3; }
.header-bar { height: 88px; transition: height .3s; }
.site-header.is-solid .header-bar { height: 68px; }
.header-logo { height: 70px; transition: height .3s; }
.site-header.is-solid .header-logo { height: 52px; }
@media (max-width: 639px) { .header-bar { height: 78px; } .header-logo { height: 60px; } }
.logo-link img { box-shadow: 0 6px 18px -8px rgba(0,0,0,.6); transition: transform .3s; }
.logo-link:hover img { transform: rotate(-1.5deg) scale(1.03); }

.nav-capsule { display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(0,0,0,.30); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(6px); transition: background-color .3s, border-color .3s; }
.site-header.is-solid .nav-capsule { background: rgba(20,24,28,.05); border-color: var(--line); backdrop-filter: none; }
.nav-link { display: block; padding: .45rem .95rem; border-radius: 999px; font-family: "Saira Condensed", sans-serif; font-weight: 600; font-size: 1.1rem; color: inherit; transition: background-color .2s, color .2s; }
.nav-link { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1279px) { .nav-link { padding: .4rem .7rem; font-size: 1rem; } .btn-call span { display: none; } .btn-call { padding: .6rem; } }
.nav-link:hover { background: rgba(255,255,255,.18); }
.site-header.is-solid .nav-link:hover { background: rgba(20,24,28,.08); }
.dark .site-header.is-solid .nav-link:hover { background: rgba(255,255,255,.1); }
.nav-link.is-active { background: var(--rivet); color: #fff; }

.menu-btn { display: inline-flex; padding: 8px; border-radius: 8px; color: inherit; border: 1px solid rgba(255,255,255,.45); }
.site-header.is-solid .menu-btn { border-color: var(--line); }
@media (min-width: 1024px) { .menu-btn { display: none; } }
.mobile-nav { background: var(--card); color: var(--ink); border-top: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0,0,0,.5); }
.dark .mobile-nav { color: #E8EEF3; }
.mobile-nav a:hover { background: var(--steel-pale); }
.dark .mobile-nav a:hover { background: #22303C; }

/* ---------- Buttons ---------- */
.btn-call, .btn-primary, .btn-ghost, .btn-dark, .btn-white, .btn-outline-white, .btn-ghost-dark {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; border-radius: 999px;
  transition: transform .2s, background-color .2s, box-shadow .2s, color .2s;
}
.btn-call { background: var(--rivet); color: #fff; padding: .55rem 1rem; font-size: .95rem; }
.btn-call:hover { background: var(--rivet-dark); }
.btn-primary { background: var(--rivet); color: #fff; padding: .8rem 1.35rem; box-shadow: 0 10px 24px -10px rgba(200,38,26,.95); }
.btn-primary:hover { background: var(--rivet-dark); transform: translateY(-2px); }
.btn-ghost { border: 2px solid rgba(255,255,255,.85); color: #fff; padding: .7rem 1.25rem; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; padding: .7rem 1.2rem; }
.btn-dark:hover { background: var(--badge); transform: translateY(-2px); }
.dark .btn-dark { background: #E8EEF3; color: var(--ink); }
.dark .btn-dark:hover { background: var(--steel-light); }
.btn-white { background: #fff; color: var(--rivet-dark); padding: .8rem 1.3rem; }
.btn-white:hover { transform: translateY(-2px); }
.btn-outline-white { border: 2px solid #fff; color: #fff; padding: .7rem 1.2rem; }
.btn-outline-white:hover { background: #fff; color: var(--ink); }
.btn-ghost-dark { border: 2px solid var(--line); padding: .55rem 1rem; }

/* ==========================================================================
   HERO — client photos + particle field + 3D photo deck
   ========================================================================== */
.hero { position: relative; isolation: isolate; display: flex; align-items: center; overflow: hidden; color: #fff; height: 100vh; height: 100svh; min-height: 600px; max-height: 1000px; }
.hero-slides { position: absolute; inset: 0; z-index: -3; background: var(--ink); }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: rgba(0,0,0,.5); }
.particles { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero-slide { position: absolute; inset: 0; opacity: 0; animation: slideFade 21s infinite; animation-delay: calc(var(--s) * 7s); }
.hero-slide img { animation: slideZoom 21s infinite; animation-delay: calc(var(--s) * 7s); }
@keyframes slideFade { 0% { opacity: 0; } 5% { opacity: 1; } 33% { opacity: 1; } 38% { opacity: 0; } 100% { opacity: 0; } }
@keyframes slideZoom { 0% { transform: scale(1); } 38% { transform: scale(1.06); } 100% { transform: scale(1.06); } }

.pill { display: inline-flex; align-items: center; gap: .4rem; padding: .32rem .75rem; border-radius: 999px; background: rgba(0,0,0,.38); border: 1px solid rgba(255,255,255,.35); }
.hero-rise { opacity: 0; transform: translateY(18px); animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* 3D photo deck (CSS 3D only — 6 light elements) */
.deck { position: relative; height: min(50vh, 430px); perspective: 1300px; }
.deck-stage { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .3s ease-out; }
.deck-card {
  position: absolute; left: 50%; top: 50%; margin: 0;
  width: calc(var(--cw) * var(--k) * 1px); height: calc(var(--ch) * var(--k) * 1px);
  border-radius: 12px; overflow: hidden; background: #000; border: 3px solid #fff;
  box-shadow: 0 34px 50px -26px rgba(0,0,0,.95);
  transform: translate(-50%, -50%) translateX(calc(var(--o, 0) * 44%)) translateZ(calc(var(--a, 0) * -160px)) rotateY(calc(var(--o, 0) * -26deg));
  opacity: calc(1 - var(--a, 0) * .3); z-index: calc(10 - var(--a, 0));
  transition: transform .85s cubic-bezier(.2,.7,.2,1), opacity .85s;
}
.deck-card img { display: block; width: 100%; height: 100%; object-fit: contain; }
.deck-card.is-off { opacity: 0; pointer-events: none; }
.deck-ctrl { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; align-items: center; gap: .6rem; z-index: 20; margin-bottom: -26px; }
.deck-btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); transition: transform .2s; }
.deck-btn:hover { transform: scale(1.1); }
.deck-count { min-width: 3.2rem; text-align: center; font-weight: 700; font-size: .9rem; }
.scroll-cue { position: absolute; left: 50%; bottom: 14px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.75); border-radius: 14px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.6s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Service marquee ---------- */
.marquee { overflow: hidden; background: var(--steel-deep); color: #fff; }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; flex: none; gap: .6rem; padding: .7rem .3rem; }
.marquee-chip { display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; padding: .35rem .85rem; border-radius: 999px; background: rgba(255,255,255,.12); font-weight: 600; font-size: .92rem; }
.marquee-chip svg { color: #BFD0DE; }
@keyframes marquee { to { transform: translateX(-50%); } }


/* ---------- Service tiles with cursor spotlight ---------- */
.spot { position: relative; overflow: hidden; display: flex; align-items: center; gap: .75rem; padding: .8rem .95rem; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-weight: 600; transition: transform .25s, border-color .25s; }
.spot::before { content: ""; position: absolute; inset: 0; background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(39,71,201,.16), transparent 70%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.spot:hover { transform: translateY(-3px); border-color: var(--badge); }
.spot:hover::before { opacity: 1; }
.spot-icon { position: relative; display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--badge); color: #fff; transition: transform .3s; }
.spot:hover .spot-icon { transform: rotate(-8deg) scale(1.08); }
.spot--more { background: var(--rivet); border-color: var(--rivet); color: #fff; font-family: "Saira Condensed", sans-serif; font-size: 1.2rem; }
.spot--more .spot-icon { background: #fff; color: var(--rivet); }


/* ---------- Photo gallery: justified rows — every photo shows whole, no scrolling ---------- */
.jgal { display: flex; flex-wrap: wrap; gap: 10px; }
.jgal li { flex-basis: calc(var(--r, 1.33) * 190px); flex-grow: calc(var(--r, 1.33) * 190); min-width: 0; }
.jgal::after { content: ""; flex-grow: 1000000; }
@media (max-width: 600px) { .jgal li { flex-basis: calc(var(--r, 1.33) * 140px); flex-grow: calc(var(--r, 1.33) * 140); } }
.jg-item { display: block; width: 100%; aspect-ratio: var(--r, 1.33); overflow: hidden; border-radius: 10px; background: var(--steel-pale); cursor: zoom-in; box-shadow: 0 14px 24px -20px rgba(0,0,0,.8); }
.jg-item img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .5s; }
/* once the photo's real shape is known the tile has exactly that shape, so cover = the whole photo, no bars */
.jg-item.is-fit img { object-fit: cover; }
.jg-item:hover img { transform: scale(1.04); }

/* ---------- Home gallery slider (endless, no scroll bar) ---------- */
.sl { --sh: clamp(200px, 32vh, 290px); }
.sl-track { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }
.js .sl-view { overflow: hidden; padding: 2px 2px 18px; margin: -2px -2px -18px; }
.js .sl-track { flex-wrap: nowrap; transition: transform .75s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.js .sl-track.no-anim { transition: none; }
.sl-track li { flex: none; height: var(--sh); width: calc(var(--r, 1.33) * var(--sh)); max-width: 100%; }
.sl-item { display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 12px; background: var(--steel-pale); cursor: zoom-in; box-shadow: 0 16px 26px -20px rgba(0,0,0,.8); }
.sl-item img { display: block; width: 100%; height: 100%; object-fit: contain; max-width: none; transition: transform .5s; }
.sl-item.is-fit img { object-fit: cover; }
.sl-item:hover img { transform: scale(1.04); }

/* ---------- Reviews slider: 4 / 2 / 1 per view, equal height, no scroll bar ---------- */
.rv-track { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.js .rv-view { overflow: hidden; padding: 4px 2px 10px; margin: -4px -2px -10px; }
.js .rv-track { --per: 1; --gap: 1rem; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); gap: var(--gap); transform: translateX(calc(var(--i, 0) * -1 * (100% + var(--gap)) / var(--per))); transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.js .rv-track.no-anim { transition: none; }
@media (min-width: 700px) { .js .rv-track { --per: 2; } }
@media (min-width: 1100px) { .js .rv-track { --per: 4; } }
.rv { display: flex; flex-direction: column; padding: 1.1rem 1.2rem; border-radius: 16px; background: var(--card); border: 1px solid var(--line); font-size: .96rem; }
.rv-by { margin-top: auto; padding-top: .8rem; }
.rv-ctrl { display: none; align-items: center; justify-content: center; gap: .7rem; margin-top: 1.1rem; }
.js .rv-ctrl { display: flex; }
.rv-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; transition: transform .2s, background-color .2s; }
.rv-btn:hover { background: var(--badge); transform: scale(1.08); }
.dark .rv-btn { background: #E8EEF3; color: var(--ink); }
.dark-sec .rv-btn { background: #fff; color: var(--ink); }
.dark-sec .rv-btn:hover { background: var(--glow); }
.rv-pause[aria-pressed="true"] .ic-pause, .rv-pause:not([aria-pressed="true"]) .ic-play { display: none; }
.rv-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--steel-light); opacity: .55; transition: width .3s, opacity .3s, background-color .3s; }
.rv-dot[aria-current="true"] { width: 28px; border-radius: 8px; background: var(--rivet); opacity: 1; }
.stars { display: flex; gap: 2px; color: #C98A00; }
.stars svg { fill: currentColor; }
.dark .stars { color: #F2B632; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(0,0,0,.92); padding: 16px; }
.lb-img { max-width: min(96vw, 1400px); max-height: 88vh; width: auto; height: auto; border-radius: 6px; }
.lb-close, .lb-nav { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--ink); }
.lb-close { top: 14px; right: 14px; }
.lb-nav { top: 50%; margin-top: -24px; }
.lb-prev { left: 14px; } .lb-next { right: 14px; }
.lightbox :focus-visible { outline-color: #FFD34D; }

/* ---------- About: tilted photo collage + feature list ---------- */
.about-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 960px) { .about-grid { grid-template-columns: .95fr 1.05fr; gap: 3rem; } }
.collage { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); padding: .5rem .5rem 2rem; }
.cf { align-self: start; margin: 0; padding: 6px; background: #fff; border-radius: 10px; box-shadow: 0 28px 40px -24px rgba(20,24,28,.8); transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.cf img { display: block; width: 100%; height: auto; border-radius: 6px; }
.cf1 { grid-column: 1 / 8; grid-row: 1; transform: rotate(-3deg); }
.cf2 { grid-column: 5 / 13; grid-row: 1; margin-top: 4rem; transform: rotate(2.2deg); z-index: 2; }
@media (max-width: 767px) { .collage { display: none; } }
.cf:hover { transform: rotate(0) translateY(-6px) scale(1.02); z-index: 5; }
.about-badge { position: absolute; right: 3%; bottom: .2rem; z-index: 6; display: grid; place-items: center; width: 108px; height: 108px; border-radius: 50%; background: var(--rivet); color: #fff; text-align: center; box-shadow: 0 16px 26px -14px rgba(200,38,26,.9); }
.about-badge::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px dashed var(--rivet); animation: spin 22s linear infinite; }
.about-badge span { font-size: .78rem; line-height: 1.15; font-weight: 600; }
.about-badge b { display: block; font-family: "Saira Condensed", sans-serif; font-size: 1.9rem; line-height: 1; }
@keyframes spin { to { transform: rotate(360deg); } }
.about-item { display: flex; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.about-item:first-child { border-top: 0; }
.about-ic { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--ink); color: #fff; transition: background-color .3s, transform .3s; }
.dark .about-ic { background: #E8EEF3; color: var(--ink); }
.about-item:hover .about-ic { background: var(--rivet); color: #fff; transform: rotate(-6deg) scale(1.06); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 1rem 1.1rem; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); }
.stat b { display: block; font-family: "Saira Condensed", sans-serif; font-size: 2.2rem; line-height: 1; }
.stat span { display: block; margin-top: .25rem; font-size: .92rem; color: #C9D6E0; }

/* ---------- Dark sections with particles ---------- */
.dark-sec { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; }
.dark-sec .particles { z-index: 0; }
.dark-sec > .container-in { position: relative; z-index: 1; }
.glass { padding: 1rem 1.1rem; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(4px); }
.glass h3 { font-family: "Saira Condensed", sans-serif; font-weight: 700; font-size: 1.15rem; line-height: 1.2; }
.glass a:not([class*="btn"]) { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.route { display: grid; gap: .75rem; }
@media (min-width: 768px) { .route { grid-template-columns: repeat(3, 1fr); } }
.route-step { position: relative; padding: .9rem 1rem; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.2); }
.route-step h3 { font-family: "Saira Condensed", sans-serif; font-weight: 700; font-size: 1.2rem; line-height: 1.15; }
.place-chip { display: inline-flex; align-items: center; gap: .3rem; padding: .22rem .6rem; border-radius: 999px; background: #fff; color: var(--ink); font-size: .84rem; font-weight: 600; }


/* ---------- Inner page hero ---------- */
.page-hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; overflow: hidden; color: #fff; min-height: 290px; }
.page-hero .ph-bg { position: absolute; inset: 0; z-index: -3; }
.page-hero .hero-shade { z-index: -2; }

/* ---------- Misc content blocks ---------- */
.photo-frame { position: relative; overflow: hidden; border-radius: 14px; background: var(--steel-pale); box-shadow: 0 26px 40px -30px rgba(20,24,28,.85); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.fact { padding: .85rem 1rem; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.fact dt { font-size: .82rem; color: var(--text-soft); }
.fact dd { font-family: "Saira Condensed", sans-serif; font-weight: 700; font-size: 1.3rem; }
.quote { position: relative; padding: 1rem 1.25rem 1rem 1.5rem; border-left: 4px solid var(--rivet); background: var(--card); border-radius: 0 14px 14px 0; font-family: "Saira Condensed", sans-serif; font-weight: 600; font-size: 1.4rem; line-height: 1.25; }
.badge-float { position: absolute; left: 14px; bottom: 14px; padding: .45rem .85rem; border-radius: 999px; background: var(--rivet); color: #fff; font-weight: 700; font-size: .9rem; }
.big-call { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.2rem; border-radius: 16px; background: var(--card); border: 1px solid var(--line); transition: transform .25s, border-color .25s, box-shadow .25s; }
.big-call:hover { transform: translateY(-3px); border-color: var(--rivet); box-shadow: 0 22px 30px -24px rgba(200,38,26,.8); }
.big-call .ic { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--rivet); color: #fff; }
.big-call small { display: block; font-size: .82rem; color: var(--text-soft); }
.big-call b { font-family: "Saira Condensed", sans-serif; font-size: 1.45rem; line-height: 1.1; }
.info-card { display: flex; gap: .9rem; padding: 1rem 1.1rem; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.info-card h3 { font-family: "Saira Condensed", sans-serif; font-weight: 700; font-size: 1.15rem; line-height: 1.2; }
.info-card svg { flex: none; margin-top: 2px; }
.info-link { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.logo-row li { padding: .4rem .7rem; border-radius: 10px; background: #fff; border: 1px solid var(--line); }

/* ---------- Form ---------- */
.form-card { padding: 1.4rem; border-radius: 16px; background: var(--card); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 30px 50px -36px rgba(0,0,0,.9); }
.dark .form-card { color: #E8EEF3; }
.label { display: block; margin-bottom: .3rem; font-weight: 600; font-size: .95rem; }
.input { width: 100%; padding: .7rem .85rem; border-radius: 10px; font: inherit; background: var(--paper); color: inherit; border: 2px solid rgba(20,24,28,.22); }
.dark .input { border-color: rgba(255,255,255,.22); }
.input:focus { outline: none; border-color: var(--badge); box-shadow: 0 0 0 3px rgba(39,71,201,.25); }
.input[aria-invalid="true"] { border-color: var(--rivet); }
.field-error { margin-top: .3rem; color: var(--rivet); font-weight: 600; font-size: .88rem; }
.dark .field-error { color: #FF8A80; }
.alert { display: flex; gap: .5rem; align-items: flex-start; padding: .85rem 1rem; border-radius: 10px; font-weight: 600; }
.alert-success { background: #E3F4E8; color: #12592C; }
.alert-error { background: #FDE6E4; color: #8C1A11; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.footer-title { margin-bottom: .75rem; font-family: "Saira Condensed", sans-serif; font-weight: 700; font-size: 1.2rem; color: #fff; }
.footer-link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.footer-link:hover { color: #fff; text-decoration-color: currentColor; }

/* ---------- Floating tools: theme + accessibility ---------- */
.float-tools { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.float-btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--card); color: var(--ink); border: 2px solid var(--line); box-shadow: 0 10px 20px -10px rgba(0,0,0,.6); transition: transform .2s; }
.dark .float-btn { color: #E8EEF3; }
.float-btn:hover { transform: scale(1.08); }
.float-btn--a11y { width: 54px; height: 54px; background: var(--badge); color: #fff !important; border-color: var(--badge); }
.icon-moon { display: none; }
.dark .icon-sun { display: none; }
.dark .icon-moon { display: block; }
.a11y-panel { position: fixed; left: 16px; bottom: 140px; z-index: 61; width: min(300px, calc(100vw - 32px)); border-radius: 14px; background: var(--card); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.dark .a11y-panel { color: #E8EEF3; }
.a11y-chip, .a11y-opt, .a11y-reset { border-radius: 10px; font-weight: 600; border: 2px solid var(--line); }
.a11y-chip { padding: .35rem .7rem; }
.a11y-opt { padding: .6rem .8rem; text-align: left; }
.a11y-opt[aria-pressed="true"] { background: var(--badge); border-color: var(--badge); color: #fff; }
.a11y-reset { padding: .55rem; background: var(--paper); }
@media (max-width: 640px) {
  .float-tools { left: 10px; bottom: 10px; gap: 8px; }
  .float-btn { width: 42px; height: 42px; }
  .float-btn--a11y { width: 46px; height: 46px; }
  .a11y-panel { left: 10px; bottom: 116px; }
}

/* Accessibility modes */
.a11y-contrast body { background: #fff !important; color: #000 !important; }
.a11y-contrast .text-slate-600, .a11y-contrast .text-slate-700, .a11y-contrast .text-slate-400, .a11y-contrast .text-slate-300, .a11y-contrast .lead { color: inherit !important; }
.a11y-contrast.dark body { background: #000 !important; color: #fff !important; }
.a11y-contrast img { filter: contrast(1.1); }
.a11y-contrast .info-card, .a11y-contrast .spot, .a11y-contrast .rv, .a11y-contrast .big-call, .a11y-contrast .about-card { border: 2px solid currentColor; }
.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; }
.a11y-links a:not([class*="btn"]):not(.nav-link):not(.big-call) { background: #FFF3A3; color: #000 !important; }
.a11y-readable body { font-family: Verdana, Tahoma, Arial, sans-serif !important; letter-spacing: .03em; word-spacing: .12em; line-height: 1.75; }
.a11y-readable h1, .a11y-readable h2, .a11y-readable h3, .a11y-readable .h2 { font-family: Verdana, Tahoma, Arial, sans-serif !important; letter-spacing: 0; }

/* ---------- Chatbot ---------- */
.bot-toggle { position: fixed; right: 18px; bottom: 96px; z-index: 60; display: inline-flex; align-items: center; gap: .45rem; padding: .7rem 1rem; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; box-shadow: 0 14px 24px -12px rgba(0,0,0,.7); transition: transform .2s; }
.dark .bot-toggle { background: #E8EEF3; color: var(--ink); }
.bot-toggle:hover { transform: translateY(-2px); }
.bot-panel { position: fixed; right: 18px; bottom: 150px; z-index: 61; display: flex; flex-direction: column; width: min(360px, calc(100vw - 36px)); height: min(500px, calc(100vh - 190px)); border-radius: 16px; overflow: hidden; background: var(--card); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.dark .bot-panel { color: #E8EEF3; }
.bot-panel:not([hidden]) { animation: pop .25s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.bot-head { display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; background: var(--steel-deep); color: #fff; }
.bot-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; }
.bot-msg { max-width: 88%; padding: .6rem .8rem; border-radius: 12px; font-size: .93rem; line-height: 1.45; }
.bot-msg a { font-weight: 700; text-decoration: underline; }
.bot-msg--bot { align-self: flex-start; background: var(--steel-pale); color: var(--ink); border-bottom-left-radius: 3px; }
.dark .bot-msg--bot { background: #22303C; color: #E8EEF3; }
.bot-msg--user { align-self: flex-end; background: var(--badge); color: #fff; border-bottom-right-radius: 3px; }
.bot-quick { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 1rem .6rem; }
.bot-quick button { padding: .35rem .7rem; border-radius: 999px; border: 1px solid var(--line); font-size: .82rem; font-weight: 600; background: var(--paper); }
.bot-quick button:hover { border-color: var(--badge); }
.bot-form { display: flex; gap: .5rem; padding: .7rem; border-top: 1px solid var(--line); }
.bot-input { flex: 1; min-width: 0; padding: .6rem .8rem; border-radius: 10px; border: 2px solid var(--line); background: var(--paper); color: inherit; font: inherit; }
.bot-send { display: grid; place-items: center; width: 44px; border-radius: 10px; background: var(--rivet); color: #fff; }
@media (max-width: 640px) {
  .bot-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .bot-toggle { padding: .8rem; }
}

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Motion off: OS setting or ADA "Stop animations" ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-slide, .hero-slide img, .marquee-track, .about-badge::before { animation: none !important; }
  .hero-slide, .hero-slide img, .marquee-track { transform: none !important; }
  .hero-slide:first-child { opacity: 1; }
  .marquee-track { width: auto; flex-wrap: wrap; }
}
.a11y-still *, .a11y-still *::before, .a11y-still *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
.a11y-still .js .reveal, .a11y-still.js .reveal { opacity: 1 !important; transform: none !important; }
.a11y-still .hero-slide, .a11y-still .hero-slide img, .a11y-still .marquee-track { animation: none !important; transform: none !important; }
.a11y-still .about-badge::before { animation: none !important; }
.a11y-still .hero-slide:first-child { opacity: 1; }
.a11y-still .marquee-track { width: auto; flex-wrap: wrap; }
.a11y-still [data-tilt] { transform: none !important; }

/* Logo wall (contact page) */
.logo-wall { gap: .75rem; padding: 1rem; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.logo-wall li { padding: .5rem .8rem; }
