:root {
  --red: #d51f2b;
  --ink: #111214;
  --muted: #62666b;
  --line: #e4e4e1;
  --paper: #f7f7f4;
  --white: #fff;
  --max: 1280px;
  --radius: 18px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
.container {
  width: min(var(--max), calc(100% - 48px));
  margin: auto;
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.display {
  font-size: clamp(48px, 7vw, 108px);
  line-height: 0.92;
  letter-spacing: -0.065em;
  margin: 0;
}
.h2 {
  font-size: clamp(38px, 5vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin: 0;
}
.lead {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
  color: #565a60;
  max-width: 820px;
}
.muted {
  color: var(--muted);
}
.site-header {
  height: 86px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 36px;
}
.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border: 2px solid var(--red);
  display: grid;
  place-items: center;
  color: var(--red);
  font-size: 21px;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 0.16em;
  margin-top: 4px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}
.nav a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.nav a:hover {
  color: var(--red);
}
.header-cta {
  background: var(--red);
  color: #fff;
  text-decoration: none;
  padding: 13px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.menu-btn {
  display: none;
  margin-left: auto;
  border: 0;
  background: none;
  font-size: 27px;
}
.hero {
  min-height: calc(100svh - 86px);
  position: relative;
  background: #0e0e0f;
  color: #fff;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  filter: saturate(0.9);
}
.hero-media:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.52) 48%,
      rgba(0, 0, 0, 0.14) 78%
    ),
    linear-gradient(0deg, rgba(0, 0, 0, 0.35), transparent 45%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  min-height: calc(100svh - 86px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px 0 130px;
}
.hero .display {
  max-width: 990px;
}
.hero-copy {
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
  max-width: 690px;
  color: #e6e6e6;
  margin: 28px 0;
}
.actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 23px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  border: 1px solid var(--red);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn.dark {
  background: var(--ink);
  border-color: var(--ink);
}
.hero-proof {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(8px);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.proof-grid div {
  padding: 22px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}
.proof-grid b {
  font-size: 22px;
  display: block;
  margin-bottom: 4px;
}
.proof-grid span {
  font-size: 11px;
  color: #d0d0d0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.section {
  padding: 110px 0;
}
.section-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 58px;
}
.section-head .lead {
  font-size: 17px;
  margin: 0;
}
.intro-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 80px;
}
.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 60px;
  border-top: 1px solid #cfcfca;
}
.metric {
  padding: 30px 10px 10px 0;
}
.metric strong {
  display: block;
  font-size: clamp(34px, 4vw, 58px);
  letter-spacing: -0.04em;
}
.metric span {
  font-size: 12px;
  color: var(--muted);
}
.portfolio-strip {
  background: var(--ink);
  color: #fff;
  padding: 110px 0;
}
.portfolio-strip .lead {
  color: #b8bbc0;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 250px;
  gap: 12px;
}
.work-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #222;
  grid-column: span 4;
}
.work-card.hero-card {
  grid-column: span 7;
  grid-row: span 2;
}
.work-card.wide {
  grid-column: span 5;
}
.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.work-card:hover img {
  transform: scale(1.035);
}
.work-card:after {
  content: "";
  position: absolute;
  inset: 30% 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}
.work-meta {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: 17px;
}
.work-meta small {
  color: #ddd;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.work-meta strong {
  display: block;
  font-size: 18px;
  margin-top: 5px;
}
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service-card {
  min-height: 290px;
  padding: 30px;
  text-decoration: none;
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: 0.25s;
}
.service-card:hover {
  background: #151515;
  color: #fff;
}
.service-card .num {
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
}
.service-card h3 {
  margin: auto 0 14px;
  font-size: 24px;
  letter-spacing: -0.025em;
}
.service-card p {
  color: #777;
  margin: 0;
  line-height: 1.55;
  font-size: 14px;
}
.service-card:hover p {
  color: #bbb;
}
.trust {
  background: #fff;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.trust-item {
  background: #fff;
  padding: 36px;
  min-height: 240px;
}
.trust-item b {
  color: var(--red);
  font-size: 12px;
}
.trust-item h3 {
  font-size: 24px;
  margin: 45px 0 12px;
}
.trust-item p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
.process-list {
  margin-top: 54px;
}
.process-item {
  display: grid;
  grid-template-columns: 90px 1fr 1fr;
  gap: 30px;
  padding: 25px 0;
  border-top: 1px solid #cfcfca;
  align-items: start;
}
.process-item .num {
  color: var(--red);
  font-weight: 800;
}
.process-item h3 {
  margin: 0;
  font-size: 23px;
}
.process-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.credential-card {
  background: #fff;
  padding: 42px;
  border-radius: var(--radius);
}
.credential-card h3 {
  font-size: 28px;
  margin: 0 0 16px;
}
.credential-card p {
  color: var(--muted);
  line-height: 1.7;
}
.faq {
  max-width: 920px;
}
.faq details {
  border-top: 1px solid #cfcfca;
  padding: 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 24px 0;
  font-size: 20px;
  font-weight: 750;
  display: flex;
  justify-content: space-between;
}
.faq summary:after {
  content: "+";
  color: var(--red);
  font-size: 26px;
}
.faq details[open] summary:after {
  content: "−";
}
.faq details p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.65;
  padding: 0 0 24px;
  margin: 0;
}
.quote-section {
  background: var(--red);
  color: #fff;
}
.quote-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 75px;
}
.quote-section .lead {
  color: #fff;
}
.quote-form {
  background: #fff;
  color: var(--ink);
  padding: 38px;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.quote-form label {
  font-size: 12px;
  font-weight: 800;
}
.quote-form label.full {
  grid-column: 1/-1;
}
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid #d9d9d5;
  background: #fafafa;
  border-radius: 9px;
  padding: 13px;
  font: inherit;
}
.quote-form textarea {
  min-height: 110px;
  resize: vertical;
}
.quote-form .consent {
  grid-column: 1/-1;
  font-size: 11px;
  color: #666;
  line-height: 1.5;
}
.quote-form .consent input {
  width: auto;
  margin: 0 6px 0 0;
}
.site-footer {
  background: #0e0f10;
  color: #fff;
  padding: 65px 0 28px;
}
.site-footer .muted {
  color: #b8bbc0;
}
.site-footer .eyebrow {
  color: #ff6b73;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
}
.footer-title {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.footer-grid a {
  display: block;
  text-decoration: none;
  margin: 9px 0;
  color: #d0d0d0;
}
.footer-bottom {
  border-top: 1px solid #303033;
  margin-top: 48px;
  padding-top: 20px;
  color: #85858a;
  font-size: 11px;
}
.page-hero {
  background: #131416;
  color: #fff;
  padding: 110px 0 80px;
}
.page-hero .display {
  font-size: clamp(54px, 7vw, 100px);
  max-width: 1100px;
}
.page-hero .lead {
  color: #babdc2;
  margin-top: 30px;
}
.filters {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.filter {
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 750;
  font-size: 12px;
  cursor: pointer;
}
.filter.active,
.filter:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  background: #ddd;
  border-radius: 10px;
  aspect-ratio: 4/3;
  cursor: zoom-in;
}
.gallery-item.tall {
  aspect-ratio: 3/4;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.35s;
}
.gallery-item:hover img {
  transform: scale(1.025);
}
.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 16px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: #fff;
  font-size: 13px;
}
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.93);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.lightbox.open {
  display: flex;
}
.lightbox img {
  max-height: 88vh;
  max-width: 92vw;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: none;
  color: #fff;
  border: 0;
  font-size: 36px;
  cursor: pointer;
}
.service-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 650px;
  background: #151515;
  color: #fff;
}
.service-copy {
  padding: 90px max(7vw, calc((100vw - var(--max)) / 2));
  padding-right: 7vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-copy h1 {
  font-size: clamp(50px, 6vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.055em;
  margin: 0 0 28px;
}
.service-copy p {
  color: #bcbfc3;
  line-height: 1.7;
  font-size: 18px;
}
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid #ccc;
}
.feature-list div {
  padding: 24px 25px 24px 0;
  border-bottom: 1px solid #ccc;
  font-weight: 750;
}
.notice {
  padding: 13px 16px;
  border-radius: 9px;
  background: #eff9f1;
  color: #256a34;
  font-size: 13px;
}
.form-status {
  grid-column: 1/-1;
  display: none;
}
.form-status.show {
  display: block;
}
@media (max-width: 980px) {
  .nav,
  .header-cta {
    display: none;
  }
  .menu-btn {
    display: block;
  }
  .nav.open {
    display: flex;
    position: absolute;
    top: 86px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px 24px;
    border-bottom: 1px solid #ddd;
  }
  .section-head,
  .intro-grid,
  .quote-grid,
  .footer-grid,
  .credentials {
    grid-template-columns: 1fr;
  }
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 250px;
  }
  .work-card,
  .work-card.hero-card,
  .work-card.wide {
    grid-column: span 1;
    grid-row: span 1;
  }
  .work-card.hero-card {
    grid-column: span 2;
  }
  .process-item {
    grid-template-columns: 60px 1fr;
  }
  .process-item p {
    grid-column: 2;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-hero {
    grid-template-columns: 1fr;
  }
  .service-image {
    height: 500px;
  }
}
@media (max-width: 640px) {
  .container {
    width: min(100% - 30px, var(--max));
  }
  .site-header {
    height: 72px;
  }
  .nav.open {
    top: 72px;
  }
  .hero {
    min-height: 780px;
  }
  .hero-inner {
    min-height: 700px;
    padding-bottom: 180px;
  }
  .hero-media img {
    object-position: 56% center;
  }
  .proof-grid {
    grid-template-columns: 1fr 1fr;
  }
  .proof-grid div {
    padding: 15px;
  }
  .section {
    padding: 76px 0;
  }
  .portfolio-strip {
    padding: 76px 0;
  }
  .services,
  .trust-grid,
  .gallery-grid,
  .metric-row {
    grid-template-columns: 1fr;
  }
  .featured-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 300px;
  }
  .work-card,
  .work-card.hero-card,
  .work-card.wide {
    grid-column: 1;
  }
  .section-head {
    gap: 25px;
    margin-bottom: 40px;
  }
  .quote-form {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .process-item {
    grid-template-columns: 45px 1fr;
  }
  .service-image {
    height: 360px;
  }
  .service-copy {
    padding: 70px 22px;
  }
  .display {
    letter-spacing: -0.045em;
  }
  .footer-grid {
    gap: 28px;
  }
}

.page-hero-photo {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: #111;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
}
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}
.page-hero-photo:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      90deg,
      rgba(8, 9, 10, 0.84) 0%,
      rgba(8, 9, 10, 0.68) 38%,
      rgba(8, 9, 10, 0.28) 66%,
      rgba(8, 9, 10, 0.08) 100%
    ),
    linear-gradient(0deg, rgba(8, 9, 10, 0.2), rgba(8, 9, 10, 0.05));
}
.page-hero-content {
  position: relative;
  z-index: 2;
}
.page-hero-photo .display {
  max-width: 860px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.2);
}
.page-hero-photo .lead {
  color: #f1f1f1;
  max-width: 760px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}
@media (max-width: 640px) {
  .page-hero-photo {
    min-height: 620px;
  }
  .page-hero-bg img {
    object-position: 62% center;
  }
  .page-hero-photo:after {
    background: linear-gradient(
        90deg,
        rgba(8, 9, 10, 0.86),
        rgba(8, 9, 10, 0.52)
      ),
      linear-gradient(0deg, rgba(8, 9, 10, 0.35), transparent);
  }
}

/* HARMUS V5.4 — partnerzy, Instagram, FAQ */
.partner-section {
  background: #f6f4ef;
  border-top: 1px solid #e8e4dc;
  border-bottom: 1px solid #e8e4dc;
}
.partner-box {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 42px;
  align-items: center;
  padding: 34px 0;
}
.partner-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  border: 1px solid #ddd8cf;
  background: #fff;
  text-decoration: none;
  color: #111;
}
.partner-brand strong {
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -0.06em;
}
.partner-brand span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  margin-top: 4px;
  color: #777;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.faq-card {
  padding: 28px;
  border: 1px solid #e2ded6;
  border-radius: 18px;
  background: #fff;
}
.faq-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}
.faq-card p {
  margin: 0;
  color: #5d5d5d;
  line-height: 1.65;
}
.instagram-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 18px;
  border-radius: 999px;
  background: #111;
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.24);
}
.instagram-float:before {
  content: "◎";
  font-size: 22px;
  color: #ef4056;
}
.instagram-link-strong {
  font-weight: 800 !important;
  color: #ef4056 !important;
}
.service-image img,
.work-card img {
  image-orientation: from-image;
}
@media (max-width: 760px) {
  .partner-box,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .instagram-float {
    right: 14px;
    bottom: 14px;
    padding: 11px 14px;
  }
  .partner-box {
    gap: 22px;
  }
}

/* HARMUS V5.5 — partnerzy i czytelniejsze kafle */
.services {
  gap: 14px;
}
.service-card {
  background: #fff;
  border: 1px solid #d8d4cc;
  box-shadow: 0 8px 24px rgba(17, 18, 20, 0.05);
}
.service-card:hover {
  border-color: #c9222b;
  box-shadow: 0 14px 34px rgba(17, 18, 20, 0.1);
}
.trust-item {
  background: #fff;
  border: 1px solid #d8d4cc;
  box-shadow: 0 8px 22px rgba(17, 18, 20, 0.04);
}
.partners-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 16px;
  padding-bottom: 46px;
}
.partner-card {
  min-height: 180px;
  background: #fff;
  border: 1px solid #ddd8cf;
  border-radius: 18px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  color: #111;
  box-shadow: 0 8px 28px rgba(17, 18, 20, 0.06);
}
.partner-card img {
  width: 180px;
  max-height: 100px;
  object-fit: contain;
}
.partner-card.mterm-logo img {
  width: 220px;
  max-width: 100%;
  max-height: 80px;
}
.partner-card.mterm-logo {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
}
.partner-card b {
  display: block;
  font-size: 20px;
  margin-bottom: 7px;
}
.partner-card span {
  display: block;
  color: #666;
  line-height: 1.45;
}
.partner-monogram {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  background: #111;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 800;
  flex: 0 0 auto;
}
.partner-logo:hover {
  border-color: #c9222b;
}
.instagram-float {
  font-size: 15px;
  padding: 15px 20px;
}
.instagram-link-strong {
  font-size: 16px;
}
@media (max-width: 900px) {
  .partners-grid {
    grid-template-columns: 1fr;
  }
  .partner-card {
    min-height: 140px;
  }
}

/* Subtelne interakcje i animacje */
.partner-card,
.service-card,
.trust-item,
.credential-card,
.gallery-item,
.work-card,
.btn,
.header-cta {
  transition:
    transform 0.32s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.32s ease,
    border-color 0.32s ease,
    background-color 0.32s ease,
    color 0.32s ease;
}
.partner-card:hover {
  transform: translateY(-6px);
  border-color: #bdb7ad;
  box-shadow: 0 18px 44px rgba(17, 18, 20, 0.14);
}
.partner-card:hover .partner-monogram {
  transform: scale(1.06);
}
.partner-monogram {
  transition:
    transform 0.32s cubic-bezier(0.2, 0.7, 0.2, 1),
    background-color 0.32s ease,
    box-shadow 0.32s ease;
}
.partner-card[href*="mterm"] {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.partner-card[href*="mterm"]:before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 2px solid transparent;
  border-radius: 18px;
  pointer-events: none;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    opacity 0.3s ease;
  opacity: 0;
}
.partner-card[href*="mterm"]:after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -65px;
  top: -75px;
  border-radius: 50%;
  background: rgba(214, 40, 40, 0.12);
  filter: blur(18px);
  opacity: 0;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
  z-index: -1;
}
.partner-card[href*="mterm"]:hover {
  border-color: var(--red);
  box-shadow:
    0 0 0 3px rgba(214, 40, 40, 0.12),
    0 20px 48px rgba(17, 18, 20, 0.16);
}
.partner-card[href*="mterm"]:hover:before {
  border-color: var(--red);
  box-shadow:
    inset 0 0 22px rgba(214, 40, 40, 0.12),
    0 0 22px rgba(214, 40, 40, 0.22);
  opacity: 1;
}
.partner-card[href*="mterm"]:hover:after {
  opacity: 1;
  transform: scale(1.35);
}
.partner-card[href*="mterm"]:hover .partner-monogram {
  background: var(--red);
  box-shadow: 0 8px 24px rgba(214, 40, 40, 0.28);
}
.partner-card.partner-logo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.partner-card.partner-logo:before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 2px solid transparent;
  border-radius: 18px;
  pointer-events: none;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    opacity 0.3s ease;
  opacity: 0;
}
.partner-card.partner-logo:after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -65px;
  top: -75px;
  border-radius: 50%;
  background: rgba(214, 40, 40, 0.12);
  filter: blur(18px);
  opacity: 0;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
  z-index: -1;
}
.partner-card.partner-logo:hover {
  border-color: var(--red);
  box-shadow:
    0 0 0 3px rgba(214, 40, 40, 0.12),
    0 20px 48px rgba(17, 18, 20, 0.16);
}
.partner-card.partner-logo:hover:before {
  border-color: var(--red);
  box-shadow:
    inset 0 0 22px rgba(214, 40, 40, 0.12),
    0 0 22px rgba(214, 40, 40, 0.22);
  opacity: 1;
}
.partner-card.partner-logo:hover:after {
  opacity: 1;
  transform: scale(1.35);
}
.service-card:hover,
.trust-item:hover,
.credential-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 38px rgba(17, 18, 20, 0.1);
}
.gallery-item:hover,
.work-card:hover {
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}
.btn:hover,
.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(214, 40, 40, 0.24);
}
.fx-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.65s ease var(--reveal-delay, 0ms),
    transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms);
}
.fx-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
@media (hover: none) {
  .partner-card:hover,
  .service-card:hover,
  .trust-item:hover,
  .credential-card:hover,
  .gallery-item:hover,
  .work-card:hover {
    transform: none;
  }
}
