:root {
  --color-bg: #ffffff;
  --color-bg-soft: #f5f5f5;
  --color-dark: #222222;
  --color-accent: #cddc39;
  --color-text-main: #222222;
  --color-text-muted: #555555;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: "Noto Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--color-text-main);
  background: var(--color-bg);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

img {
  max-width: 100%;
  display: block;
}

main {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── HEADER ── */

.site-header {
  position: relative;
  padding: 1.75rem 1.5rem 2rem;
  background: linear-gradient(
    180deg,
    var(--color-bg) 0,
    var(--color-bg-soft) 100%
  );
  background-image:
    linear-gradient(180deg, var(--color-bg) 0, var(--color-bg-soft) 100%),
    repeating-linear-gradient(
      -45deg,
      rgba(230, 230, 230, 0.5),
      rgba(230, 230, 230, 0.5) 1px,
      transparent 1px,
      transparent 8px
    );
}

.header-inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 70px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.header-fault-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  background: var(--color-dark);
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.675rem;
  font-weight: 500;
  transition: background-color 200ms ease, transform 160ms ease;
  white-space: nowrap;
}

.header-fault-btn:hover {
  background: #333333;
  transform: translateY(-1px);
}

.header-fault-btn:active {
  transform: translateY(0);
}

.header-fault-btn.header-fault-btn--report {
  background: #c62828;
  color: #ffffff;
}

.header-fault-btn.header-fault-btn--report:hover {
  background: #8b1515;
  color: #ffffff;
}

.header-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.header-logo a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}

.header-logo img {
  height: 70px;
  width: auto;
  max-width: 60vw;
  display: block;
  background: transparent;
  object-fit: contain;
  object-position: center;
}

.header-lang-switch {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  align-items: center;
}

.lang-btn {
  border: none;
  padding: 2px;
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.lang-btn svg {
  display: block;
}

.lang-btn.active,
.lang-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.18);
  background-color: rgba(255, 255, 255, 0.8);
}

.lang-btn:hover {
  transform: translateY(-1px);
}

/* ── HERO ── */

.hero {
  position: relative;
  overflow: hidden;
  padding: 3rem 1.5rem 5rem;
  background: var(--color-bg-soft);
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(230, 230, 230, 0.5),
    rgba(230, 230, 230, 0.5) 1px,
    transparent 1px,
    transparent 8px
  );
  background-size: 280px 280px;
  animation: heroBackgroundDrift 32s linear infinite alternate;
}

.hero-bg-layer {
  display: none;
}

.hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -20%;
  height: 28%;
  background: var(--color-accent);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  z-index: 0;
  transform-origin: 50% 100%;
  animation: accentWave 5s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -48%;
  height: 52%;
  background: var(--color-dark);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  animation: heroContentIn 700ms ease-out forwards;
  opacity: 0;
  transform: translateY(12px);
}

.site-header {
  animation: animotion-premiumFadeDown 620ms ease-out both;
}

.hero-tagline {
  font-family: "Noto Serif", "Times New Roman", serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.9rem, 2.6vw, 2.4rem);
  margin: 0 0 0.75rem;
}

.hero-subtitle {
  font-weight: 400;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  margin: 0;
  color: var(--color-text-muted);
}

/* ── PROFILE ── */

.profile {
  position: relative;
  z-index: 1;
  padding: 1rem 1.5rem 2rem;
  background: var(--color-bg-soft);
}

.profile-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.profile-title {
  font-family: "Noto Serif", "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 2vw, 1.9rem);
  margin: 0 0 1.5rem;
}

.profile-body {
  margin: 0 0 0.75rem;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.profile-emphasis {
  margin-top: 1.25rem;
  font-family: "Noto Serif", "Times New Roman", serif;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ── PAYMENTS PAGE ── */

.payments-page .profile-inner {
  text-align: left;
}

.payments-table-wrap {
  margin: 1.25rem 0 1.5rem;
  overflow-x: auto;
}

.payments-table {
  width: 100%;
  min-width: 320px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.payments-table th,
.payments-table td {
  padding: 0.6rem 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  text-align: left;
}

.payments-table th {
  background: var(--color-dark);
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.payments-table tbody tr:nth-child(even) {
  background: var(--color-bg-soft);
}

.payments-table td {
  color: var(--color-text-main);
  word-break: break-word;
}

.iban-cell {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-wrap: wrap;
}

.iban-value {
  font-variant-numeric: tabular-nums;
}

.iban-copy-btn {
  flex: 0 0 auto;
  padding: 0.2rem 0.5rem;
  border: 1px solid rgba(34, 34, 34, 0.28);
  border-radius: 4px;
  background: #ffffff;
  color: var(--color-dark);
  font-size: 0.68rem;
  font-weight: 500;
  font-family: inherit;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.iban-copy-btn:hover {
  background: var(--color-dark);
  color: #ffffff;
  border-color: var(--color-dark);
}

.iban-copy-btn.is-copied {
  background: var(--brand-accent, #cddc39);
  border-color: var(--brand-accent, #cddc39);
  color: var(--brand-dark, #222222);
}

.payments-subtitle {
  font-family: "Noto Serif", "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(1.25rem, 1.6vw, 1.45rem);
  margin: 2rem 0 0.75rem;
  color: var(--color-text-main);
}

.payments-list {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.payments-list li {
  margin-bottom: 0.6rem;
}

.payments-page .profile-body a {
  color: var(--color-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.payments-page .profile-body a:hover {
  opacity: 0.85;
}

/* ── CONTACT / FOOTER ── */

.contact {
  position: relative;
  padding: 6.5rem 1.5rem 2rem;
  margin-top: -2.75rem;
  background: transparent;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  top: 3.25rem;
  bottom: 0;
  z-index: 0;
  border-radius: 50% 50% 0 0 / 5.5rem 5.5rem 0 0;
  background: var(--color-dark);
}

.contact-curved-bg {
  position: absolute;
  left: -10%;
  right: -10%;
  top: 0;
  height: 5.25rem;
  background: var(--color-accent);
  border-radius: 45% 55% 0 0 / 100% 100% 0 0;
  z-index: 0;
  transform: skewY(-1.5deg);
}

.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  padding: 1.8rem 1.5rem 0;
  color: #f0f0f0;
  background: transparent;
}

.contact-heading {
  margin: 0 0 2.8rem;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
  color: #ffffff;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.2rem;
  row-gap: 0;
  justify-items: start;
  align-items: start;
  align-content: start;
  grid-auto-rows: min-content;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  min-width: 0;
  word-break: break-word;
}

.contact-item--social {
  align-items: flex-start;
}

.contact-item--company {
  grid-column: 1 / -1;
  grid-row: 1;
  margin-bottom: 0.7rem;
}

/* Explicitly place items in grid for proper alignment */
.contact-item:nth-child(2) {
  grid-column: 1;
  grid-row: 2;
  margin-bottom: 0.7rem;
  align-self: start;
}

.contact-item:nth-child(3) {
  grid-column: 2;
  grid-row: 1;
  margin-top: 0;
  margin-bottom: 0.7rem;
  align-self: start;
}

.contact-item:nth-child(4) {
  grid-column: 1;
  grid-row: 3;
  margin-bottom: 0;
  align-self: start;
}

.contact-item:nth-child(5) {
  grid-column: 2;
  grid-row: 2;
  margin-top: 0;
  margin-bottom: 0.7rem;
  align-self: start;
}

.contact-item:nth-child(6) {
  grid-column: 2;
  grid-row: 3;
  margin-top: 0;
  align-self: start;
}

.contact-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
}

.contact-icon svg {
  display: block;
  width: 24px;
  height: 24px;
  color: currentColor;
}

.contact-icon--placeholder {
  opacity: 0;
  pointer-events: none;
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 0.95rem;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.contact-line--primary {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
}

.contact-line a,
a.contact-line {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 1px;
}

.contact-line a:hover,
a.contact-line:hover {
  border-bottom-color: rgba(255, 255, 255, 0.8);
}

.contact-item--social {
  grid-column: 2;
}

.contact-social-icons {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.25rem;
  flex-wrap: wrap;
}

.contact-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(240, 240, 240, 0.22);
  border-radius: 999px;
  color: #f0f0f0;
  background: rgba(255, 255, 255, 0.03);
  transition: color 200ms ease, border-color 200ms ease, background-color 200ms ease, opacity 200ms ease, transform 160ms ease;
}

.contact-social-link:hover {
  color: var(--color-accent);
  border-color: rgba(205, 220, 57, 0.68);
  background: rgba(205, 220, 57, 0.08);
  opacity: 0.95;
  transform: translateY(-1px);
}

.contact-social-link:active {
  transform: translateY(0);
}

.contact-social-link svg {
  display: block;
  width: 20px;
  height: 20px;
}

/* ── SITE FOOTER (inside contact, below contact grid) ── */

.site-footer {
  position: relative;
  z-index: 1;
  padding: 1.25rem 0 1.5rem;
  text-align: center;
  color: #f0f0f0;
}

.footer-line {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 0 auto 0.75rem;
  max-width: 880px;
}

.footer-payments-link {
  display: inline-block;
  font-size: 0.9rem;
}

/* ── ANIMATIONS ── */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
}

.animate-on-scroll.is-visible {
  animation: animotion-scrollFadeInUp 620ms ease-out both;
  animation-delay: var(--anim-delay, 0ms);
}

.contact-item.animate-on-scroll {
  transform: translateY(16px);
}

.contact-item.animate-on-scroll.is-visible {
  animation-duration: 520ms;
}

.payments-table-wrap.animate-on-scroll.is-visible {
  animation-duration: 560ms;
}

@keyframes animotion-premiumFadeDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes animotion-scrollFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes accentWave {
  0%, 100% {
    transform: translateX(-2%);
  }
  50% {
    transform: translateX(2%);
  }
}

@keyframes heroBackgroundDrift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: -60px -40px, -120px -80px;
  }
}

@keyframes heroContentIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
}

/* ── TABLET (max-width: 768px) ── */

@media (max-width: 768px) {
  html {
    scroll-padding-top: 12rem;
  }

  .site-header {
    padding: 1.5rem 1rem 2.5rem;
  }

  .header-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    position: relative;
    min-height: auto;
  }

  .header-actions {
    align-self: flex-start;
    order: 0;
  }

  .header-fault-btn {
    font-size: 0.6rem;
    padding: 0.3rem 0.6rem;
  }

  .header-logo {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    order: 1;
    justify-content: center;
    min-height: auto;
  }

  .header-logo img {
    max-width: 80vw;
  }

  .header-lang-switch {
    align-self: flex-end;
    order: 2;
  }

  .hero {
    padding: 2.4rem 1rem 4rem;
  }

  .hero::after {
    bottom: -42%;
    height: 48%;
  }

  .hero::before {
    bottom: -16%;
    height: 26%;
  }

  .hero-tagline {
    font-size: clamp(1.5rem, 5vw, 2.4rem);
  }

  .hero-subtitle {
    font-size: clamp(0.95rem, 2.8vw, 1.2rem);
  }

  .profile {
    padding: 1rem 1rem 2rem;
  }

  .profile-title {
    font-size: clamp(1.4rem, 4vw, 1.9rem);
  }

  .contact {
    padding: 4rem 1rem 3rem;
  }

  .contact-inner {
    padding: 1.5rem 0.75rem 2.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .contact-item--company,
  .contact-item:nth-child(2),
  .contact-item:nth-child(3),
  .contact-item:nth-child(4),
  .contact-item:nth-child(5),
  .contact-item:nth-child(6) {
    grid-column: 1;
    grid-row: auto;
    margin-bottom: 0.6rem;
  }

  .contact-item--social {
    grid-column: 1;
  }

  .site-footer {
    padding: 1rem 0 1.25rem;
  }
}

/* ── PHONE (max-width: 480px) ── */

@media (max-width: 480px) {
  .site-header {
    padding: 1.25rem 0.75rem 2rem;
  }

  .header-fault-btn {
    font-size: 0.55rem;
    padding: 0.25rem 0.5rem;
  }

  .header-logo img {
    height: 55px;
    max-width: 70vw;
  }

  .hero {
    padding: 2rem 0.75rem 3.5rem;
  }

  .hero-tagline {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
  }

  .hero-subtitle {
    font-size: clamp(0.85rem, 3.5vw, 1rem);
  }

  .profile {
    padding: 0.75rem 0.75rem 1.5rem;
  }

  .profile-title {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
    margin-bottom: 1.25rem;
  }

  .profile-body {
    font-size: 0.9rem;
  }

  .contact {
    padding: 3.5rem 0.75rem 3rem;
  }

  .contact-inner {
    padding: 1.5rem 0.5rem 2rem;
  }

  .contact-heading {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .contact-social-icons {
    gap: 0.5rem;
  }

  .contact-social-link svg {
    width: 22px;
    height: 22px;
  }

  .site-footer {
    padding: 0.75rem 0 1rem;
  }

  .footer-payments-link {
    font-size: 0.85rem;
  }
}

/* ── WALLPAPER-LED REFACTOR ── */

:root {
  --brand-dark: #222222;
  --brand-dark-deep: #151515;
  --brand-accent: #cddc39;
  --brand-green: #9fb72f;
  --brand-green-deep: #4f6418;
  --brand-accent-soft: rgba(205, 220, 57, 0.18);
  --brand-paper: #f5f5f5;
  --brand-line: rgba(34, 34, 34, 0.11);
  --shadow-premium: 0 24px 70px rgba(0, 0, 0, 0.18);
}

body {
  background:
    radial-gradient(circle at 20% 8%, rgba(205, 220, 57, 0.09), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, var(--brand-paper) 42%, var(--brand-dark) 100%);
}

.home-page .site-header,
.payments-body .site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 40;
  background: transparent;
  background-image: none;
  padding-top: 1.35rem;
  color: var(--brand-dark);
  pointer-events: none;
  transition: padding 220ms ease;
}

.home-page .header-inner,
.payments-body .header-inner {
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  pointer-events: auto;
  transition: background-color 220ms ease, box-shadow 220ms ease;
}

.home-page .site-header.is-scrolled,
.payments-body .site-header.is-scrolled {
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.home-page .site-header.is-scrolled .header-inner,
.payments-body .site-header.is-scrolled .header-inner {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.14);
}

.home-page .header-logo img,
.payments-body .header-logo img {
  height: 58px;
}

.hero--wallpaper {
  min-height: clamp(680px, 92vh, 860px);
  padding: 10.5rem 1.5rem 7rem;
  display: grid;
  align-items: center;
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 26%, rgba(205, 220, 57, 0.2), transparent 18rem),
    linear-gradient(115deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.82) 34%, rgba(222, 228, 190, 0.42) 57%, rgba(34, 34, 34, 0.92) 100%),
    var(--brand-dark);
}

.hero--wallpaper > * {
  position: relative;
}

.hero--wallpaper .hero-bg-layer::before {
  content: "";
  position: absolute;
  inset: -42%;
  z-index: 0;
  background: url("wall_2026_4_infodesk.jpg") center / cover no-repeat;
  filter: blur(30px) saturate(0.72) contrast(0.96);
  opacity: 0.24;
  transform: scale(1.28);
  transform-origin: center;
}

.hero--wallpaper .hero-bg-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.34;
  background-image:
    linear-gradient(90deg, transparent 0 58%, rgba(205, 220, 57, 0.2) 58% 59%, transparent 59% 100%),
    linear-gradient(180deg, transparent 0 42%, rgba(34, 34, 34, 0.12) 42% 43%, transparent 43% 100%),
    repeating-linear-gradient(90deg, transparent 0 118px, rgba(34, 34, 34, 0.075) 118px 119px, transparent 119px 240px),
    repeating-linear-gradient(0deg, transparent 0 118px, rgba(34, 34, 34, 0.055) 118px 119px, transparent 119px 240px);
  animation: abstractLinesDrift 18s ease-in-out infinite alternate;
}

.hero--wallpaper::before {
  bottom: -5.5rem;
  height: 13rem;
  background: var(--brand-accent);
  border-radius: 65% 35% 0 0 / 100% 100% 0 0;
  box-shadow: 0 -20px 70px rgba(205, 220, 57, 0.26);
  animation: animotion-accentSwoosh 7s ease-in-out infinite;
}

.hero--wallpaper::after {
  bottom: -11rem;
  height: 18rem;
  background: var(--brand-dark);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.hero-bg-layer {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(34, 34, 34, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 34, 34, 0.16) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.65) 48%, transparent 85%);
  animation: animotion-animatedGrid 8s ease-in-out infinite;
}

.hero-orbit {
  position: absolute;
  right: clamp(1rem, 6vw, 6rem);
  bottom: 11rem;
  width: clamp(170px, 24vw, 330px);
  aspect-ratio: 1;
  border: 1px solid rgba(205, 220, 57, 0.42);
  border-radius: 50%;
  z-index: 1;
  opacity: 0.45;
  animation: animotion-orbitPulse 9s ease-in-out infinite;
}

.hero--wallpaper .hero-content::before,
.hero--wallpaper .hero-content::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(34, 34, 34, 0.12);
  background: rgba(255, 255, 255, 0.12);
  z-index: -1;
}

.hero--wallpaper .hero-content::before {
  width: 52px;
  height: 52px;
  right: -26px;
  top: 18%;
  border-radius: 12px;
  box-shadow: 18px 18px 0 rgba(205, 220, 57, 0.12);
  animation: squareFloatA 9s ease-in-out infinite alternate;
}

.hero--wallpaper .hero-content::after {
  width: 34px;
  height: 34px;
  left: -18px;
  bottom: 16%;
  border-radius: 8px;
  box-shadow: -14px 14px 0 rgba(34, 34, 34, 0.06);
  animation: squareFloatB 11s ease-in-out infinite alternate;
}

.hero-orbit::before,
.hero-orbit::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.hero-orbit::before {
  inset: 16%;
}

.hero-orbit::after {
  inset: 34%;
  background: radial-gradient(circle, rgba(205, 220, 57, 0.24), transparent 62%);
}

.hero-content {
  max-width: 780px;
  margin: 0 auto 0 max(1rem, calc((100vw - 1120px) / 2));
  text-align: left;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-left: 5px solid var(--brand-accent);
  border-radius: 0 28px 28px 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.91), rgba(255, 255, 255, 0.58));
  box-shadow: var(--shadow-premium);
  backdrop-filter: blur(18px);
  animation: animotion-blurReveal 760ms ease-out both;
}

.hero-kicker,
.section-eyebrow {
  margin: 0 0 0.65rem;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-tagline {
  max-width: 12ch;
  font-size: clamp(2.4rem, 5.8vw, 5.7rem);
  line-height: 0.93;
  letter-spacing: -0.055em;
  color: var(--brand-dark);
  margin-bottom: 1.1rem;
}

.hero-subtitle {
  max-width: 36rem;
  color: rgba(34, 34, 34, 0.72);
  font-size: clamp(1rem, 1.6vw, 1.32rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.65rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.hero-cta--primary {
  color: var(--brand-dark);
  background: var(--brand-accent);
  box-shadow: 0 12px 28px rgba(124, 136, 21, 0.2);
}

.hero-cta--secondary {
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(34, 34, 34, 0.14);
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.14);
}

.services-panel {
  position: relative;
  z-index: 2;
  padding: 4.75rem 1.5rem 4.25rem;
  background:
    radial-gradient(circle at 82% 12%, var(--brand-accent-soft), transparent 20rem),
    linear-gradient(180deg, #f8f8f8 0%, #ffffff 100%);
  overflow: hidden;
}

.services-panel::before,
.services-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(34, 34, 34, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  z-index: 0;
}

.services-panel::before {
  width: 64px;
  height: 64px;
  right: clamp(1rem, 8vw, 7rem);
  top: 3.3rem;
  box-shadow: 24px 22px 0 rgba(205, 220, 57, 0.12);
  animation: squareFloatA 12s ease-in-out infinite alternate;
}

.services-panel::after {
  width: 42px;
  height: 42px;
  left: clamp(1rem, 7vw, 6rem);
  bottom: 3.5rem;
  border-radius: 10px;
  box-shadow: -18px 18px 0 rgba(34, 34, 34, 0.045);
  animation: squareFloatB 13s ease-in-out infinite alternate;
}

.services-inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
}

.section-heading {
  max-width: 690px;
  margin-bottom: 1.75rem;
}

.section-heading h2 {
  margin: 0;
  font-family: "Noto Serif", "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  position: relative;
  min-height: 250px;
  padding: 1.3rem;
  overflow: hidden;
  border: 1px solid var(--brand-line);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(245, 245, 245, 0.88)),
    repeating-linear-gradient(-45deg, rgba(34, 34, 34, 0.035), rgba(34, 34, 34, 0.035) 1px, transparent 1px, transparent 9px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -34% 18%;
  height: 50%;
  border-radius: 999px;
  background: rgba(205, 220, 57, 0.18);
  filter: blur(18px);
  transform: rotate(-8deg);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(205, 220, 57, 0.66);
  box-shadow: 0 0 30px rgba(205, 220, 57, 0.2), 0 22px 46px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 16px;
  color: var(--brand-dark);
  background: var(--brand-accent);
  box-shadow: 0 10px 24px rgba(124, 136, 21, 0.22);
}

.service-icon svg {
  width: 25px;
  height: 25px;
}

.service-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 0.55rem;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.service-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

.profile {
  position: relative;
  overflow: hidden;
  padding-top: 4rem;
  padding-bottom: 4.5rem;
  background:
    linear-gradient(180deg, #ffffff 0%, var(--brand-paper) 100%);
}

.profile::before,
.profile::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(34, 34, 34, 0.075);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.2);
}

.profile::before {
  width: 76px;
  height: 76px;
  left: max(1rem, calc((100vw - 1040px) / 2));
  top: 2.25rem;
  box-shadow: 28px 28px 0 rgba(205, 220, 57, 0.1);
  animation: squareFloatB 14s ease-in-out infinite alternate;
}

.profile::after {
  width: 40px;
  height: 40px;
  right: max(1rem, calc((100vw - 1040px) / 2));
  bottom: 2.3rem;
  border-radius: 9px;
  box-shadow: 16px -16px 0 rgba(34, 34, 34, 0.04);
  animation: squareFloatA 10s ease-in-out infinite alternate;
}

.profile-inner {
  position: relative;
  z-index: 1;
  padding: clamp(1.35rem, 3vw, 2.4rem);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
}

.contact {
  margin-top: 0;
  background:
    radial-gradient(circle at 15% 5%, rgba(205, 220, 57, 0.16), transparent 18rem),
    linear-gradient(180deg, var(--brand-dark) 0%, var(--brand-dark-deep) 100%);
}

.contact-curved-bg {
  background: var(--brand-dark);
}

.contact-icon {
  color: var(--brand-accent);
}

.contact-inner::before,
.contact-inner::after,
.site-footer::before,
.site-footer::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(205, 220, 57, 0.12);
  background: rgba(0, 0, 0, 0.16);
  opacity: 0.72;
}

.contact-inner::before {
  width: 54px;
  height: 54px;
  right: -1.5rem;
  top: 0.4rem;
  border-radius: 13px;
  box-shadow: 20px 20px 0 rgba(0, 0, 0, 0.12);
  animation: squareFloatA 12s ease-in-out infinite alternate;
}

.contact-inner::after {
  width: 34px;
  height: 34px;
  left: -1rem;
  bottom: 0.25rem;
  border-radius: 8px;
  box-shadow: -14px 14px 0 rgba(205, 220, 57, 0.07);
  animation: squareFloatB 10s ease-in-out infinite alternate;
}

.site-footer::before {
  width: 42px;
  height: 42px;
  left: max(1rem, calc((100vw - 880px) / 2));
  top: 0.7rem;
  border-radius: 10px;
  animation: squareFloatA 13s ease-in-out infinite alternate;
}

.site-footer::after {
  width: 26px;
  height: 26px;
  right: max(1rem, calc((100vw - 880px) / 2));
  bottom: 1rem;
  border-radius: 7px;
  animation: squareFloatB 11s ease-in-out infinite alternate;
}

.payments-hero {
  position: relative;
  overflow: hidden;
  padding: 10.5rem 1.5rem 5rem;
  background:
    radial-gradient(circle at 80% 18%, rgba(205, 220, 57, 0.2), transparent 18rem),
    linear-gradient(115deg, rgba(255, 255, 255, 0.94), rgba(245, 245, 245, 0.82) 45%, rgba(34, 34, 34, 0.86)),
    var(--brand-dark);
}

.payments-hero::before {
  content: "";
  position: absolute;
  inset: -42%;
  background: url("wall_2026_4_infodesk.jpg") center / cover no-repeat;
  filter: blur(30px) saturate(0.72) contrast(0.96);
  opacity: 0.2;
  transform: scale(1.28);
  transform-origin: center;
}

.payments-hero::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -4rem;
  height: 7rem;
  border-radius: 55% 45% 0 0 / 100% 100% 0 0;
  background: var(--brand-accent);
  animation: animotion-accentSwoosh 7s ease-in-out infinite;
}

.payments-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border-left: 5px solid var(--brand-accent);
  border-radius: 0 26px 26px 0;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-premium);
  backdrop-filter: blur(16px);
  animation: animotion-blurReveal 720ms ease-out both;
}

.payments-hero h1 {
  margin: 0 0 0.55rem;
  font-family: "Noto Serif", "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.payments-hero p:last-child {
  margin: 0;
  color: rgba(34, 34, 34, 0.72);
}

@keyframes animotion-animatedGrid {
  0%, to {
    background-size: 44px 44px;
    opacity: 0.2;
  }
  50% {
    background-size: 52px 52px;
    opacity: 0.34;
  }
}

@keyframes abstractLinesDrift {
  from {
    transform: translateY(-8px);
    opacity: 0.26;
  }
  to {
    transform: translateY(8px);
    opacity: 0.4;
  }
}

@keyframes squareFloatA {
  from {
    transform: translateY(-6px) rotate(0deg);
  }
  to {
    transform: translateY(8px) rotate(5deg);
  }
}

@keyframes squareFloatB {
  from {
    transform: translateY(8px) rotate(0deg);
  }
  to {
    transform: translateY(-8px) rotate(-6deg);
  }
}

@keyframes animotion-blurReveal {
  from {
    opacity: 0;
    filter: blur(20px);
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes animotion-accentSwoosh {
  0%, to {
    transform: translateX(-2%) skewX(-7deg);
  }
  50% {
    transform: translateX(2%) skewX(-3deg);
  }
}

@keyframes animotion-orbitPulse {
  0%, to {
    transform: scale(0.96) rotate(0deg);
    opacity: 0.28;
  }
  50% {
    transform: scale(1.04) rotate(16deg);
    opacity: 0.52;
  }
}

@media (max-width: 960px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-content {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .home-page .site-header,
  .payments-body .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    padding: 1rem;
    background: var(--brand-paper);
    pointer-events: auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  }

  .home-page .header-inner,
  .payments-body .header-inner {
    border-radius: 24px;
  }

  .payments-hero {
    padding: 13rem 1rem 5rem;
  }

  .hero--wallpaper {
    min-height: 640px;
    padding: 13rem 1rem 5.25rem;
  }

  .hero-content {
    border-left-width: 4px;
    border-radius: 0 22px 22px 0;
  }
}

@media (max-width: 560px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-cta {
    width: 100%;
  }

  .service-card {
    min-height: auto;
  }
}

/* ── FINAL RESPONSIVE / TRANSITION TUNING ── */

.hero-tagline {
  max-width: 13.5ch;
  font-size: clamp(2.05rem, 4.8vw, 4.65rem);
}

.contact {
  padding: 6.5rem 1.5rem 2rem;
  margin-top: -2.75rem;
  background: transparent;
}

.contact::before {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  top: 2.6rem;
  bottom: 0;
  z-index: 0;
  border-radius: 50% 50% 0 0 / 5.5rem 5.5rem 0 0;
  background:
    radial-gradient(ellipse at 24% 0%, rgba(159, 183, 47, 0.32), transparent 22rem),
    radial-gradient(ellipse at 74% 2%, rgba(79, 100, 24, 0.24), transparent 18rem),
    linear-gradient(180deg, #263015 0%, var(--brand-dark) 24%, var(--brand-dark-deep) 100%);
}

.contact-curved-bg {
  top: 0;
  height: 8rem;
  background:
    linear-gradient(180deg, rgba(245, 245, 245, 0) 0%, rgba(159, 183, 47, 0.18) 26%, rgba(159, 183, 47, 0.4) 52%, rgba(38, 48, 21, 0.95) 100%),
    radial-gradient(ellipse at 50% 100%, rgba(205, 220, 57, 0.56), transparent 56%);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: none;
  box-shadow: none;
}

@media (max-width: 960px) {
  .hero-tagline {
    max-width: 15ch;
    font-size: clamp(2rem, 7vw, 3.8rem);
  }
}

@media (max-width: 768px) {
  .hero--wallpaper {
    min-height: auto;
    padding: 13rem 1rem 5rem;
  }

  .hero-content,
  .payments-hero-inner {
    width: 100%;
    padding: 1.35rem;
  }

  .hero-tagline {
    max-width: 100%;
    font-size: clamp(1.85rem, 9vw, 3rem);
    line-height: 1;
  }

  .services-panel,
  .profile {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .contact {
    padding: 5.75rem 1rem 2.5rem;
    margin-top: -2rem;
  }

  .contact::before {
    top: 3rem;
    border-radius: 50% 50% 0 0 / 4.25rem 4.25rem 0 0;
  }

  .contact-curved-bg {
    height: 7rem;
  }

  .services-panel::before,
  .profile::before,
  .contact-inner::before,
  .site-footer::before {
    opacity: 0.45;
    transform: scale(0.78);
  }

  .services-panel::after,
  .profile::after,
  .contact-inner::after,
  .site-footer::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-content,
  .payments-hero-inner,
  .profile-inner {
    border-radius: 0 18px 18px 0;
  }

  .hero-tagline {
    font-size: clamp(1.65rem, 10vw, 2.45rem);
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .payments-hero {
    padding: 13rem 0.75rem 4.25rem;
  }

  .payments-table {
    font-size: 0.8rem;
  }

  .services-panel::before,
  .profile::before,
  .contact-inner::before,
  .site-footer::before {
    display: none;
  }
}
