/* --- Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img,
picture {
  max-width: 100%;
  display: block;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
}

ul[class],
ol[class] {
  list-style: none;
  padding: 0;
}

/* --- Design tokens --- */
:root {
  --color-bg: #f4f2ee;
  --color-surface: #ffffff;
  --color-ink: #111318;
  --color-text-muted: #5a5f6a;
  --color-border: #e2dfda;
  --color-accent: #c2410c;
  --color-accent-bright: #ea580c;
  --color-accent-hover: #9a3412;
  --color-focus: #1d4ed8;
  --color-dark: #16181d;
  --color-dark-elevated: #1f2229;

  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 5.5rem;
  --space-3xl: 7rem;

  --content-max: 72rem;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(17, 19, 24, 0.06);
  --shadow-md: 0 12px 40px rgba(17, 19, 24, 0.1);
  --shadow-card: 0 4px 24px rgba(17, 19, 24, 0.08);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --reveal-duration: 0.75s;
}

/* --- Motion (scroll reveal) --- */
.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition:
    opacity var(--reveal-duration) var(--ease-out),
    transform var(--reveal-duration) var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .clip-reveal {
    clip-path: inset(0 0 0 0) !important;
  }
}

/* Directional / zoom scroll reveals (corporate template style) */
.reveal--from-left {
  transform: translate3d(-2.75rem, 0, 0);
}

.reveal--from-right {
  transform: translate3d(2.75rem, 0, 0);
}

.reveal--zoom {
  transform: translate3d(0, 2rem, 0) scale(0.94);
}

.reveal--fade {
  transform: none;
}

.reveal.is-visible {
  transform: translate3d(0, 0, 0);
}

.reveal.reveal--zoom.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

.reveal.reveal--fade.is-visible {
  transform: none;
}

/* Image wipe reveal */
.clip-reveal {
  clip-path: inset(0 100% 0 0);
  transition:
    clip-path 1.05s var(--ease-out),
    opacity var(--reveal-duration) var(--ease-out);
  opacity: 0;
}

.clip-reveal.is-visible {
  clip-path: inset(0 0 0 0);
  opacity: 1;
}

.clip-reveal img {
  transform: scale(1.06);
  transition: transform 1.25s var(--ease-out);
}

.clip-reveal.is-visible img {
  transform: scale(1);
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes shimmerBg {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.hero__visual-float {
  animation: floatSoft 7s var(--ease-out) infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero__visual-float {
    animation: none;
  }
}

/* --- Typography --- */
body {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-ink);
  background-color: var(--color-bg);
}

h1,
h2,
h3 {
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--color-ink);
}

h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.35rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--space-md);
}

h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
}

p {
  margin-bottom: var(--space-sm);
  color: var(--color-text-muted);
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--color-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-accent-hover);
}

a:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.section-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.section {
  padding-block: var(--space-xl);
}

.section--tight {
  padding-block: var(--space-lg);
}

.section--dark {
  background: var(--color-dark);
  color: #e8e6e3;
}

.section--dark h2,
.section--dark h3 {
  color: #fff;
}

.section--dark p,
.section--dark .section-label {
  color: #a8adb8;
}

.section--dark .section-label {
  color: #8b919c;
}

/* Section title accent line (preview-style) */
.section-head {
  max-width: 42rem;
  margin-bottom: var(--space-lg);
}

.section-head h2 {
  margin-bottom: var(--space-sm);
}

.section-head .section-label {
  position: relative;
  display: inline-block;
  padding-bottom: var(--space-sm);
  margin-bottom: 0;
}

.section-head .section-label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.75rem;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), #fb923c);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease-out);
  transition-delay: var(--line-delay, 0.12s);
}

.section-head.reveal.is-visible .section-label::after {
  transform: scaleX(1);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
  max-width: 44rem;
}

.section-head--center .section-label::after {
  left: 50%;
  right: auto;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
}

.section-head--center.reveal.is-visible .section-label::after {
  transform: translateX(-50%) scaleX(1);
}

.split-panel__text > .section-label {
  position: relative;
  display: inline-block;
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.split-panel__text > .section-label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.75rem;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), #fb923c);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease-out);
  transition-delay: 0.15s;
}

.split-panel__text.reveal.is-visible > .section-label::after {
  transform: scaleX(1);
}

/* Trust marquee */
.marquee {
  padding-block: var(--space-md);
  background: var(--color-surface);
  border-block: 1px solid var(--color-border);
  overflow: hidden;
}

.marquee__track {
  display: flex;
  gap: var(--space-xl);
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
}

.marquee__track span {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.marquee__track span::before {
  content: "✦";
  margin-right: var(--space-md);
  color: var(--color-accent);
  opacity: 0.7;
}

@keyframes marqueeScroll {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    gap: var(--space-sm) var(--space-md);
  }
}

/* --- Site header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transform: translate3d(0, 0, 0);
  transition:
    transform 0.45s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out),
    background 0.35s var(--ease-out);
}

.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(194, 65, 12, 0.35) 22%,
    rgba(234, 88, 12, 0.55) 50%,
    rgba(194, 65, 12, 0.35) 78%,
    transparent 100%
  );
  opacity: 0.85;
  pointer-events: none;
}

.site-header--scrolled {
  border-bottom-color: rgba(226, 223, 218, 0.85);
  box-shadow: 0 4px 24px rgba(17, 19, 24, 0.07);
  background: rgba(255, 255, 255, 0.96);
}

.site-header--hide {
  transform: translate3d(0, -100%, 0);
}

@media (prefers-reduced-motion: reduce) {
  .site-header--hide {
    transform: none;
  }
}

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: var(--space-sm) var(--space-md);
  padding-block: 0.75rem;
}

.site-header__inner .site-logo {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

.site-header__inner .nav-toggle {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}

.site-header__inner .header-cta {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}

.site-header__inner .site-nav {
  grid-column: 1 / -1;
  grid-row: 2;
}

@media (min-width: 960px) {
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto;
    gap: var(--space-md) var(--space-lg);
    padding-block: 0.75rem;
  }

  .site-header__inner .site-logo {
    grid-column: 1;
    grid-row: 1;
  }

  .site-header__inner .nav-toggle {
    display: none;
  }

  .site-header__inner .site-nav {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    align-self: center;
    width: max-content;
    max-width: 100%;
  }

  .site-header__inner .header-cta {
    grid-column: 3;
    grid-row: 1;
  }
}

.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-logo:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 4px;
}

.site-logo__img {
  height: 3rem;
  width: auto;
  display: block;
  transition: opacity 0.2s ease;
}

.site-logo:hover .site-logo__img {
  opacity: 0.85;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.nav-toggle:hover {
  border-color: #cfc9c0;
  box-shadow: var(--shadow-sm);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 1.125rem;
  height: 1rem;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-ink);
  border-radius: 1px;
  transition:
    transform 0.3s var(--ease-out),
    opacity 0.25s ease;
  transform-origin: center;
}

body.nav-open .nav-toggle__bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

body.nav-open .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle__bars span {
    transition: none;
  }
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  align-items: stretch;
}

.site-nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 700;
  display: block;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.25s var(--ease-out);
}

.site-nav a:hover {
  color: var(--color-ink);
  background: rgba(17, 19, 24, 0.04);
}

.site-nav a[aria-current="page"] {
  color: var(--color-accent);
  font-weight: 600;
  background: rgba(194, 65, 12, 0.08);
}

@media (max-width: 959px) {
  .site-nav {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-0.5rem);
    pointer-events: none;
    transition:
      max-height 0.4s var(--ease-out),
      opacity 0.3s var(--ease-out),
      transform 0.35s var(--ease-out);
  }

  body.nav-open .site-nav {
    max-height: min(70vh, 22rem);
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  body.nav-open {
    overflow: hidden;
  }

  .site-nav ul {
    padding: var(--space-xs) 0 var(--space-sm);
    border-top: 1px solid var(--color-border);
    margin-top: var(--space-xs);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav {
    transition: none;
  }

  body.nav-open .site-nav {
    transform: none;
  }
}

@media (min-width: 960px) {
  .site-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.35rem 0.45rem;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(226, 223, 218, 0.9);
    border-radius: 999px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .site-nav a {
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
  }

  .site-nav a:hover {
    color: var(--color-ink);
    background: rgba(17, 19, 24, 0.06);
    transform: translateY(-1px);
  }

  .site-nav a[aria-current="page"] {
    background: rgba(194, 65, 12, 0.12);
    color: var(--color-accent);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
  }
}

@media (min-width: 960px) and (prefers-reduced-motion: reduce) {
  .site-nav a:hover {
    transform: none;
  }
}

.header-cta {
  flex-shrink: 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background-color 0.25s var(--ease-out),
    color 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out),
    transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
}

.btn:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

.btn--primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-accent) 0%, #ea580c 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(194, 65, 12, 0.35);
}

.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 65%
  );
  transform: translateX(-120%);
  transition: transform 0.65s var(--ease-out);
  pointer-events: none;
}

.btn--primary:hover::after {
  transform: translateX(120%);
}

.btn--primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(194, 65, 12, 0.4);
}

@media (prefers-reduced-motion: reduce) {
  .btn--primary::after {
    display: none;
  }
}

.btn--whatsapp {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
}

.btn--whatsapp::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 65%
  );
  transform: translateX(-120%);
  transition: transform 0.65s var(--ease-out);
  pointer-events: none;
}

.btn--whatsapp:hover::after {
  transform: translateX(120%);
}

.btn--whatsapp:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  .btn--whatsapp::after {
    display: none;
  }
}

.btn--ghost {
  background-color: transparent;
  color: var(--color-ink);
  border-color: var(--color-border);
}

.btn--ghost:hover {
  border-color: var(--color-ink);
  color: var(--color-ink);
  transform: translateY(-2px);
}

.btn--light {
  background: #fff;
  color: var(--color-ink);
}

.btn--light:hover {
  background: #f4f2ee;
  color: var(--color-ink);
  transform: translateY(-2px);
}

.btn--header {
  padding: 0.55rem 1.15rem;
  font-size: 0.875rem;
}

/* --- Hero (home) --- */
.hero-home {
  position: relative;
  padding-block: var(--space-2xl) var(--space-xl);
  overflow: hidden;
}

.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 0% 0%, rgba(194, 65, 12, 0.09), transparent 55%),
    radial-gradient(ellipse 55% 45% at 100% 100%, rgba(29, 78, 216, 0.06), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.hero-home > .container {
  position: relative;
  z-index: 1;
}

.hero-home__grid {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 960px) {
  .hero-home__grid {
    grid-template-columns: 1fr 1.05fr;
    gap: var(--space-2xl);
  }
}

.hero-home__content .eyebrow {
  margin-bottom: var(--space-md);
}

.hero-home__content h1 {
  margin-bottom: var(--space-md);
}

.hero-home__content > p {
  font-size: 1.125rem;
  max-width: 32rem;
  margin-bottom: var(--space-lg);
}

.hero-home__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.hero-home__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero-home__visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease-out);
}

.hero-home__visual:hover img {
  transform: scale(1.06);
}

.hero-home__badge {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  right: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  box-shadow: var(--shadow-sm);
}

.hero-home__badge strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-ink);
  letter-spacing: -0.03em;
}

.hero-home__badge span {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* --- Split panels --- */
.split-panel {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 900px) {
  .split-panel {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .split-panel--reverse .split-panel__media {
    order: 2;
  }

  .split-panel--reverse .split-panel__text {
    order: 1;
  }
}

.split-panel__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.split-panel__media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}

.split-panel__media:hover img {
  transform: scale(1.04);
}

.split-panel__text h2 {
  margin-bottom: var(--space-md);
}

.split-panel__text p {
  font-size: 1.0625rem;
}

.mission-visual {
  position: relative;
}

.split-panel__badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.5);
  animation: floatSoft 5s var(--ease-out) infinite;
}

.badge-content strong {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-ink);
  line-height: 1.2;
}

.badge-content span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.badge-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(194, 65, 12, 0.3);
}

@media (max-width: 600px) {
  .split-panel__badge {
    padding: var(--space-xs) var(--space-sm);
    gap: var(--space-xs);
  }
  .badge-content strong { font-size: 0.9rem; }
  .badge-content span { font-size: 0.65rem; }
  .badge-icon { width: 1.75rem; height: 1.75rem; font-size: 0.9rem; }
}

/* --- Service rows (numbered) --- */
.service-rows {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.service-row {
  display: grid;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition:
    border-color 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out),
    transform 0.3s var(--ease-out);
}

.service-row:hover {
  border-color: rgba(194, 65, 12, 0.25);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

@media (min-width: 768px) {
  .service-row {
    grid-template-columns: auto 1fr 140px;
    align-items: center;
    padding: var(--space-lg);
  }
}

.service-row__num {
  font-size: 2rem;
  font-weight: 800;
  color: rgba(194, 65, 12, 0.2);
  line-height: 1;
  letter-spacing: -0.04em;
}

.service-row h3 {
  margin-bottom: var(--space-xs);
  font-size: 1.25rem;
}

.service-row p {
  font-size: 0.9375rem;
  margin: 0;
}

.service-row__thumb {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  max-height: 120px;
}

.service-row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.service-row:hover .service-row__thumb img {
  transform: scale(1.08);
}

/* --- Stats bar --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-md);
  background: linear-gradient(120deg, #1a1d23 0%, #252830 50%, #1a1d23 100%);
  background-size: 200% 200%;
  animation: shimmerBg 12s ease infinite;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 768px) {
  .stats-bar {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .stats-bar {
    animation: none;
  }
}

.stats-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.stats-bar__item strong {
  display: block;
  font-size: clamp(2.5rem, 6vw, 3.25rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  margin-bottom: var(--space-xs);
}

.stat-counter {
  font-variant-numeric: tabular-nums;
}

.stats-bar__item span {
  font-size: 1.25rem;
  font-weight: 700;
  color: #e5e7eb;
  letter-spacing: 0.01em;
}

/* --- Project cards --- */
.card-grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .card-grid--projects {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.card.reveal.is-visible:hover {
  transform: translate3d(0, -6px, 0);
}

.card.reveal.reveal--zoom.is-visible:hover {
  transform: translate3d(0, -6px, 0) scale(1);
}

.card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e7e5e4;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-out);
}

.card:hover .card__image img {
  transform: scale(1.07);
}

.card__tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.card__body {
  padding: var(--space-md);
}

.card__body h3 {
  color: var(--color-ink);
}

.card__body p {
  font-size: 0.9375rem;
}

/* --- Process steps --- */
.process-grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  padding: var(--space-lg);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition:
    border-color 0.3s ease,
    transform 0.3s var(--ease-out);
}

.process-step:hover {
  border-color: rgba(194, 65, 12, 0.3);
  transform: translateY(-4px);
}

.process-step__icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(194, 65, 12, 0.12), rgba(234, 88, 12, 0.08));
  display: grid;
  place-items: center;
  margin-bottom: var(--space-md);
}

.process-step__icon svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: var(--color-accent);
}

.process-step h3 {
  font-size: 1.0625rem;
  color: var(--color-ink);
}

.process-step p {
  font-size: 0.9375rem;
  margin: 0;
  color: var(--color-text-muted);
}

/* --- Testimonial --- */
.testimonial {
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  position: relative;
}

.testimonial::before {
  content: "“";
  position: absolute;
  top: var(--space-md);
  left: var(--space-lg);
  font-size: 4rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(194, 65, 12, 0.15);
  pointer-events: none;
}

.testimonial blockquote {
  font-size: clamp(1.125rem, 2.5vw, 1.35rem);
  font-weight: 500;
  color: var(--color-ink);
  line-height: 1.45;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.testimonial cite {
  font-style: normal;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* --- Teasers --- */
.teaser-grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .teaser-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.teaser {
  display: block;
  padding: var(--space-lg);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.3s ease,
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
}

.teaser:hover {
  border-color: rgba(194, 65, 12, 0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.teaser:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

.teaser h2 {
  margin-bottom: var(--space-xs);
  font-size: 1.25rem;
  color: var(--color-ink);
}

.teaser p {
  font-size: 0.9375rem;
}

.teaser__link {
  margin-top: var(--space-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
}

/* --- Page header (inner pages) --- */
.page-hero {
  position: relative;
  padding-block: var(--space-2xl);
  color: #fff;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(17, 19, 24, 0.88) 0%, rgba(17, 19, 24, 0.55) 55%, rgba(17, 19, 24, 0.35) 100%);
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: var(--space-sm);
}

.page-hero p {
  color: #c8cdd8;
  font-size: 1.125rem;
  max-width: 36rem;
}

.page-header {
  padding-block: var(--space-xl) var(--space-lg);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}

.page-header h1 {
  margin-bottom: var(--space-sm);
}

.page-header p {
  font-size: 1.0625rem;
  max-width: 36rem;
}

/* --- Value grid --- */
.value-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 640px) {
  .value-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-item {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: transform 0.3s var(--ease-out);
}

.value-item:hover {
  transform: translateY(-4px);
}

.value-item h3 {
  color: var(--color-ink);
}

/* --- Team grid --- */
.team-grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.team-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.team-card.reveal.is-visible:hover {
  transform: translate3d(0, -6px, 0);
}

.team-card.reveal.reveal--zoom.is-visible:hover {
  transform: translate3d(0, -6px, 0) scale(1);
}

.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.team-card__body {
  padding: var(--space-md);
}

.team-card__body span {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.team-card__body h3 {
  margin: 0;
  font-size: 1.0625rem;
}

.team-card__body p {
  margin: 0;
  font-size: 0.875rem;
}

/* --- Lists (about) --- */
ul.list-check {
  margin: var(--space-md) 0;
  padding-left: 1.5rem;
  list-style: disc;
  color: var(--color-text-muted);
}

.list-check li {
  margin-bottom: var(--space-xs);
  padding-left: var(--space-xs);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.stat strong {
  display: block;
  font-size: clamp(1.75rem, 4.5vw, 2.25rem);
  font-weight: 700;
  color: var(--color-ink);
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}

.stat span {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* --- Contact --- */
.contact-hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.contact-hero-img img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.contact-layout {
  display: grid;
  gap: var(--space-xl) var(--space-2xl);
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
    gap: var(--space-xl) var(--space-3xl);
  }
}

.contact-block {
  display: flex;
  flex-direction: column;
}

.contact-block h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  margin-top: 0;
  margin-bottom: var(--space-md);
  color: var(--color-ink);
}

.contact-block h2:not(:first-child) {
  margin-top: var(--space-xl);
}

.contact-block p {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.contact-block a {
  font-size: 0.9375rem;
}

/* --- Contact Support Grid --- */
.contact-support-grid {
  display: grid;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
  .contact-support-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-support-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.contact-support-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(194, 65, 12, 0.25);
}

.contact-support-item__image {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.contact-support-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-support-item__icon {
  width: 3rem;
  height: 3rem;
  background: rgba(194, 65, 12, 0.1);
  color: var(--color-accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}

.contact-support-item__text h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
}

.contact-support-item__text p {
  font-size: 0.9375rem;
  margin-bottom: var(--space-md);
}

.contact-support-item .btn {
  width: 100%;
  margin-top: auto;
}

.list-check--small {
  font-size: 0.875rem;
  padding-left: 1.25rem !important;
}

.list-check--small li {
  margin-bottom: 0.5rem !important;
}

/* --- Contact layout --- */
.contact-layout {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--space-md);
  padding-block: var(--space-xl);
  display: grid;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg) var(--space-xl);
  }
}

.contact-block {
  display: flex;
  flex-direction: column;
}

.contact-block a {
  word-break: break-word;
}

.hours-table {
  width: 100%;
  font-size: 0.9375rem;
  border-collapse: collapse;
  margin-top: var(--space-sm);
}

.hours-table th,
.hours-table td {
  padding: var(--space-xs) 0;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

.hours-table th {
  font-weight: 600;
  color: var(--color-ink);
  width: 42%;
}

.form-note {
  font-size: 0.8125rem;
  margin-top: var(--space-md);
  color: var(--color-text-muted);
}

.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: var(--space-xs);
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-surface);
  color: var(--color-ink);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.form input:hover,
.form textarea:hover,
.form select:hover {
  border-color: #cfc9c0;
}

.form input:focus-visible,
.form textarea:focus-visible,
.form select:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 0;
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.2);
}

.form textarea {
  min-height: 8rem;
  resize: vertical;
}

/* --- Value / Why grid --- */
.value-why-section {
  position: relative;
  overflow: hidden;
}

.value-why-section::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -10%;
  width: 55%;
  height: 200%;
  background: radial-gradient(circle, rgba(194, 65, 12, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.value-why-section::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 45%;
  height: 180%;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.value-why-grid {
  display: grid;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .value-why-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
}

.value-why-block h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  margin-top: var(--space-xs);
  margin-bottom: var(--space-md);
}

.value-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.value-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.value-list li svg {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  stroke: var(--color-accent);
}

/* --- CTA strip --- */
.cta-strip {
  background: var(--color-bg);
  color: var(--color-ink);
  padding-block: var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 50%;
  height: 200%;
  background: radial-gradient(circle, rgba(194, 65, 12, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-strip .container {
  position: relative;
  z-index: 1;
}

.cta-strip p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.cta-strip h2 {
  color: var(--color-ink);
  margin-bottom: var(--space-sm);
}

.cta-strip .btn--primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: none;
  padding: 0.85rem 2rem;
  font-size: 1rem;
}

.cta-strip .btn--primary:hover {
  background: var(--color-accent-bright);
  color: #fff;
}

.cta-strip__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: flex-start;
}

@media (min-width: 640px) {
  .cta-strip__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .cta-strip__text {
    margin-bottom: 0;
  }

  .cta-strip p {
    margin-bottom: 0;
  }
}

/* --- Footer --- */
.site-footer {
  position: relative;
  background: linear-gradient(165deg, #12141a 0%, var(--color-dark) 42%, #1a1d26 100%);
  color: #9ca3af;
  padding-block: var(--space-xl);
  margin-top: 0;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -15%;
  width: min(55vw, 28rem);
  height: min(55vw, 28rem);
  background: radial-gradient(circle, rgba(194, 65, 12, 0.22) 0%, transparent 68%);
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  bottom: -35%;
  left: -10%;
  width: min(45vw, 22rem);
  height: min(45vw, 22rem);
  background: radial-gradient(circle, rgba(234, 88, 12, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.site-footer > .container {
  position: relative;
  z-index: 1;
}

.site-footer a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.35fr 1fr 1fr 1.15fr;
    gap: var(--space-xl) var(--space-lg);
    align-items: start;
  }
}

.site-footer .site-logo:hover .site-logo__img {
  opacity: 0.85;
}

.footer-brand p {
  font-size: 1rem;
  line-height: 1.6;
  margin-top: var(--space-md);
  margin-bottom: 0;
  max-width: 24rem;
  color: #9ca3af;
}

.footer-brand strong {
  color: #fff;
  font-size: 1.125rem;
  display: block;
  margin-bottom: var(--space-xs);
}

.footer-social {
  list-style: none;
  margin: var(--space-md) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  color: #c8cdd8;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.25s var(--ease-out);
}

.footer-social a:hover {
  color: #fff;
  background: rgba(194, 65, 12, 0.2);
  border-color: rgba(234, 88, 12, 0.35);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .footer-social a:hover {
    transform: none;
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col h3 {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #6b7280;
  margin-bottom: var(--space-md);
  font-weight: 700;
  flex-shrink: 0;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-col li a {
  font-size: 0.9375rem;
}

.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-contact-link {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #d1d5db;
}

.footer-contact-link:hover {
  color: #fff;
}

.footer-contact-link--static {
  cursor: default;
  color: #d1d5db;
  margin: 0;
}

.footer-contact-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: rgba(234, 88, 12, 0.85);
}

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: flex-start;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-bottom p {
  font-size: 0.8125rem;
  margin: 0;
  color: #6b7280;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background: var(--color-accent);
  border: none;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(194, 65, 12, 0.45);
  transition:
    background 0.25s var(--ease-out),
    transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
}

.back-to-top svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.back-to-top:hover {
  background: var(--color-accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(194, 65, 12, 0.55);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top:hover {
    transform: none;
  }
}

/* --- Utility --- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0;
}

/* --- Service page full-width cards with image --- */
.service-card-lg {
  display: grid;
  gap: 0;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition:
    box-shadow 0.35s var(--ease-out),
    transform 0.35s var(--ease-out);
}

@media (min-width: 768px) {
  .service-card-lg {
    grid-template-columns: 1fr 1.1fr;
  }
}

.service-card-lg:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.service-card-lg.reveal.is-visible:hover {
  transform: translate3d(0, -4px, 0);
}

.service-card-lg.reveal.reveal--zoom.is-visible:hover {
  transform: translate3d(0, -4px, 0) scale(1);
}

.service-card-lg:nth-child(even) .service-card-lg__media {
  order: 2;
}

.service-card-lg__media {
  min-height: 220px;
}

.service-card-lg__media img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.service-card-lg:hover .service-card-lg__media img {
  transform: scale(1.05);
}

.service-card-lg__body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-card-lg__num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.service-card-lg__body h3 {
  font-size: 1.35rem;
}

.services-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* --- Projects page --- */
.projects-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.project-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s var(--ease-out),
    transform 0.3s var(--ease-out);
}

.project-card:hover {
  border-color: rgba(194, 65, 12, 0.25);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.project-card__header {
  margin-bottom: var(--space-md);
}

.project-card h3 {
  font-size: 1.25rem;
  color: var(--color-ink);
  margin-bottom: var(--space-xs);
}

.project-card__meta {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.project-card__content {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .project-card__content {
    grid-template-columns: 1fr;
  }
}

.project-card__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  font-weight: 700;
}

.project-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.project-card__list li {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  padding-left: 1.25rem;
  position: relative;
}

.project-card__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}
