:root {
  --accent: #00D172;
  --accent-light: #47FFA7;
  --accent-dark: #008B48;
  --accent-rgb: 0, 209, 114;
  --accent-soft: rgba(0, 209, 114, 0.08);
  --accent-strong: rgba(0, 209, 114, 0.25);
}

.panel-input {
  width: 100%;
  border: 1px solid rgba(249, 113, 3, 0.26);
  border-radius: 1rem;
  background: #111111;
  padding: 0.9rem 1rem;
  color: #f2f7fb;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.panel-input:hover,
.file-input:hover {
  border-color: rgba(249, 113, 3, 0.46);
}

.panel-input::placeholder {
  color: rgba(215, 226, 234, 0.48);
}

.panel-input:focus {
  border-color: rgba(249, 113, 3, 0.58);
  background: #151515;
  box-shadow: 0 0 0 3px rgba(249, 113, 3, 0.16);
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.file-input {
  display: block;
  width: 100%;
  border: 1px dashed rgba(249, 113, 3, 0.32);
  border-radius: 1rem;
  background: #111111;
  padding: 0.9rem 1rem;
  color: rgba(215, 226, 234, 0.62);
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.file-input:focus {
  border-color: rgba(249, 113, 3, 0.58);
  background: #151515;
  box-shadow: 0 0 0 3px rgba(249, 113, 3, 0.16);
}

body[data-theme="upa"] {
  --accent: #f97103;
  --accent-light: #ffb86d;
  --accent-dark: #d15f02;
  --accent-rgb: 249, 113, 3;
  --accent-soft: rgba(249, 113, 3, 0.1);
  --accent-strong: rgba(249, 113, 3, 0.25);
}

html,
body {
  background: #0c0c0c;
  font-family: "Kanit", sans-serif;
}

body {
  color: #d7e2ea;
}

main {
  background: #0c0c0c;
  overflow-x: hidden;
}

.about-intro-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 122, 0, 0.18);
  border-radius: 2rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background:
    radial-gradient(circle at top right, rgba(255, 122, 0, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.about-intro-side {
  display: grid;
  gap: 1rem;
}

.about-intro-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent 35%, rgba(255, 255, 255, 0.02));
  pointer-events: none;
}

.about-intro-copy {
  display: grid;
  gap: 1rem;
}

.about-intro-copy p {
  margin: 0;
  font-size: clamp(1rem, 1.55vw, 1.08rem);
  line-height: 1.8;
  color: rgba(215, 226, 234, 0.8);
  max-width: 64ch;
}

.about-intro-highlight {
  padding: 1.2rem 1.25rem;
  border-radius: 1.25rem;
  background: rgba(10, 10, 10, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.about-intro-highlight-title {
  margin-bottom: 0.7rem;
  font-size: 0.78rem;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(249, 115, 22, 0.95);
}

.about-proposal-list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-proposal-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(215, 226, 234, 0.82);
}

.about-proposal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  flex-shrink: 0;
  background: rgba(249, 115, 22, 0.14);
  border: 1px solid rgba(249, 115, 22, 0.2);
  font-size: 0.95rem;
}

.about-intro-metrics {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-pill {
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.metric-pill span {
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
  color: #ffffff;
}

.metric-pill p {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(215, 226, 234, 0.68);
}

@media (max-width: 767px) {
  .about-intro-copy p {
    max-width: none;
  }

  .about-intro-metrics {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-heading {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.contact-button {
  background: linear-gradient(123deg, var(--accent-dark), var(--accent), var(--accent-light));
  color: #ffffff !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -10px 22px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(var(--accent-rgb), 0.35),
    0 20px 55px rgba(var(--accent-rgb), 0.25);
}

.contact-button,
.contact-button span,
.contact-button svg,
.contact-button path {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

.site-page[data-site-page="upa"] .contact-button,
.site-page[data-site-page="upa"] .live-project-button {
  display: inline-flex;
  width: auto;
  max-width: fit-content;
  align-self: center;
}

.floating-quick-actions {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 55;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  padding-bottom: env(safe-area-inset-bottom);
}

.floating-cart-stack {
  position: relative;
}

.floating-quick-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.floating-contact-button {
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.9rem 1.15rem;
  border-radius: 999px;
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #ffffff;
  text-align: center;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  min-height: 44px;
}

.scroll-top-button {
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  background: rgba(10, 10, 10, 0.85);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  min-width: 44px;
  min-height: 44px;
}

.scroll-top-button.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.project-contact-button {
  align-self: flex-start;
  margin-top: 0.35rem;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.contact-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(5px);
}

.contact-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  border-radius: 1.75rem;
  border: 1px solid rgba(var(--accent-rgb), 0.26);
  background:
    radial-gradient(circle at top right, rgba(var(--accent-rgb), 0.16), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03)),
    #101010;
  padding: 1.4rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  overscroll-behavior: contain;
}

.contact-modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: #d7e2ea;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
}

.contact-field {
  display: grid;
  gap: 0.55rem;
}

.contact-field span {
  font-size: 0.78rem;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(215, 226, 234, 0.72);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(var(--accent-rgb), 0.26);
  background: #111111;
  padding: 0.9rem 1rem;
  color: #f2f7fb;
  outline: none;
}

.contact-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.contact-field option {
  background: #111111;
  color: #f2f7fb;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(215, 226, 234, 0.48);
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: rgba(var(--accent-rgb), 0.58);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.16);
}

.contact-field textarea {
  resize: vertical;
}

.live-project-button {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.live-project-button:hover {
  background: var(--accent);
  color: #0c0c0c;
}

.store-filter-button {
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  background: rgba(255, 255, 255, 0.04);
  color: #f3f7fb;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.store-filter-button.is-active {
  background: linear-gradient(123deg, var(--accent-dark), var(--accent), var(--accent-light));
  color: #ffffff;
}

.store-search-wrap {
  flex-wrap: wrap;
}

.store-search {
  min-width: min(100%, 280px);
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.75rem 1rem;
  color: #f3f7fb;
  outline: none;
}

.store-search::placeholder {
  color: rgba(215, 226, 234, 0.5);
}

.store-search:focus {
  border-color: rgba(var(--accent-rgb), 0.58);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.16);
}

.store-cart-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(var(--accent-rgb), 0.34);
  background: linear-gradient(123deg, rgba(var(--accent-rgb), 0.14), rgba(var(--accent-rgb), 0.22));
  color: #ffffff;
  border-radius: 999px;
  padding: 0.72rem 0.95rem;
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.store-cart-icon {
  width: 1rem;
  height: 1rem;
}

.store-cart-toggle__label {
  display: inline-block;
}

.store-cart-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  padding-inline: 0.2rem;
}

.store-cart-sidebar {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.9rem);
  z-index: 58;
  width: min(360px, calc(100vw - 2rem));
  max-height: min(75vh, 540px);
  overflow: auto;
  border-radius: 1.35rem;
  border: 1px solid rgba(var(--accent-rgb), 0.24);
  background: rgba(12, 12, 12, 0.96);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5);
  padding: 1rem;
  transform: translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.store-cart-sidebar.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.store-cart-remove {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.store-cart-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}

.store-cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.7rem;
}

.fade-item {
  opacity: 0;
  transform: translateY(52px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0s);
  will-change: transform, opacity;
}

.fade-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.side-reveal {
  opacity: 0;
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.side-reveal.left {
  transform: translateX(-42px);
}

.side-reveal.right {
  transform: translateX(42px);
}

.side-reveal.is-visible {
  opacity: 0.95;
  transform: translateX(0);
}

.about-corner-icon {
  object-fit: contain;
}

.marquee-track {
  will-change: transform;
}

.marquee-card {
  appearance: none;
  cursor: zoom-in;
  flex: 0 0 auto;
  width: clamp(360px, 32vw, 520px);
  aspect-ratio: 16 / 10;
  border-radius: 1.75rem;
  overflow: hidden;
  border: 1px solid rgba(0, 209, 114, 0.25);
  background:
    radial-gradient(circle at top, rgba(0, 209, 114, 0.2), transparent 45%),
    #141414;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 209, 114, 0.1);
}

.lupa-top-nav {
  flex-wrap: wrap;
}

.lupa-top-nav a,
.lupa-top-nav button {
  flex: 1 1 calc(50% - 0.5rem);
  justify-content: center;
  text-align: center;
}

.marquee-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  place-items: center;
  padding: 1.25rem;
}

.portfolio-gallery-modal.is-open {
  display: grid;
}

.portfolio-gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
}

.portfolio-gallery-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 1100px);
  height: min(90vh, 800px);
}

.portfolio-gallery-dialog img {
  max-width: calc(100% - 7rem);
  max-height: 100%;
  border: 1px solid rgba(var(--accent-rgb), 0.45);
  border-radius: 1rem;
  object-fit: contain;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}

.portfolio-gallery-close,
.portfolio-gallery-arrow {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(12, 12, 12, 0.78);
  color: #ffffff;
  font-size: 1.5rem;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.portfolio-gallery-close:hover,
.portfolio-gallery-arrow:hover {
  border-color: rgba(var(--accent-rgb), 0.7);
  background: rgba(var(--accent-rgb), 0.22);
  transform: scale(1.05);
}

.portfolio-gallery-close {
  top: 0.5rem;
  right: 0.5rem;
}

.portfolio-gallery-arrow--previous {
  left: 0.5rem;
}

.portfolio-gallery-arrow--next {
  right: 0.5rem;
}

.wordpress-maintenance-section {
  background: #ffffff;
  color: #101010;
  border-radius: 60px 60px 0 0;
  padding: 5.5rem 1.25rem 6rem;
}

.wordpress-maintenance-inner {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.wordpress-maintenance-heading {
  max-width: 760px;
}

.wordpress-maintenance-eyebrow {
  margin: 0 0 0.8rem;
  color: #008b48;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.wordpress-maintenance-heading h2 {
  margin: 0;
  color: #101010;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.wordpress-maintenance-intro {
  max-width: 650px;
  margin: 1.4rem 0 0;
  color: rgba(16, 16, 16, 0.62);
  font-size: 1.05rem;
  line-height: 1.65;
}

.maintenance-billing {
  display: inline-grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2.2rem;
  padding: 0.3rem;
  border: 1px solid rgba(0, 139, 72, 0.22);
  border-radius: 999px;
  background: #f2fbf6;
}

.maintenance-billing-button {
  min-width: 8rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  padding: 0.75rem 1.15rem;
  color: #38634d;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.maintenance-billing-button:hover,
.maintenance-billing-button.is-active {
  background: #00d172;
  color: #062c1a;
  box-shadow: 0 8px 20px rgba(0, 209, 114, 0.2);
}

.maintenance-offer {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 800px;
  margin: 2.2rem 0 2.5rem;
  border: 1px solid rgba(0, 139, 72, 0.24);
  border-left: 5px solid #00d172;
  border-radius: 1rem;
  background: linear-gradient(110deg, #e9fff2, #f8fffb);
  padding: 1rem 1.25rem;
  box-shadow: 0 18px 40px rgba(0, 139, 72, 0.1);
}

.maintenance-offer .maintenance-offer-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  line-height: 0;
  border-radius: 50%;
  background: #00d172;
  color: #062c1a;
}

.maintenance-offer-icon svg {
  display: block;
  width: 1.45rem;
  height: 1.45rem;
}

.maintenance-offer strong,
.maintenance-offer span {
  display: block;
}

.maintenance-offer strong {
  color: #000000;
  font-size: 1.05rem;
}

.maintenance-gift-highlight {
  display: inline-block !important;
  color: #00d172 !important;
  font-size: 1.16em;
  font-weight: 900;
  letter-spacing: 0.02em;
  animation: maintenance-gift-pulse 1.8s ease-in-out infinite;
}

@keyframes maintenance-gift-pulse {
  0%,
  100% {
    transform: scale(1);
    text-shadow: 0 0 0 rgba(0, 209, 114, 0);
  }

  50% {
    transform: scale(1.06);
    text-shadow: 0 0 14px rgba(0, 209, 114, 0.42);
  }
}

@media (prefers-reduced-motion: reduce) {
  .maintenance-gift-highlight {
    animation: none;
  }
}

.maintenance-offer div span {
  margin-top: 0.25rem;
  color: rgba(16, 16, 16, 0.62);
  font-size: 0.92rem;
}

.service-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.service-tab-button {
  border: 1px solid rgba(0, 139, 72, 0.2);
  border-radius: 999px;
  background: #f2fbf6;
  color: #38634d;
  padding: 0.8rem 1.1rem;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.service-tab-button:hover,
.service-tab-button.is-active {
  background: #00d172;
  color: #062c1a;
  box-shadow: 0 8px 20px rgba(0, 209, 114, 0.2);
  transform: translateY(-1px);
}

.service-tab-panel {
  display: none;
  margin-top: 2.2rem;
}

.service-tab-panel.is-active {
  display: block;
}

.service-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.social-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-tier-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  border: 1px solid rgba(0, 139, 72, 0.16);
  border-radius: 1.25rem;
  background: linear-gradient(180deg, #f7faf8 0%, #f0f7f3 100%);
  padding: 1.45rem;
  box-shadow: 0 18px 40px rgba(16, 16, 16, 0.08);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.service-tier-card:hover,
.service-tier-card.is-featured {
  transform: translateY(-4px);
  border-color: rgba(0, 209, 114, 0.65);
  box-shadow: 0 25px 55px rgba(0, 139, 72, 0.16);
}

.service-tier-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.service-tier-header h3 {
  margin: 0;
  color: #101010;
  font-size: 1.5rem;
  font-weight: 800;
}

.service-tier-price {
  color: #008b48;
  font-size: 1.9rem;
  font-weight: 900;
}

.service-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.service-manual-columns {
  margin-top: 1.5rem;
}

.service-detail-block {
  margin-top: 0;
  border: 1px solid rgba(0, 139, 72, 0.14);
  border-radius: 1rem;
  background: linear-gradient(180deg, #f7faf8 0%, #f1f9f4 100%);
  padding: 1.3rem 1.35rem;
  box-shadow: 0 12px 28px rgba(16, 16, 16, 0.04);
}

.service-package-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid rgba(0, 139, 72, 0.12);
  background: linear-gradient(180deg, #f9fdfb 0%, #f1f8f4 100%);
  padding: 1.4rem 1.35rem;
  box-shadow: 0 16px 34px rgba(12, 56, 36, 0.05);
}

.service-package-card--featured {
  border-color: rgba(0, 209, 114, 0.38);
  background: linear-gradient(180deg, #f2fff7 0%, #edfaf2 100%);
}

.service-package-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.service-package-kicker {
  margin: 0 0 0.35rem;
  color: #008b48;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-package-header h4,
.service-manual-intro,
.service-manual-eyebrow {
  margin: 0;
  color: #101010;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.service-package-summary,
.service-manual-note {
  margin: 0 0 1rem;
  color: rgba(16, 16, 16, 0.7);
  line-height: 1.7;
}

.service-package-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(0, 209, 114, 0.1);
  color: #0d5f34;
  padding: 0.38rem 0.7rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-package-badge--featured {
  background: rgba(0, 139, 72, 0.12);
  color: #006a39;
}

.service-detail-block h4,
.service-manual-eyebrow,
.service-manual-intro {
  margin: 0 0 0.8rem;
  color: #101010;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-detail-block p {
  margin: 0;
  color: rgba(16, 16, 16, 0.68);
  line-height: 1.7;
}

.service-detail-list {
  display: grid;
  gap: 0.55rem;
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
  color: rgba(16, 16, 16, 0.76);
  line-height: 1.6;
}

.service-cta-box {
  margin-top: 2rem;
  border-left: 5px solid #00d172;
  border-radius: 1rem;
  background: linear-gradient(110deg, #e9fff2, #f8fffb);
  padding: 1rem 1.2rem;
  box-shadow: 0 14px 30px rgba(0, 139, 72, 0.08);
}

.service-cta-box strong {
  display: block;
  color: #101010;
  font-size: 1.05rem;
}

.service-cta-box p {
  margin: 0.4rem 0 0;
  color: rgba(16, 16, 16, 0.68);
}

.service-manual-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(0, 139, 72, 0.14);
  border-radius: 1rem;
  background: linear-gradient(135deg, #f6fbf8 0%, #eefaf4 100%);
  box-shadow: 0 12px 28px rgba(16, 16, 16, 0.04);
}

.service-manual-hero h3 {
  margin: 0;
  color: #101010;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.service-manual-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
}

.service-manual-price {
  color: #008b48;
  font-size: 2.3rem;
  font-weight: 900;
}

.service-manual-tag {
  border: 1px solid rgba(0, 139, 72, 0.14);
  border-radius: 999px;
  background: rgba(0, 209, 114, 0.08);
  color: #0d5f34;
  padding: 0.35rem 0.7rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-manual-card {
  min-height: 100%;
  border-color: rgba(0, 139, 72, 0.12);
}

.service-manual-card--highlight {
  background: linear-gradient(180deg, #f3fff8 0%, #ebf9f0 100%);
}

.maintenance-plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .maintenance-plans,
  .service-plan-grid,
  .social-grid,
  .service-two-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .maintenance-plans,
  .service-plan-grid,
  .social-grid,
  .service-two-column {
    grid-template-columns: 1fr;
  }
}

.maintenance-plan-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  border: 1px solid rgba(0, 139, 72, 0.16);
  border-radius: 1.25rem;
  background: #f7faf8;
  padding: 1.45rem;
  box-shadow: 0 20px 45px rgba(16, 16, 16, 0.1);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.maintenance-plan-card:hover,
.maintenance-plan-card.is-featured {
  transform: translateY(-5px);
  border-color: rgba(0, 209, 114, 0.65);
  box-shadow: 0 25px 55px rgba(0, 139, 72, 0.16);
}

.maintenance-plan-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.maintenance-plan-number {
  color: #008b48;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.maintenance-plan-badge {
  border: 1px solid rgba(0, 139, 72, 0.2);
  border-radius: 999px;
  background: rgba(0, 209, 114, 0.1);
  padding: 0.35rem 0.6rem;
  color: #00713b;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.maintenance-plan-card h3 {
  margin: 1.3rem 0 0;
  color: #101010;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
}

.maintenance-plan-summary {
  min-height: 3.2rem;
  margin: 0.8rem 0 0;
  color: rgba(16, 16, 16, 0.58);
  font-size: 0.88rem;
  line-height: 1.5;
}

.maintenance-features {
  display: grid;
  gap: 0.65rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
  color: rgba(16, 16, 16, 0.76);
  font-size: 0.84rem;
  line-height: 1.35;
}

.maintenance-features li {
  display: flex;
  gap: 0.5rem;
}

.maintenance-features li::before {
  content: "✓";
  flex: 0 0 auto;
  color: #00a957;
  font-weight: 900;
}

.maintenance-price-area {
  margin-top: 1.8rem;
  border-top: 1px solid rgba(0, 139, 72, 0.14);
  padding-top: 1.15rem;
}

.maintenance-period-label,
.maintenance-savings {
  display: block;
  color: rgba(16, 16, 16, 0.48);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.maintenance-price {
  display: block;
  margin-top: 0.2rem;
  color: #008b48;
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
}

.maintenance-savings {
  min-height: 1rem;
  margin-top: 0.5rem;
  color: #008b48;
  letter-spacing: 0.04em;
  text-transform: none;
}

.maintenance-request-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 1rem;
  border: 1px solid rgba(0, 139, 72, 0.35);
  border-radius: 999px;
  background: #00d172;
  padding: 0.75rem 1rem;
  color: #062c1a;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.maintenance-request-button:hover {
  background: #47ffa7;
  box-shadow: 0 12px 25px rgba(0, 209, 114, 0.25);
  transform: translateY(-2px);
}

.lupa-footer {
  background:
    radial-gradient(circle at 10% 0%, rgba(0, 209, 114, 0.12), transparent 32%),
    #0c0c0c;
  color: #d7e2ea;
  padding: 4.5rem 1.25rem 1.5rem;
}

.lupa-footer-inner {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.lupa-footer-main {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
}

.lupa-footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  max-width: 580px;
}

.lupa-footer-logo {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  flex: 0 0 auto;
}

.lupa-footer-kicker,
.lupa-footer-label {
  margin: 0;
  color: #00d172;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.lupa-footer-brand h2 {
  margin: 0.7rem 0 0;
  color: #ffffff;
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.lupa-footer-copy {
  max-width: 30rem;
  margin: 1.2rem 0 0;
  color: rgba(215, 226, 234, 0.62);
  font-size: 0.95rem;
  line-height: 1.65;
}

.lupa-footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 3.5rem;
  min-width: 330px;
}

.lupa-footer-links > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.lupa-footer-links a,
.lupa-footer-links button {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(215, 226, 234, 0.72);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  text-align: left;
  transition: color 0.2s ease, transform 0.2s ease;
}

.lupa-footer-links a:hover,
.lupa-footer-links button:hover {
  color: #00d172;
  transform: translateX(3px);
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.footer-social-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(var(--accent-rgb), 0.3) !important;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--accent) !important;
  transform: none !important;
}

.footer-social-link:hover {
  border-color: var(--accent) !important;
  background: rgba(var(--accent-rgb), 0.2);
  color: var(--accent-light) !important;
  transform: translateY(-2px) !important;
}

.footer-social-link svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-social-links--upa .footer-social-link {
  border-color: rgba(249, 113, 3, 0.35) !important;
  background: rgba(249, 113, 3, 0.1);
  color: #f97103 !important;
}

.footer-social-links--upa .footer-social-link:hover {
  border-color: #f97103 !important;
  background: rgba(249, 113, 3, 0.2);
  color: #ffb86d !important;
}

.lupa-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  color: rgba(215, 226, 234, 0.42);
  font-size: 0.75rem;
}

.lupa-footer-bottom a {
  color: #00d172;
  transition: color 0.2s ease;
}

.lupa-footer-bottom a:hover {
  color: #47ffa7;
}

@media (max-width: 767px) {
  .lupa-footer {
    padding: 3.5rem 1rem 1.25rem;
  }

  .lupa-footer-main {
    flex-direction: column;
    gap: 2.5rem;
  }

  .lupa-footer-brand {
    gap: 0.8rem;
  }

  .lupa-footer-logo {
    width: 3.2rem;
    height: 3.2rem;
  }

  .lupa-footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    min-width: 0;
  }

  .lupa-footer-bottom {
    flex-direction: column;
    gap: 0.7rem;
    margin-top: 2.5rem;
  }
}

.magnet-wrap {
  transform: translate3d(0, 0, 0);
  transition: transform 0.18s ease-out;
  will-change: transform;
  pointer-events: none;
}

.portrait-shell {
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  width: min(80vw, 42vw);
  max-width: 100%;
  box-sizing: border-box;
}

.portrait-shell::after {
  content: none;
}

.portrait-shell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 28px 54px rgba(0, 0, 0, 0.36)) drop-shadow(0 0 36px rgba(0, 209, 114, 0.1));
  will-change: transform;
}

.letter {
  display: inline-block;
  opacity: 0.2;
  transition: opacity 0.2s linear;
}

.service-item {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--service-delay, 0s);
}

.service-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.project-showcase {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.project-nav {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.project-nav-button {
  width: 100%;
  border-radius: 1.4rem;
  border: 1px solid rgba(var(--accent-rgb), 0.16);
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem 1.05rem;
  text-align: left;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.project-nav-button:hover {
  transform: translateX(4px);
  border-color: rgba(var(--accent-rgb), 0.35);
}

.project-nav-button.is-active {
  border-color: rgba(var(--accent-rgb), 0.55);
  background:
    linear-gradient(135deg, rgba(var(--accent-rgb), 0.16), rgba(255, 255, 255, 0.02) 68%),
    rgba(255, 255, 255, 0.03);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3), 0 0 24px rgba(var(--accent-rgb), 0.1);
}

.project-nav-number {
  font-size: 0.8rem;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(0, 209, 114, 0.72);
}

.project-nav-title {
  margin-top: 0.55rem;
  font-size: 1.5rem;
  line-height: 1.1;
  font-weight: 600;
  color: #d7e2ea;
}

.project-nav-meta {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(215, 226, 234, 0.55);
}

.project-panel-stage {
  position: relative;
  min-height: 0;
  transition: height 0.35s ease;
  overflow: visible;
}

.project-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  pointer-events: none;
  transition:
    opacity 0.38s ease,
    transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: visible;
}

.project-panel.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.project-panel-card {
  overflow: hidden;
  transition:
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  overflow: visible;
}

.project-panel.is-active .project-panel-card {
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), 0 0 40px rgba(0, 209, 114, 0.11);
}

.project-headline {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
}

.project-number {
  font-size: clamp(4rem, 9vw, 5.75rem);
  line-height: 0.82;
  letter-spacing: -0.08em;
  font-weight: 900;
  color: #e8f2f7;
}

.project-kicker {
  font-size: 0.78rem;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(0, 209, 114, 0.68);
}

.project-title {
  margin-top: 0.65rem;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.1;
  color: #d7e2ea;
  font-weight: 500;
}

.project-grid-image {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  border-radius: 1.5rem;
  border: 1px solid rgba(0, 209, 114, 0.22);
}

.automation-carousel {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--accent-rgb), 0.5) rgba(255, 255, 255, 0.06);
  padding-bottom: 0.8rem;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.automation-carousel::-webkit-scrollbar {
  height: 8px;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #00D172;
  border: 1px solid rgba(0, 209, 114, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
  backdrop-filter: blur(6px);
}

.carousel-arrow--prev {
  left: 10px;
}

.carousel-arrow--next {
  right: 10px;
}

.automation-carousel::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

.automation-carousel::-webkit-scrollbar-thumb {
  background: rgba(0, 209, 114, 0.48);
  border-radius: 999px;
}

.automation-track {
  display: flex;
  gap: 1rem;
  width: 200%;
  min-width: 100%;
}

.automation-card {
  flex: 0 0 min(86vw, 21rem);
  scroll-snap-align: start;
  border-radius: 1.75rem;
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  background:
    radial-gradient(circle at top right, rgba(var(--accent-rgb), 0.14), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    #111111;
  padding: 1.4rem;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.34);
}

.automation-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.automation-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  background:
    radial-gradient(circle at top, rgba(var(--accent-rgb), 0.28), transparent 55%),
    rgba(255, 255, 255, 0.04);
  color: #d8ffe9;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 10px 30px rgba(0, 0, 0, 0.24);
}

.automation-icon-badge svg {
  width: 1.45rem;
  height: 1.45rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.automation-impact {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 12rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  background: rgba(var(--accent-rgb), 0.08);
  padding: 0.55rem 0.8rem;
  font-size: 0.72rem;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b7ffd8;
}

.automation-impact svg {
  width: 0.9rem;
  height: 0.9rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  flex: 0 0 auto;
}

.automation-card-title {
  margin-top: 1rem;
  font-size: 1.35rem;
  line-height: 1.05;
  font-weight: 700;
  color: #f1f7fb;
}

.automation-card-copy {
  margin-top: 0.95rem;
  font-size: 0.96rem;
  line-height: 1.65;
  color: rgba(215, 226, 234, 0.84);
}

.automation-points {
  margin-top: 1.15rem;
  display: grid;
  gap: 0.75rem;
}

.automation-point {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(215, 226, 234, 0.76);
}

.automation-point-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  margin-top: 0.05rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(0, 209, 114, 0.1);
  color: #94f7c2;
  box-shadow: inset 0 0 0 1px rgba(0, 209, 114, 0.15);
}

.automation-point-icon svg {
  width: 0.85rem;
  height: 0.85rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.automation-tags {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.automation-tag {
  border-radius: 999px;
  border: 1px solid rgba(0, 209, 114, 0.22);
  background: rgba(0, 209, 114, 0.08);
  padding: 0.45rem 0.7rem;
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #aef8cf;
}

.site-switcher-wrapper {
  margin: 1.5rem auto 0;
  max-width: 86rem;
  padding: 0 1.25rem;
  display: flex;
  justify-content: center;
}

.site-toggle-group {
  display: flex;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.35rem;
  backdrop-filter: blur(12px);
}

.site-toggle-button {
  border: 0;
  background: transparent;
  color: #d7e2ea;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.site-toggle-button:hover {
  transform: translateY(-1px);
}

.site-toggle-button.is-active {
  background: rgba(var(--accent-rgb), 0.15);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  color: #ffffff;
}

.site-toggle-button img {
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
}

.lupa-top-nav {
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.lupa-top-nav a,
.lupa-top-nav button {
  flex: 1 1 auto;
  min-width: 110px;
}

.site-pages {
  overflow: hidden;
}

.site-page {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition:
    opacity 0.35s ease,
    max-height 0.35s ease,
    transform 0.35s ease;
  transform: translateY(16px);
  pointer-events: none;
}

.site-page.is-active {
  max-height: 9999px;
  opacity: 1;
  visibility: visible;
  overflow: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.upa-slider {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  transform: translateX(-50%);
  background: #000;
  overflow: hidden;
}

.upa-slider-track {
  display: flex;
  transition: transform 0.8s ease;
  width: 100%;
  will-change: transform;
}

.upa-slide {
  display: block;
  width: 100%;
  flex: 0 0 100%;
}

.upa-slide img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.upa-slider--mobile {
  display: none;
}

@media (max-width: 767px) {
  .upa-slider--desktop {
    display: none;
  }

  .upa-slider--mobile {
    display: block;
  }
}

.country-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.country-tab:hover {
  background: rgba(255, 255, 255, 0.12);
}

.country-tab.is-active {
  background: rgba(var(--accent-rgb), 0.28);
  border-color: rgba(var(--accent-rgb), 0.45);
}

.country-tab-flag {
  width: 1rem;
  height: 1rem;
  object-fit: contain;
}

body[data-theme="upa"] .contact-button,
body[data-theme="upa"] .live-project-button,
body[data-theme="upa"] .project-nav-button.is-active,
body[data-theme="upa"] .automation-impact,
body[data-theme="upa"] .automation-card,
body[data-theme="upa"] .hero-heading {
  color: var(--accent);
}

@media (min-width: 1024px) {
  .project-showcase {
    grid-template-columns: minmax(230px, 0.8fr) minmax(0, 2fr);
  }

  .project-nav {
    position: sticky;
    top: 112px;
  }

  .automation-card {
    flex-basis: min(31rem, calc(50% - 0.5rem));
  }
}

@media (max-width: 1023px) {
  .project-showcase {
    display: block;
  }

  .project-panel-stage {
    min-height: 0;
  }

  .project-panel {
    position: relative;
    inset: auto;
    display: none;
  }

  .project-panel.is-active {
    display: block;
  }
}

@media (max-width: 767px) {
  .wordpress-maintenance-section {
    padding: 4rem 1rem 4.5rem;
  }

  .maintenance-billing {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    border-radius: 1.25rem;
  }

  .maintenance-billing-button {
    min-width: 0;
    padding: 0.7rem 0.45rem;
    font-size: 0.64rem;
    letter-spacing: 0.08em;
  }

  .maintenance-offer {
    align-items: flex-start;
    padding: 1rem;
  }

  .maintenance-offer strong {
    font-size: 0.94rem;
    line-height: 1.35;
  }

  .maintenance-offer div span {
    font-size: 0.8rem;
  }

  .maintenance-plans {
    grid-template-columns: 1fr;
  }

  .maintenance-plan-card.is-featured,
  .maintenance-plan-card:hover {
    transform: none;
  }

  .site-switcher-wrapper {
    padding: 0 0.75rem;
  }

  .lupa-top-nav {
    gap: 1.25rem;
    flex-wrap: wrap;
  }

  .lupa-top-nav a,
  .lupa-top-nav button {
    flex: 1 1 auto;
    min-width: 120px;
    padding: 0.75rem 0.8rem;
    text-align: center;
  }

  .lupa-top-nav a {
    white-space: nowrap;
  }

  .marquee-card {
    width: min(82vw, 320px);
    aspect-ratio: 4 / 3;
  }

  .project-showcase {
    display: block;
    width: 100%;
    gap: 1.5rem;
  }

  .project-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
    margin-bottom: 1rem;
  }

  .project-nav-button {
    width: 100%;
    padding: 0.95rem 1rem;
    text-align: left;
    font-size: 0.95rem;
    opacity: 0.58;
  }

  .project-nav-button:hover,
  .project-nav-button.is-active {
    transform: none;
  }

  .project-nav-button.is-active {
    border-color: rgba(var(--accent-rgb), 0.55);
    opacity: 1;
  }

  .project-nav-title {
    font-size: 1.1rem;
  }

  .project-nav-meta {
    font-size: 0.95rem;
  }

  .project-nav-number {
    font-size: 0.75rem;
  }

  .project-panel-stage {
    min-height: auto;
    padding-top: 0;
    overflow: visible;
    display: block;
  }

  .project-panel {
    position: relative;
    inset: auto;
    display: none;
    opacity: 0;
    transform: none;
    pointer-events: none;
  }

  .project-panel.is-active {
    display: block;
    opacity: 1;
    pointer-events: auto;
    margin: 0 0 0.7rem;
    padding-top: 0.7rem;
  }

  .project-panel-card {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 1.5rem;
    padding: 1.35rem;
    overflow: visible;
  }

  .project-headline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
    align-items: stretch;
  }

  .project-number {
    font-size: clamp(2.2rem, 12vw, 4rem);
    margin-bottom: 0.5rem;
  }

  .project-kicker {
    font-size: 0.82rem;
    text-align: left;
  }

  .project-title {
    font-size: clamp(1.35rem, 3vw, 1.55rem);
    text-align: left;
  }

  .project-contact-button {
    width: 100%;
    justify-content: center;
    padding: 0.95rem 1.1rem;
    margin-top: 1rem;
  }

  .project-grid-image {
    aspect-ratio: 4 / 3;
  }

  .automation-card {
    flex: 0 0 auto;
    flex-basis: 100%;
    width: 100%;
    max-width: 100%;
  }

  .automation-carousel {
    overflow: visible;
    padding-bottom: 0;
    scroll-snap-type: none;
  }

  .automation-track {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
  }

  .automation-point {
    font-size: 0.92rem;
  }

  .project-series {
    gap: 1rem;
  }

  .portrait-shell {
    width: min(80vw, 420px);
    max-width: min(72vw, 16rem);
    min-width: 12rem;
    height: auto;
  }

  .magnet-wrap {
    position: relative;
  }

  .site-toggle-group {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-toggle-button {
    flex: 1 1 calc(50% - 0.25rem);
    justify-content: center;
    padding: 0.75rem 0.9rem;
    font-size: 0.72rem;
  }

  .floating-quick-actions {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    align-items: stretch;
    gap: 0.65rem;
  }

  .floating-quick-row {
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.65rem;
  }

  .floating-contact-button {
    width: 100%;
    justify-content: center;
  }

  .scroll-top-button {
    align-self: flex-end;
  }

  .contact-modal-dialog {
    max-height: calc(100dvh - 2rem);
    overflow: auto;
    padding: 1rem;
  }

  .contact-form .grid {
    grid-template-columns: 1fr;
  }

  .contact-field input,
  .contact-field select,
  .contact-field textarea {
    padding: 0.8rem 0.9rem;
  }

  .store-cart-sidebar {
    width: min(100%, calc(100vw - 1.25rem));
    right: 0.125rem;
    left: 0.125rem;
    max-width: none;
  }

  .upa-slider {
    min-height: unset;
  }

  .upa-slide,
  .upa-slide img {
    min-height: unset;
  }

  .site-pages {
    overflow: visible;
  }

  .site-page.is-active {
    max-height: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fade-item,
  .side-reveal,
  .service-item,
  .project-card,
  .magnet-wrap,
  .letter,
  .site-page {
    transition: none !important;
  }
}
