/* Infusion IT — infusionit.ca */
  html { background: #070D17; }
  body { margin: 0; background: #070D17; color: #EDF2F7; font-family: 'Manrope', system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
  * { box-sizing: border-box; }
  a { color: #AFCB37; text-decoration: none; }
  a:hover { color: #C6DE5E; }
  ::selection { background: rgba(175,203,55,.35); color: #fff; }
  @keyframes iit-drift { 0% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(30px,-24px,0) scale(1.08); } 100% { transform: translate3d(0,0,0) scale(1); } }
  @keyframes iit-drift2 { 0% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(-36px,20px,0) scale(1.12); } 100% { transform: translate3d(0,0,0) scale(1); } }
  @keyframes iit-pulse { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
  ::-webkit-scrollbar { width: 10px; }
  ::-webkit-scrollbar-track { background: #070D17; }
  ::-webkit-scrollbar-thumb { background: #1c2a42; border-radius: 5px; }
  @keyframes iit-float-a { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-18px) rotate(-1deg); } }
  @keyframes iit-float-b { 0%,100% { transform: translateY(0) rotate(2deg); } 50% { transform: translateY(-14px) rotate(3deg); } }
  @media (max-width: 1180px) { .iit-float { display: none !important; } }

  .skip { position: absolute; left: -9999px; top: 0; background: #AFCB37; color: #0B1524; padding: 12px 18px; border-radius: 0 0 10px 0; font-weight: 700; z-index: 999; }
  .skip:focus { left: 0; }
  a:focus-visible, button:focus-visible { outline: 2px solid #AFCB37; outline-offset: 3px; }
  img { max-width: 100%; }

.hv1:hover{background: #C6DE5E !important;color: #0B1524 !important;transform: translateY(-2px) !important}
.hv2:hover{background: rgba(255,255,255,.1) !important;transform: translateY(-2px) !important}
.hv3:hover{border-color: rgba(175,203,55,.5) !important}
.hv4:hover{border-color: rgba(175,203,55,.45) !important}
.hv5:hover{color: #AFCB37 !important;background: rgba(175,203,55,.06) !important}
.hv6:hover{background: #C6DE5E !important;color: #0B1524 !important}
.hv7:hover{color: #AFCB37 !important}
.hv8:hover{background: rgba(255,255,255,.06) !important;color: #EDF2F7 !important}
.hv9:hover{background: #C6DE5E !important;color: #0B1524 !important;box-shadow: 0 0 36px rgba(175,203,55,.55) !important}
.hv10:hover{color: #C6DE5E !important}
.hv11:hover{background: rgba(255,255,255,.1) !important}
.hv12:hover{background: rgba(255,255,255,.1) !important;color: #EDF2F7 !important}
.hv13:hover{border-color: rgba(175,203,55,.45) !important;background: rgba(175,203,55,.06) !important;color: #EDF2F7 !important}

  .svc-wrap { position: relative; display: flex; align-items: center; }
  .svc-wrap > a { display: inline-flex; align-items: center; white-space: nowrap; }
  .svc-menu { position: absolute; top: calc(100% + 12px); left: 50%; width: 580px; max-width: calc(100vw - 40px); display: grid; grid-template-columns: 1fr 1fr; padding: 8px; border-radius: 16px; background: #0B1524; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 24px 60px rgba(0,0,0,.55); gap: 2px; opacity: 0; visibility: hidden; pointer-events: none; transform: translateX(-50%) translateY(-6px); transition: opacity .18s ease, transform .18s ease; z-index: 120; }
  .svc-wrap:hover .svc-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
  /* Keep the menu open on the way down: an invisible bridge fills the gap between
     "Services" and the panel, and closing waits a moment so a wobbly mouse path or
     a brief overshoot doesn't snap it shut. While it is still visible during that
     wait it stays clickable, so moving back onto it keeps it open. */
  .svc-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
  .svc-menu { pointer-events: auto; transition: opacity .18s ease .25s, transform .18s ease .25s, visibility 0s linear .43s; }
  .svc-wrap:hover .svc-menu, .svc-wrap.svc-open .svc-menu { transition-delay: 0s; }
  .svc-menu a { display: flex; flex-direction: column; gap: 2px; padding: 11px 14px; border-radius: 11px; color: #EDF2F7; font-family: 'Manrope', sans-serif; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
  .svc-menu a:hover { background: rgba(175,203,55,.1); color: #AFCB37; }
  .svc-menu a span { font-size: 12.5px; font-weight: 500; color: rgba(237,242,247,.5); }
  .svc-menu a:hover span { color: rgba(237,242,247,.62); }
  .svc-wrap.svc-open .svc-menu { opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; transform: translateX(-50%) translateY(0) !important; }


/* ── Mobile & tablet layout ─────────────────────────────────────── */
@media (max-width: 1080px) {
  .repair-grid { grid-template-columns: 1fr 1fr !important; }
  .step-grid { grid-template-columns: 1fr 1fr !important; gap: 18px !important; }
}
@media (max-width: 980px) {
  main div[style*="max-width: 1200px"][style*="display: grid"] { grid-template-columns: 1fr !important; gap: 40px !important; }
  main div[style*="max-width: 1200px"] > div[style*="height: 340px"] { order: 9 !important; }
  main div[style*="max-width: 1200px"] > div[style*="height: 340px"] { height: 300px !important; }
  .other-grid { grid-template-columns: 1fr 1fr !important; }
  main section { padding-top: 52px !important; padding-bottom: 52px !important; }
  main > section:first-of-type, main > div > section:first-of-type { padding-top: 150px !important; padding-bottom: 34px !important; }
  footer div[style*="display: grid"] { grid-template-columns: 1fr 1fr !important; gap: 32px !important; }
}
@media (max-width: 760px) {
  /* stack every grid, and give stacked blocks room to breathe */
  main div[style*="display: grid"] { grid-template-columns: 1fr !important; }
  main div[style*="max-width: 1200px"][style*="display: grid"] { gap: 32px !important; }
  .repair-grid, .step-grid, .other-grid { gap: 16px !important; }
  .nf-grid { grid-template-columns: 1fr !important; }

  main section { padding: 46px 20px !important; }
  main > section:first-of-type, main > div > section:first-of-type { padding-top: 152px !important; padding-bottom: 34px !important; }
  main > section:last-of-type, main > div > section:last-of-type { padding-bottom: 76px !important; }

  /* header: two comfortable rows, full-size tap targets */
  header { padding: 12px 14px 0 !important; }
  header nav { position: relative; }
  header nav { flex-wrap: wrap; row-gap: 8px !important; column-gap: 10px !important; padding: 10px 12px !important; }
  header nav > div[style*="flex: 1"] { display: none !important; }
  header nav > div[style*="gap: 4px"] { order: 3; width: 100%; justify-content: space-between; gap: 2px !important; }
  header nav > div[style*="gap: 4px"] > a,
  header nav .svc-wrap > a { padding: 11px 10px !important; font-size: 14px !important; }
  header nav > a[href^="mailto"] { margin-left: auto; padding: 10px 16px !important; }
  .svc-menu { display: none !important; }
  .svc-wrap.svc-open { position: static; }
  .svc-wrap.svc-open .svc-menu {
    display: grid !important; position: absolute !important;
    top: calc(100% + 8px) !important; left: 14px !important; right: 14px !important;
    width: auto !important; max-width: none !important; grid-template-columns: 1fr !important;
    transform: none !important; max-height: calc(100vh - 180px); overflow-y: auto;
    background: #0B1524; box-shadow: 0 24px 60px rgba(0,0,0,.6);
  }
  .svc-wrap.svc-open .svc-menu a { padding: 14px 16px; }

  /* cards: reclaim the side padding narrow screens can't spare */
  main section div[style*="border-radius: 20px"],
  main section div[style*="border-radius: 22px"],
  main section div[style*="border-radius: 18px"],
  main section div[style*="border-radius: 28px"] { padding-left: 22px !important; padding-right: 22px !important; }

  footer { padding: 48px 20px 30px !important; }
  footer div[style*="display: grid"] { grid-template-columns: 1fr !important; gap: 30px !important; }
  /* footer links: finger-sized rows instead of 16px-tall text with gaps */
  footer div[style*="gap: 12px"] { gap: 0 !important; }
  footer div[style*="gap: 12px"] > a { padding: 8px 0 !important; }
  footer div[style*="gap: 12px"] > span:first-child { margin-bottom: 4px; }

  /* header slides away while reading down the page and returns on the way back up */
  header { transition: transform .28s ease; will-change: transform; }
  html.hdr-hidden header { transform: translateY(-120%); }

  /* home hero stats: one tidy row of three instead of a ragged stack with stray dividers */
  .hero-stats { flex-wrap: nowrap !important; gap: 0 !important; width: 100%; justify-content: space-between !important; }
  .hero-stats > div[style*="width: 1px"] { display: none; }
  .hero-stats > div { flex: 1 1 0; align-items: center; text-align: center; }
  .hero-stats > div > span:first-child { font-size: 26px !important; }
  .hero-stats > div > span:last-child { font-size: 11.5px !important; letter-spacing: .06em !important; line-height: 1.35; padding: 0 4px; }
}
@media (max-width: 460px) {
  header .iit-logo { height: 28px !important; }
  main > section:first-of-type, main > div > section:first-of-type { padding-top: 146px !important; }
  main section { padding-left: 17px !important; padding-right: 17px !important; }
  header nav > div[style*="gap: 4px"] > a,
  header nav .svc-wrap > a { padding: 10px 7px !important; font-size: 13.5px !important; }
  header nav > a[href^="mailto"] { font-size: 13px !important; padding: 10px 14px !important; }

  /* call-to-action buttons: full width and stacked, easy to hit with a thumb */
  main a.hv1, main a.hv2, main a.hv6, main a.hv11, main a.hv12 { width: 100%; justify-content: center; text-align: center; }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  header { transition: none; }
}

/* ── Laptop teardown journey (computer repair page) ─────────────── */
@keyframes td-spin { to { transform: rotate(360deg); } }
@keyframes td-ping { 0% { transform: scale(1); opacity: .9; } 70%,100% { transform: scale(2.6); opacity: 0; } }

.td-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; }
.td-stage-col { position: relative; height: 100%; }
.td-stage { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 14px; }
.td-viewport { position: relative; height: 62vh; min-height: 420px; border-radius: 24px; overflow: hidden;
  background: radial-gradient(600px 420px at 50% 38%, rgba(31,78,121,.35), transparent 70%), linear-gradient(160deg, #0C1729, #070D17);
  border: 1px solid rgba(255,255,255,.09); perspective: 1500px; perspective-origin: 50% 46%; }
.td-rig { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d;
  transform: translate(-50%,-50%) rotateX(10deg) rotateY(-18deg) scale(1); transition: transform .12s linear; }
.td-layer { position: absolute; left: -175px; top: -112px; width: 350px; height: 224px; transform-style: preserve-3d;
  transition: transform .35s cubic-bezier(.22,.7,.3,1), opacity .35s ease, filter .35s ease; }
.td-plate { position: absolute; inset: 0; border-radius: 12px; background: linear-gradient(150deg, #2A3E5F, #14243C);
  border: 1px solid rgba(255,255,255,.22); box-shadow: 0 18px 40px rgba(0,0,0,.55); overflow: hidden; }
.td-layer[data-dim="1"] { opacity: .42; filter: saturate(.45) brightness(.8); }
.td-layer[data-active="1"] .td-plate { border-color: rgba(175,203,55,.65); box-shadow: 0 26px 60px rgba(0,0,0,.5), 0 0 40px rgba(175,203,55,.28); }
.td-tag { position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%); font-family: 'Space Grotesk', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #AFCB37; white-space: nowrap;
  opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.td-layer[data-active="1"] .td-tag { opacity: 1; }

.td-hot { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; padding: 0; border: 0; border-radius: 50%;
  background: none; cursor: pointer; display: grid; place-items: center; }
.td-hot span { position: relative; width: 13px; height: 13px; border-radius: 50%; background: #AFCB37;
  box-shadow: 0 0 0 4px rgba(175,203,55,.2), 0 0 16px rgba(175,203,55,.75); }
.td-hot span::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(175,203,55,.9); animation: td-ping 2.4s ease-out infinite; }
.td-hot:hover span { background: #C6DE5E; transform: scale(1.15); }
.td-hot:focus-visible { outline: 2px solid #AFCB37; outline-offset: 2px; }
.td-layer[data-dim="1"] .td-hot { opacity: 0; pointer-events: none; }

.td-readout { display: flex; flex-direction: column; gap: 3px; padding: 14px 18px; border-radius: 14px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); }
.td-readout span { font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 600; color: #EDF2F7; }
.td-readout em { font-style: normal; font-size: 13.5px; line-height: 1.5; color: rgba(237,242,247,.6); }
.td-chiprow { display: flex; flex-wrap: wrap; gap: 7px; }
.td-chip { font-family: 'Manrope', sans-serif; font-size: 12.5px; font-weight: 600; padding: 8px 13px; border-radius: 999px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); color: rgba(237,242,247,.7); cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease; }
.td-chip:hover { border-color: rgba(175,203,55,.45); color: #EDF2F7; }
.td-chip[data-active="1"] { background: rgba(175,203,55,.14); border-color: rgba(175,203,55,.5); color: #AFCB37; }

.td-copy { display: flex; flex-direction: column; }
.td-step { display: flex; flex-direction: column; gap: 13px; padding: 12vh 0; min-height: 46vh; justify-content: center;
  opacity: .32; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease; }
.td-step[data-active="1"] { opacity: 1; transform: none; }
.td-step-intro { padding-top: 2vh; }
.td-num { font-family: monospace; font-size: 12px; letter-spacing: .18em; color: #AFCB37; }
.td-step h3 { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: clamp(24px, 2.6vw, 33px); font-weight: 700;
  line-height: 1.15; letter-spacing: -.02em; }
.td-step p { margin: 0; font-size: 16.5px; line-height: 1.75; color: rgba(237,242,247,.7); text-wrap: pretty; }
.td-facts { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.td-facts > div { padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08);
  display: flex; flex-direction: column; gap: 5px; }
.td-facts span { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(175,203,55,.85); }
.td-facts p { font-size: 15px; line-height: 1.65; color: rgba(237,242,247,.66); }
.td-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.td-chain span { font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 600; padding: 8px 13px; border-radius: 10px;
  background: rgba(175,203,55,.1); border: 1px solid rgba(175,203,55,.28); color: #AFCB37; }
.td-chain i { font-style: normal; color: rgba(237,242,247,.55); }

@media (max-width: 980px) {
  .td-wrap { display: block !important; }
  /* --hdr-h is the header's bottom edge, kept current by site.js (0 while it is slid away) */
  .td-stage-col { position: sticky; top: calc(var(--hdr-h, 120px) + 6px); z-index: 5; height: auto; padding-bottom: 10px;
    background: linear-gradient(#070D17 78%, rgba(7,13,23,0)); transition: top .28s ease; }
  .td-stage { position: static; gap: 10px; }
  .td-viewport { height: 34vh; min-height: 260px; }
  /* the step text right below already says what the readout says; give phones the room back */
  .td-readout { display: none; }
  .td-hot { width: 44px; height: 44px; margin: -22px 0 0 -22px; }

  .td-layer { left: -140px; top: -90px; width: 280px; height: 180px; }
  .td-step { padding: 7vh 0; min-height: 0; }
  .td-chiprow { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
  .td-chiprow::-webkit-scrollbar { display: none; }
  .td-chip { flex: none; }
}
@media (max-width: 460px) {
  .td-viewport { height: 30vh; min-height: 220px; }
  .td-readout { padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .td-hot span::after { animation: none; }
  .td-step { opacity: 1; transform: none; }
}

/* ── Cooper, the Infusion IT mascot ─────────────────────────────── */
@keyframes cooper-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.cooper-band { width: 100%; max-width: 1100px; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.cooper-art { position: relative; display: flex; justify-content: center; }
.cooper-art::before { content: ''; position: absolute; inset: 8% 4% 10%; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(175,203,55,.24), rgba(46,109,164,.16) 45%, transparent 70%); filter: blur(24px); }
.cooper-art img { position: relative; display: block; width: 100%; max-width: 380px; height: auto;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,.45)); animation: cooper-bob 5s ease-in-out infinite; }
.cooper-copy { display: flex; flex-direction: column; gap: 18px; }
.cooper-copy .cooper-eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #AFCB37; }
.cooper-copy h2 { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: clamp(32px, 3.8vw, 48px); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.cooper-copy p { margin: 0; font-size: 17px; line-height: 1.75; color: rgba(237,242,247,.7); text-wrap: pretty; }
.cooper-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.cooper-tags span { font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px;
  background: rgba(175,203,55,.1); border: 1px solid rgba(175,203,55,.28); color: #AFCB37; }
/* small Cooper beside a call to action */
.cooper-cta { position: relative; flex: none; width: 150px; height: auto; margin: -12px 0 -24px;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)); animation: cooper-bob 5s ease-in-out infinite; }
/* Cooper on the 404 page */
.cooper-404 { width: 170px; height: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)); animation: cooper-bob 5s ease-in-out infinite; }

@media (max-width: 980px) {
  .cooper-band { gap: 40px; }
}
@media (max-width: 760px) {
  .cooper-band { grid-template-columns: 1fr; gap: 20px; }
  .cooper-art img { max-width: 250px; }
  .cooper-copy { gap: 14px; }
  .cooper-copy p { font-size: 16px; }
  .cooper-cta { width: 120px; margin: 0 auto -8px; }
  .cooper-404 { width: 130px; }
}
@media (prefers-reduced-motion: reduce) {
  .cooper-art img, .cooper-cta, .cooper-404 { animation: none; }
}

/* Why Infusion IT cards: slightly smaller icon tiles on narrow phones */
@media (max-width: 460px) {
  .why-card { gap: 16px !important; padding: 22px 20px !important; }
  .why-card .why-icon { width: 54px !important; height: 54px !important; border-radius: 15px !important; }
  .why-card .why-icon svg { width: 27px; height: 27px; }
}

/* Cooper beside "Common questions" on the service pages (pointing at the questions) */
.faq-with-cooper { width: 100%; max-width: 1180px; display: grid; grid-template-columns: 260px minmax(0, 860px); gap: 48px; justify-content: center; align-items: start; }
.faq-cooper { position: sticky; top: 120px; padding-top: 6px; }
.faq-cooper-img { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)); animation: cooper-bob 5s ease-in-out infinite; }

/* Cooper with two thumbs up in the closing call to action (service pages, contact).
   By default he sits centred above the heading. On wide screens he stands at the
   card's left edge, and the card reserves his width as padding on BOTH sides, so
   the centred text stays centred and can never run underneath him, however long
   the heading is. */
.cta-cooper-card { position: relative; }
.cta-cooper { display: block; width: 150px; height: auto; margin: -8px auto 0;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)); animation: cooper-bob 5s ease-in-out infinite; }
@media (min-width: 1180px) {
  .cta-cooper-card { padding-left: 290px !important; padding-right: 290px !important; }
  .cta-cooper { position: absolute; left: 56px; bottom: 0; width: 210px; max-height: 92%; margin: 0;
    object-fit: contain; object-position: bottom; }
}

@media (max-width: 980px) {
  .faq-with-cooper { grid-template-columns: 1fr; gap: 8px; max-width: 860px; }
  .faq-cooper { position: static; padding-top: 0; }
  .faq-cooper-img { width: 140px; }
  .cta-cooper { width: 130px; }
}
@media (prefers-reduced-motion: reduce) {
  .faq-cooper-img, .cta-cooper { animation: none; }
}

/* ── Contact page ─────────────────────────────────────────────── */
.contact-hero { position: relative; width: 100%; max-width: 1200px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
.contact-methods { display: flex; flex-direction: column; gap: 14px; }
.contact-method { position: relative; display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: 20px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); color: #EDF2F7;
  transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.contact-method:hover { color: #EDF2F7; border-color: rgba(175,203,55,.45); background: rgba(175,203,55,.06); transform: translateY(-2px); }
.contact-method:focus-visible { outline: 2px solid #AFCB37; outline-offset: 3px; }
.cm-icon { flex: none; width: 52px; height: 52px; border-radius: 15px; display: flex; align-items: center; justify-content: center; }
.cm-lime { background: linear-gradient(135deg, rgba(175,203,55,.28), rgba(175,203,55,.07)); border: 1px solid rgba(175,203,55,.38); }
.cm-blue { background: linear-gradient(135deg, rgba(46,109,164,.4), rgba(46,109,164,.1)); border: 1px solid rgba(46,109,164,.55); }
.cm-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cm-label { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(237,242,247,.5); }
.cm-value { font-family: 'Space Grotesk', sans-serif; font-size: clamp(17px, 1.7vw, 21px); font-weight: 700; overflow-wrap: anywhere; }
.cm-hint { font-size: 13.5px; color: rgba(237,242,247,.55); }
.cm-arrow { margin-left: auto; font-size: 20px; color: #AFCB37; transition: transform .2s ease; }
.contact-method:hover .cm-arrow { transform: translateX(4px); }

.hours-badge { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); color: rgba(237,242,247,.85); }
.hours-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(237,242,247,.45); flex: none; }
.hours-badge[data-state="open"] { background: rgba(175,203,55,.1); border-color: rgba(175,203,55,.35); }
.hours-badge[data-state="open"] .hours-dot { background: #AFCB37; box-shadow: 0 0 10px rgba(175,203,55,.9); animation: iit-pulse 2s ease-in-out infinite; }
.hours-badge[data-state="closed"] .hours-dot { background: #E5A15B; }

.contact-map-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.contact-map-card { position: relative; min-height: 460px; border-radius: 24px; overflow: hidden; border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(160deg, #0C1729, #070D17); box-shadow: 0 30px 70px rgba(0,0,0,.45); }
.contact-map { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-panel { padding: 24px 26px; border-radius: 20px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); display: flex; flex-direction: column; gap: 16px; }
.contact-panel-head { display: flex; align-items: center; gap: 14px; }
.contact-panel-head .cm-icon { width: 44px; height: 44px; border-radius: 13px; }
.contact-panel-head h3 { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: 19px; font-weight: 600; }
.contact-hours { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.contact-hours > div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 15px; }
.contact-hours > div:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-hours dt { color: rgba(237,242,247,.65); }
.contact-hours dd { margin: 0; font-weight: 600; color: #EDF2F7; text-align: right; }
.contact-panel-note { margin: 0; font-size: 13.5px; line-height: 1.55; color: rgba(237,242,247,.55); }
.contact-addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-addr-label { display: block; margin-bottom: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(175,203,55,.85); }
.contact-addresses address { font-style: normal; font-size: 15px; line-height: 1.55; color: #EDF2F7; }
.contact-map-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-map-actions a { flex: 1 1 180px; }

.contact-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.contact-step { padding: 28px 28px 30px; border-radius: 22px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); display: flex; flex-direction: column; gap: 14px; }
.contact-step-head { display: flex; align-items: center; justify-content: space-between; }
.contact-step-num::before { content: attr(data-num); }
.contact-step-num { font-family: 'Space Grotesk', sans-serif; font-size: 34px; font-weight: 700; color: rgba(237,242,247,.12); letter-spacing: -.02em; }
.contact-step h3 { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 600; }
.contact-step p { margin: 0; font-size: 15px; line-height: 1.65; color: rgba(237,242,247,.62); }

@media (max-width: 980px) {
  .contact-hero { grid-template-columns: 1fr; gap: 40px; }
  .contact-map-grid { grid-template-columns: 1fr; }
  .contact-map-card { min-height: 380px; }
  .contact-steps { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 460px) {
  .contact-method { padding: 18px 18px; gap: 14px; }
  .cm-icon { width: 46px; height: 46px; border-radius: 13px; }
  .contact-map-card { min-height: 320px; }
  .contact-addresses { grid-template-columns: 1fr; }
  .contact-panel { padding: 22px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .hours-badge[data-state="open"] .hours-dot { animation: none; }
  .contact-method, .cm-arrow { transition: none; }
}

/* Text for screen readers and search engines only (e.g. "Learn more about Website Design") */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Header: tap-to-call on phones (hidden on wider screens) */
.hdr-call { display: none; }
.hdr-email-icon { display: none; }
@media (max-width: 760px) {
  .hdr-call { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; margin-left: auto;
    border-radius: 12px; color: #AFCB37; background: rgba(175,203,55,.1); border: 1px solid rgba(175,203,55,.4); }
  .hdr-call:hover { color: #C6DE5E; background: rgba(175,203,55,.16); }
  header nav > a.hdr-email { margin-left: 0 !important; }
}
@media (max-width: 400px) {
  header nav > a.hdr-email { width: 40px; height: 40px; padding: 0 !important; justify-content: center; }
  .hdr-email-text { display: none; }
  .hdr-email-icon { display: block; }
}

/* Contact page: copy the email address (for people without a mail app) */
.copy-email-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 4px 6px 0; font-size: 14px; color: rgba(237,242,247,.6); }
.copy-email-row[hidden] { display: none; }
.copy-email { font: inherit; font-weight: 700; color: #AFCB37; background: none; border: 0; padding: 6px 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; }
.copy-email:hover { color: #C6DE5E; }
.copy-email:focus-visible { outline: 2px solid #AFCB37; outline-offset: 2px; border-radius: 4px; }
.copy-email-status { color: #AFCB37; font-weight: 600; }
/* the smallest phones (320–340px): a slightly smaller logo keeps call + email on the first row */
@media (max-width: 340px) {
  header .iit-logo { height: 24px !important; }
  header nav { column-gap: 8px !important; }
}

/* Home: client testimonials */
.testimonials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.t-card { margin: 0; padding: 30px 28px 26px; border-radius: 22px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09);
  display: flex; flex-direction: column; gap: 18px; }
.t-mark { color: #AFCB37; opacity: .85; }
.t-card blockquote { margin: 0; flex: 1; }
.t-card blockquote p { margin: 0; font-size: 16.5px; line-height: 1.7; color: rgba(237,242,247,.82); text-wrap: pretty; }
.t-card figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); }
.t-avatar { flex: none; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif; font-size: 13.5px; font-weight: 700; letter-spacing: .04em; }
.t-avatar.t-lime { color: #AFCB37; background: linear-gradient(135deg, rgba(175,203,55,.28), rgba(175,203,55,.07)); border: 1px solid rgba(175,203,55,.38); }
.t-avatar.t-blue { color: #7FB2E5; background: linear-gradient(135deg, rgba(46,109,164,.4), rgba(46,109,164,.1)); border: 1px solid rgba(46,109,164,.55); }
.t-name { font-family: 'Space Grotesk', sans-serif; font-size: 15.5px; font-weight: 600; color: #EDF2F7; }
@media (max-width: 1080px) { .testimonials { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .testimonials { grid-template-columns: 1fr; gap: 14px; }
  .t-card { padding: 26px 22px 22px; }
  .t-card blockquote p { font-size: 16px; }
}

/* Service pages: collapsible FAQ (native <details>, keyboard and screen-reader friendly) */
.faq-item { border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); transition: border-color .2s ease, background .2s ease; }
.faq-item:hover { border-color: rgba(175,203,55,.35); }
.faq-item[open] { background: rgba(255,255,255,.055); border-color: rgba(175,203,55,.3); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; cursor: pointer; border-radius: 18px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0 !important; }
.faq-item summary:focus-visible { outline: 2px solid #AFCB37; outline-offset: 2px; }
.faq-chevron { flex: none; color: #AFCB37; transition: transform .25s ease; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 26px 22px; }
.faq-answer p { margin: 0; }
.faq-item[open] .faq-answer { animation: faq-in .25s ease; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 460px) {
  .faq-item summary { padding: 18px 18px; }
  .faq-answer { padding: 0 18px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .faq-chevron, .faq-item { transition: none; }
  .faq-item[open] .faq-answer { animation: none; }
}

/* Header "Get a free quote": full label on desktop, "Free quote" on phones, icon on the narrowest */
.hdr-q-short { display: none; }
@media (max-width: 760px) {
  .hdr-q-long { display: none; }
  .hdr-q-short { display: inline; }
}

/* Closing cards: phone and email under the "Get a free quote" button */
.cta-alt { margin: 0; font-size: 14px; color: rgba(237,242,247,.6); }
.cta-alt a { color: #EDF2F7; font-weight: 700; }
.cta-alt a:hover { color: #AFCB37; }
/* small tablets / laptops (761–1000px): short "Free quote" label and tighter nav spacing so the header bar never overflows */
@media (min-width: 761px) and (max-width: 1000px) {
  .hdr-q-long { display: none; }
  .hdr-q-short { display: inline; }
  header nav { gap: 14px !important; }
  header nav > div[style*="gap: 4px"] > a, header nav .svc-wrap > a { padding-left: 10px !important; padding-right: 10px !important; }
}

/* Cookie notice (consent.js) */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300; display: flex; justify-content: center; pointer-events: none; }
.cookie-banner[hidden] { display: none; }
.cookie-inner { pointer-events: auto; width: 100%; max-width: 1120px; display: flex; align-items: center; gap: 28px; padding: 22px 26px;
  border-radius: 20px; background: rgba(11,21,36,.97); border: 1px solid rgba(175,203,55,.3);
  box-shadow: 0 24px 70px rgba(0,0,0,.6); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.cookie-text { display: flex; flex-direction: column; gap: 6px; }
.cookie-text p { margin: 0; font-size: 14px; line-height: 1.6; color: rgba(237,242,247,.78); }
.cookie-text .cookie-title { font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 700; color: #EDF2F7; }
.cookie-text a { color: #AFCB37; text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { flex: none; display: flex; gap: 10px; }
.cookie-btn { font: inherit; font-size: 14.5px; font-weight: 800; padding: 12px 20px; min-width: 128px; border-radius: 12px; cursor: pointer; }
.cookie-accept { background: #AFCB37; color: #0B1524; border: 1px solid #AFCB37; }
.cookie-accept:hover { background: #C6DE5E; border-color: #C6DE5E; }
.cookie-reject { background: rgba(255,255,255,.06); color: #EDF2F7; border: 1px solid rgba(255,255,255,.28); }
.cookie-reject:hover { background: rgba(255,255,255,.12); }
.cookie-btn:focus-visible, .cookie-text a:focus-visible { outline: 2px solid #AFCB37; outline-offset: 3px; }
.cookie-settings-link { font: inherit; color: rgba(237,242,247,.72); background: none; border: 0; padding: 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; }
.cookie-settings-link:hover { color: #AFCB37; }
.cookie-settings-link[hidden] { display: none; }
@media (max-width: 760px) {
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; }
  .cookie-inner { flex-direction: column; align-items: stretch; gap: 16px; padding: 18px 18px; }
  .cookie-actions { gap: 8px; }
  .cookie-btn { flex: 1 1 0; min-width: 0; padding: 13px 12px; }
}

/* Contact map placeholder until consent / "Show map" */
.contact-map[hidden] { display: none; }
.map-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 24px; text-align: center;
  background: radial-gradient(420px 260px at 50% 40%, rgba(46,109,164,.25), transparent 70%), linear-gradient(160deg, #0C1729, #070D17); }
.map-consent[hidden] { display: none; }
.map-consent .cm-icon { width: 56px; height: 56px; margin-bottom: 4px; }
.map-consent-title { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 700; color: #EDF2F7; }
.map-consent-note { margin: 0; max-width: 340px; font-size: 14px; line-height: 1.55; color: rgba(237,242,247,.65); }
.map-consent-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 18px; margin-top: 6px; }
.map-consent-btn { font: inherit; font-size: 15px; font-weight: 800; padding: 12px 22px; border-radius: 12px; cursor: pointer;
  background: #AFCB37; color: #0B1524; border: 0; box-shadow: 0 0 26px rgba(175,203,55,.3); }
.map-consent-btn:hover { background: #C6DE5E; }
.map-consent-btn:focus-visible { outline: 2px solid #AFCB37; outline-offset: 3px; }
.map-consent-btn[hidden] { display: none; }
.map-consent-actions a { font-size: 14.5px; font-weight: 700; color: #AFCB37; text-decoration: underline; text-underline-offset: 3px; }

/* Privacy page: cookie table */
.cookie-table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid rgba(255,255,255,.1); }
.cookie-table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.55; }
.cookie-table th, .cookie-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(255,255,255,.08); }
.cookie-table th { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #AFCB37; background: rgba(255,255,255,.03); }
.cookie-table td { color: rgba(237,242,247,.75); }
.cookie-table tr:last-child td { border-bottom: 0; }
.cookie-table code { font-size: 13px; color: #EDF2F7; }
@media (max-width: 760px) { .cookie-table { min-width: 560px; } }
.cookie-table-wrap:focus-visible { outline: 2px solid #AFCB37; outline-offset: 3px; }

/* Home portfolio cards: on tablets and phones the preview fills the card edge to edge at the screenshots' wide shape */
@media (max-width: 980px) {
  main div.hv4[style*="border-radius: 18px"] { padding-left: 0 !important; padding-right: 0 !important; }
  main div.hv4 > div[style*="height: 220px"] { height: auto !important; aspect-ratio: 2 / 1; }
}

/* Walking Cooper (animated WebP): he already moves, so no bobbing on top */
img.cooper-walk { animation: none !important; }
.cooper-art picture { position: relative; display: block; width: 100%; max-width: 380px; }
.cooper-art picture img { max-width: 100%; }
@media (max-width: 760px) { .cooper-art picture { max-width: 250px; } }
