:root {
  --theme-blue: #274c77;
  --theme-blue-dark: #1b3554;
  --theme-blue-deep: #172a42;
  --theme-blue-light: #6096ba;
  --theme-blue-soft: #a3cef1;
  --theme-bg-soft: #e7ecef;
  --theme-bg-light: #f4f7f9;
  --theme-white: #ffffff;
  --text-dark: #333333;
  --text-heading: #2b3a4a;
  --text-body: #555555;
  --text-muted: #7a7a7a;
  --border-light: #e1e7ec;
  --font-heading: 'Poppins', sans-serif;
  --font-subtitle: 'Questrial', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--theme-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

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

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--theme-blue-light);
  outline-offset: 3px;
}

::selection {
  background-color: var(--theme-blue);
  color: #ffffff;
}

.site-container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.topbar {
  background-color: var(--theme-blue);
  color: var(--theme-white);
  font-size: 13px;
  padding: 8px 0;
}

.topbar .site-container {
  display: flex;
  align-items: center;
  gap: 30px;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #f0f4f8;
}

.topbar a:hover {
  color: #ffffff;
}

.navbar {
  background-color: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #f0f0f0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 18px rgba(23, 42, 66, 0.07);
}

.navbar .site-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  position: relative;
}

.logo-wrapper {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--theme-blue);
  letter-spacing: 0.5px;
  line-height: 1.15;
}

.brand-tag {
  font-family: var(--font-subtitle);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-item a {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  color: var(--theme-blue);
  padding: 8px 0;
  position: relative;
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--theme-blue-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.nav-item a:hover::after {
  transform: scaleX(1);
}

.nav-item.active a::after {
  background-color: var(--theme-blue);
  transform: scaleX(1);
}

.nav-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--theme-blue);
  color: var(--theme-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.social-circle:hover {
  background-color: var(--theme-blue);
  color: var(--theme-white);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--theme-blue);
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
}

.btn-pill {
  display: inline-block;
  background-color: var(--theme-blue-soft);
  color: var(--theme-blue);
  font-family: var(--font-subtitle);
  font-size: 18px;
  padding: 10px 34px;
  border: 1px solid var(--theme-blue);
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s var(--ease-out);
}

.btn-pill:hover {
  background-color: var(--theme-blue);
  color: var(--theme-white);
}

.btn-pill:active {
  transform: scale(0.98);
}

.btn-pill:disabled {
  opacity: 0.6;
  cursor: wait;
}

.hero-original {
  position: relative;
  background: linear-gradient(135deg, #8f745b 0%, #9c8067 45%, #947860 100%);
  overflow: hidden;
  color: #ffffff;
}

.hero-original .site-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 20px 0;
  min-height: 520px;
}

.hero-left {
  padding: 20px 0;
  max-width: 500px;
}

.hero-subtitle {
  font-family: var(--font-subtitle);
  font-size: 26px;
  color: #ffffff;
  font-weight: 500;
  margin-bottom: 8px;
  display: inline-block;
  min-height: 1.3em;
}

.hero-subtitle.is-typing::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 0.9em;
  background-color: #ffffff;
  margin-left: 4px;
  vertical-align: -1px;
  animation: cursorBlink 0.6s infinite;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-name {
  font-family: var(--font-heading);
  font-size: 62px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 28px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  animation: heroTextFade 0.7s var(--ease-out) 0.35s both;
}

.hero-left .btn-pill {
  background-color: #8bb9e6;
  color: #173252;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  animation: heroTextFade 0.7s var(--ease-out) 0.6s both;
}

.hero-left .btn-pill:hover {
  background-color: #ffffff;
  color: #173252;
  transform: translateY(-2px);
}

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

.hero-right {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  max-width: 500px;
  width: 48%;
  align-self: flex-end;
  animation: heroPhotoEntrance 0.8s var(--ease-out) both;
}

.hero-right img {
  display: block;
  max-height: 520px;
  width: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.subpage-hero {
  position: relative;
  background: linear-gradient(135deg, var(--theme-blue-deep) 0%, var(--theme-blue) 100%);
  color: #ffffff;
  padding: 48px 0 54px;
  overflow: hidden;
}

.subpage-hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  min-height: 480px;
}

.subpage-hero-content {
  flex: 1;
  max-width: 580px;
  animation: heroContentEntrance 0.8s var(--ease-out) 0.25s both;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.subpage-hero-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--theme-blue-soft);
  margin-bottom: 12px;
}

.subpage-hero-title {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.18;
  margin-bottom: 16px;
}

.subpage-hero-desc {
  font-size: 18px;
  line-height: 1.6;
  color: #e2e8f0;
  margin-bottom: 28px;
  max-width: 520px;
}

.subpage-hero-btn {
  display: inline-block;
  background-color: var(--theme-blue-soft);
  color: var(--theme-blue-dark);
  font-family: var(--font-subtitle);
  font-size: 17px;
  font-weight: 600;
  padding: 12px 34px;
  border-radius: 30px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.subpage-hero-btn:hover {
  background-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.subpage-hero-media {
  flex: 0 0 460px;
  height: 480px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  animation: heroPhotoEntrance 0.9s var(--ease-out) 0.05s both;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.subpage-hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-uslugi {
  object-position: center 20%;
}

.photo-kontakt {
  object-position: center 18%;
}

.section-block {
  padding: 70px 0;
}

.section-block-alt {
  background-color: #f7f9fa;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 12px;
}

.section-divider {
  width: 60px;
  height: 3px;
  background-color: var(--theme-blue);
  margin: 0 auto 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card-service {
  background: var(--theme-white);
  border: 1px solid #e5e9ec;
  border-radius: 6px;
  padding: 35px 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.services-cards-grid .card-service:hover {
  transform: translateY(-4px);
  border-color: #d3dde6;
  box-shadow: 0 10px 24px rgba(23, 42, 66, 0.07);
  transition-delay: 0s;
}

.card-service-icon {
  width: 75px;
  height: 75px;
  margin-bottom: 20px;
  object-fit: contain;
}

.card-service h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--theme-blue);
  margin-bottom: 16px;
}

.card-service ul {
  list-style: none;
  text-align: left;
  width: 100%;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-service ul li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: #666666;
  margin-bottom: 8px;
  line-height: 1.5;
}

.card-service ul li::before {
  content: '•';
  position: absolute;
  left: 4px;
  color: var(--theme-blue);
  font-size: 18px;
  line-height: 1;
}

.card-service-link {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--theme-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-service-link i {
  transition: transform 0.25s var(--ease-out);
}

.card-service-link:hover {
  color: var(--theme-blue-light);
}

.card-service-link:hover i {
  transform: translateX(3px);
}

.cta-banner-strip {
  position: relative;
  overflow: hidden;
  background-color: #12253a;
  color: #ffffff;
  padding: 70px 0;
  text-align: center;
}

.cta-banner-bg {
  position: absolute;
  inset: -15px;
  background-image: url('assets/images/zdjecie-biznesowe.jpg');
  background-size: cover;
  background-position: center center;
  filter: blur(4px) brightness(0.68) contrast(1.08);
  transform: scale(1.06);
  pointer-events: none;
}

.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(18, 38, 62, 0.72) 0%,
    rgba(27, 54, 88, 0.65) 50%,
    rgba(18, 38, 62, 0.75) 100%
  );
  pointer-events: none;
}

.cta-banner-strip .site-container {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.cta-banner-strip h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.cta-banner-sub {
  font-size: 16.5px;
  color: #e2e8f0;
  margin: 0 auto 24px;
  max-width: 620px;
  line-height: 1.55;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.cta-banner-strip .btn-pill {
  background-color: #8bb9e6;
  color: #173252;
  font-weight: 600;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.cta-banner-strip .btn-pill:hover {
  background-color: #ffffff;
  color: #173252;
  transform: translateY(-2px);
}

.vertical-timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 0;
}

.vertical-timeline::before {
  display: none;
}

.timeline-track-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  background-color: #c0c9d5;
  z-index: 1;
  pointer-events: none;
  border-radius: 2px;
}

.timeline-progress-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 0;
  background-color: #274c77;
  z-index: 2;
  pointer-events: none;
  border-radius: 2px;
  transition: height 0.12s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: height;
}

.timeline-item {
  position: relative;
  display: flex;
  margin-bottom: 70px;
  align-items: center;
  z-index: 3;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item.step-left {
  flex-direction: row-reverse;
}

.timeline-content {
  width: calc(50% - 55px);
  padding: 5px 0;
  opacity: 0.28;
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.timeline-item.step-right .timeline-content {
  margin-left: auto;
  text-align: left;
  transform: translateX(14px);
}

.timeline-item.step-left .timeline-content {
  margin-right: auto;
  text-align: right;
  transform: translateX(-14px);
}

.timeline-item.is-active .timeline-content,
.timeline-item.in-view .timeline-content,
.timeline-item.is-active.step-right .timeline-content,
.timeline-item.is-active.step-left .timeline-content,
.timeline-item.in-view.step-right .timeline-content,
.timeline-item.in-view.step-left .timeline-content {
  transform: translateX(0);
  opacity: 1;
}

.timeline-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background-color: #c0c9d5;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  transition: background-color 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.timeline-item.is-active .timeline-badge,
.timeline-item.in-view .timeline-badge {
  background-color: #274c77;
  transform: translate(-50%, -50%) scale(1.03);
  box-shadow: 0 4px 14px rgba(39, 76, 119, 0.25);
}

.timeline-content h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.6;
}

.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.info-box {
  background: var(--theme-white);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--theme-blue);
  border-radius: 6px;
  padding: 30px 24px;
}

.info-box h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--theme-blue);
  margin-bottom: 10px;
}

.info-box p {
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.55;
}

.guarantee-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--theme-blue);
  border-radius: 6px;
  padding: 35px 34px;
  max-width: 900px;
  margin: 0 auto;
}

.guarantee-box p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 14px;
}

.guarantee-box p:last-child {
  margin-bottom: 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.testimonial-item {
  background: var(--theme-white);
  border: 1px solid #e5e9ec;
  border-radius: 6px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  color: #f5a623;
  font-size: 14px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 18px;
  flex-grow: 1;
}

.testimonial-author {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-heading);
}

.contact-section-original {
  background-color: var(--theme-bg-soft);
  padding: 70px 0;
  border-top: 1px solid #dce2e6;
}

.contact-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 50px;
  align-items: start;
}

.contact-side-info h2 {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 600;
  color: var(--text-heading);
  line-height: 1.2;
  margin-bottom: 10px;
}

.contact-side-bar {
  width: 45px;
  height: 3px;
  background-color: var(--theme-blue);
  margin-bottom: 25px;
}

.contact-side-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.side-contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.side-contact-item i {
  font-size: 22px;
  color: var(--theme-blue);
  width: 30px;
  text-align: center;
}

.side-contact-item .label {
  font-size: 13px;
  color: var(--text-muted);
  display: block;
}

.side-contact-item .value {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-heading);
  word-break: break-word;
}

.side-contact-item .value:hover {
  color: var(--theme-blue);
}

.contact-form-side {
  background: #ffffff;
  border: 1px solid #dce2e6;
  border-radius: 8px;
  padding: 30px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 14.5px;
  border: 1px solid #b0c4de;
  border-radius: 4px;
  background-color: #ffffff;
  color: var(--text-dark);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--theme-blue);
  box-shadow: 0 0 0 3px rgba(96, 150, 186, 0.18);
}

.form-field textarea {
  height: 98px;
  resize: vertical;
}

.field-limit {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.field-limit.over {
  color: #b42318;
}

.form-section-label {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: #444444;
  margin: 18px 0 10px;
}

.radio-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.radio-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #444444;
  cursor: pointer;
}

.radio-item input[type="radio"] {
  accent-color: var(--theme-blue);
  width: 16px;
  height: 16px;
}

.source-other {
  display: none;
  margin-bottom: 16px;
}

.source-other.show {
  display: block;
  animation: fadeSlide 0.3s var(--ease-out);
}

.contact-hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

@media (min-width: 640px) {
  .contact-hours-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.contact-hours-other {
  display: none;
  margin-bottom: 16px;
}

.contact-hours-other.show {
  display: block;
  animation: fadeSlide 0.3s var(--ease-out);
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-body);
  margin: 8px 0 22px;
  line-height: 1.45;
  cursor: pointer;
}

.consent-row a {
  color: var(--theme-blue);
  text-decoration: underline;
}

.consent-row input[type="checkbox"] {
  accent-color: var(--theme-blue);
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-alert {
  padding: 12px 14px;
  border-radius: 4px;
  margin-bottom: 16px;
  font-size: 14px;
  display: none;
}

.form-alert.success {
  display: block;
  background-color: #e7f6ee;
  color: #1e5b3c;
  border: 1px solid #b9e2cb;
}

.form-alert.error {
  display: block;
  background-color: #fdeceb;
  color: #8a2a21;
  border: 1px solid #f3c4bf;
}

.form-alert a {
  text-decoration: underline;
  font-weight: 600;
}

.footer-original {
  background-color: var(--theme-bg-light);
  border-top: 1px solid var(--border-light);
  padding: 50px 0 25px;
  color: var(--text-body);
  font-size: 14px;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 35px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.footer-brand .brand-name {
  font-size: 20px;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.footer-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-body);
}

.footer-contacts a:hover {
  color: var(--theme-blue);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav-list a {
  color: #666666;
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-nav-list a:hover {
  color: var(--theme-blue);
  transform: translateX(3px);
}

.footer-bottom-line {
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.scroll-top-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 42px;
  height: 42px;
  background-color: var(--theme-blue-dark);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  box-shadow: 0 6px 16px rgba(23, 42, 66, 0.25);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out), visibility 0.3s, background-color 0.2s ease;
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background-color: var(--theme-blue);
}

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 580px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(39, 76, 119, 0.14);
  padding: 16px 20px;
  z-index: 9999;
  display: none;
}

.cookie-banner.show {
  display: block;
  animation: cookieSlideUp 0.45s var(--ease-out) both;
}

.cookie-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cookie-icon {
  font-size: 26px;
  color: var(--theme-blue);
  flex-shrink: 0;
}

.cookie-text {
  font-size: 13.5px;
  line-height: 1.5;
  color: #4a5568;
  flex: 1;
}

.cookie-text a {
  color: var(--theme-blue);
  text-decoration: underline;
}

.cookie-btn {
  background-color: var(--theme-blue);
  color: #ffffff;
  border: none;
  border-radius: 20px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.cookie-btn:hover {
  background-color: var(--theme-blue-light);
}

.legal-page {
  padding: 60px 0 80px;
}

.legal-page .site-container {
  max-width: 820px;
}

.legal-page h1 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.legal-page .legal-updated {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.legal-page h2 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--theme-blue);
  margin: 30px 0 10px;
}

.legal-page p,
.legal-page li {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.75;
}

.legal-page ul {
  padding-left: 22px;
  margin: 8px 0;
}

.legal-page a {
  color: var(--theme-blue);
  text-decoration: underline;
}

.notfound-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 80px 0;
}

.notfound-code {
  font-family: var(--font-heading);
  font-size: 96px;
  font-weight: 700;
  color: var(--theme-blue-soft);
  line-height: 1;
}

.notfound-page h1 {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--text-heading);
  margin: 12px 0 10px;
}

.notfound-page p {
  color: var(--text-body);
  margin-bottom: 26px;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1), transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.card-service {
  --card-delay: 0s;
  --d: 0s;
}

.services-cards-grid > .card-service:nth-child(1) { --card-delay: 0s; --d: 0s; }
.services-cards-grid > .card-service:nth-child(2) { --card-delay: 0.12s; --d: 0.12s; }
.services-cards-grid > .card-service:nth-child(3) { --card-delay: 0.24s; --d: 0.24s; }
.services-cards-grid > .card-service:nth-child(4) { --card-delay: 0.08s; --d: 0.08s; }
.services-cards-grid > .card-service:nth-child(5) { --card-delay: 0.20s; --d: 0.20s; }
.services-cards-grid > .card-service:nth-child(6) { --card-delay: 0.32s; --d: 0.32s; }

.testimonials-grid > .testimonial-item:nth-child(1) { --d: 0s; }
.testimonials-grid > .testimonial-item:nth-child(2) { --d: 0.14s; }
.testimonials-grid > .testimonial-item:nth-child(3) { --d: 0.28s; }

.info-cards-grid > .info-box:nth-child(1) { --d: 0s; }
.info-cards-grid > .info-box:nth-child(2) { --d: 0.14s; }
.info-cards-grid > .info-box:nth-child(3) { --d: 0.28s; }

.no-js .reveal-on-scroll,
.no-js .timeline-item,
.no-js .timeline-content {
  opacity: 1 !important;
  transform: none !important;
}
.no-js .timeline-badge {
  background-color: #274c77 !important;
}
.no-js .timeline-track-line,
.no-js .timeline-progress-line {
  display: none !important;
}

@keyframes heroPhotoEntrance {
  from {
    opacity: 0;
    transform: scale(0.98) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

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

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

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes menuDrop {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero-original {
    background: linear-gradient(180deg, #91755c 0%, #9a7d63 32%, #a5866b 70%, #997c62 100%);
  }

  .hero-original .site-container {
    flex-direction: column;
    text-align: center;
    padding: 36px 0 0;
    min-height: auto;
  }

  .hero-left {
    padding: 0 20px 20px;
    max-width: 100%;
  }

  .hero-name {
    font-size: 46px;
    margin-bottom: 22px;
  }

  .hero-subtitle {
    font-size: 22px;
    color: #ffffff;
  }

  .hero-right {
    max-width: 100%;
    width: 100%;
    justify-content: center;
    align-self: center;
    margin: 0;
    padding: 0;
  }

  .hero-right img {
    width: 100%;
    max-width: 100%;
    max-height: none;
    height: auto;
    object-fit: cover;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    display: block;
  }

  .subpage-hero {
    padding: 36px 0 44px;
  }

  .subpage-hero-container {
    flex-direction: column-reverse;
    text-align: center;
    gap: 28px;
    min-height: auto;
  }

  .subpage-hero-content {
    max-width: 100%;
  }

  .subpage-hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .subpage-hero-media {
    flex: 0 0 auto;
    width: 100%;
    max-width: 400px;
    height: 420px;
  }

  .services-cards-grid,
  .info-cards-grid,
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-columns {
    grid-template-columns: 1fr 1fr;
  }

  .footer-columns > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .topbar .site-container {
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
  }

  .navbar .site-container {
    height: 70px;
  }

  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 16px;
    border-bottom: 1px solid #e5e9ec;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
    animation: menuDrop 0.25s var(--ease-out);
  }

  .nav-item a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #f0f3f5;
  }

  .nav-item:last-child a {
    border-bottom: none;
  }

  .nav-item a::after {
    display: none;
  }

  .nav-item.active a {
    color: var(--theme-blue-light);
  }

  .navbar .nav-socials {
    display: none;
  }

  .hero-name {
    font-size: 38px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .subpage-hero-title {
    font-size: 30px;
    line-height: 1.22;
  }

  .subpage-hero-desc {
    font-size: 15px;
    margin-bottom: 22px;
  }

  .subpage-hero-media {
    max-width: 360px;
    height: 380px;
  }

  .section-block,
  .contact-section-original {
    padding: 50px 0;
  }

  .section-title {
    font-size: 28px;
  }

  .section-title-wrap {
    margin-bottom: 36px;
  }

  .cta-banner-strip h2 {
    font-size: 22px;
  }

  .services-cards-grid,
  .info-cards-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .vertical-timeline {
    padding: 20px 0;
  }

  .timeline-track-line,
  .timeline-progress-line {
    left: 28px;
    transform: translateX(-50%);
  }

  .timeline-item,
  .timeline-item.step-left {
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 45px;
  }

  .timeline-badge {
    left: 28px;
    top: 2px;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .timeline-item.is-active .timeline-badge,
  .timeline-item.in-view .timeline-badge {
    transform: translateX(-50%) scale(1.02);
    box-shadow: 0 4px 12px rgba(39, 76, 119, 0.25);
  }

  .timeline-item .timeline-content,
  .timeline-item.step-left .timeline-content,
  .timeline-item.step-right .timeline-content {
    width: calc(100% - 65px);
    margin-left: 65px;
    margin-right: 0;
    text-align: left;
    transform: translateX(10px);
    opacity: 0.28;
  }

  .timeline-item.is-active .timeline-content,
  .timeline-item.in-view .timeline-content,
  .timeline-item.is-active.step-left .timeline-content,
  .timeline-item.is-active.step-right .timeline-content,
  .timeline-item.in-view.step-left .timeline-content,
  .timeline-item.in-view.step-right .timeline-content {
    transform: translateX(0);
    opacity: 1;
  }

  .timeline-content h3 {
    font-size: 19px;
  }

  .timeline-content p {
    font-size: 14px;
  }

  .contact-side-info h2 {
    font-size: 28px;
  }

  .contact-form-side {
    padding: 22px 18px;
  }

  .contact-form-grid,
  .radio-two-cols,
  .contact-hours-grid {
    grid-template-columns: 1fr;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .scroll-top-btn {
    bottom: 18px;
    right: 18px;
  }

  .cookie-banner {
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 14px 16px;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .legal-page h1 {
    font-size: 28px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .reveal-on-scroll,
  .timeline-item {
    opacity: 1;
    transform: none;
  }
}

.card-service {
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.card-service::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--theme-blue-light), var(--theme-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-service:hover {
  transform: translateY(-8px);
  border-color: #cbdbe8;
  box-shadow: 0 16px 36px rgba(23, 42, 66, 0.11);
  transition-delay: 0s !important;
}

.card-service:hover::before {
  transform: scaleX(1);
}

.card-service-icon {
  width: 75px;
  height: 75px;
  margin-bottom: 20px;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform, opacity;
}

.card-service.is-visible .card-service-icon {
  animation: iconSpringEntrance 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) calc(var(--card-delay, 0s) + 0.22s) both;
}

.card-service:hover .card-service-icon {
  transform: translateY(-6px) scale(1.15) rotate(-5deg);
}

@keyframes iconSpringEntrance {
  0% {
    opacity: 0;
    transform: translateY(26px) scale(0.4) rotate(-14deg);
  }
  60% {
    opacity: 1;
    transform: translateY(-8px) scale(1.18) rotate(4deg);
  }
  85% {
    transform: translateY(2px) scale(0.96) rotate(-2deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

.card-service.is-visible ul li {
  animation: itemSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.card-service.is-visible ul li:nth-child(1) { animation-delay: calc(var(--card-delay, 0s) + 0.36s); }
.card-service.is-visible ul li:nth-child(2) { animation-delay: calc(var(--card-delay, 0s) + 0.44s); }
.card-service.is-visible ul li:nth-child(3) { animation-delay: calc(var(--card-delay, 0s) + 0.52s); }

@keyframes itemSlideIn {
  from {
    opacity: 0;
    transform: translateX(-14px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.card-service-link i {
  transition: transform 0.25s ease;
}

.card-service:hover .card-service-link i {
  transform: translateX(4px);
}

.btn-pill {
  position: relative;
  overflow: hidden;
}

.btn-pill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-25deg);
}

.btn-pill:hover::after {
  animation: btnShimmer 0.75s ease-out 1;
}

@keyframes btnShimmer {
  0% {
    left: -120%;
  }
  100% {
    left: 200%;
  }
}

.btn-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(39, 76, 119, 0.25);
}

.subpage-hero-media {
  position: relative;
}

.subpage-hero-photo {
  transition: transform 0.8s ease;
}

.subpage-hero:hover .subpage-hero-photo {
  transform: scale(1.03);
}

.social-circle {
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.social-circle:hover {
  transform: translateY(-4px) scale(1.15);
}

.social-circle.social-fb:hover {
  background-color: #1877f2;
  border-color: #1877f2;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(24, 119, 242, 0.4);
}

.social-circle.social-ig:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: #d6249f;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(214, 36, 159, 0.4);
}

.social-circle.social-tt:hover {
  background-color: #010101;
  border-color: #010101;
  color: #ffffff;
  box-shadow: -2px -2px 10px rgba(0, 242, 234, 0.6), 2px 2px 10px rgba(255, 0, 79, 0.6);
}

.social-circle.social-yt:hover {
  background-color: #ff0000;
  border-color: #ff0000;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(255, 0, 0, 0.4);
}

.social-circle.social-phinance:hover {
  background-color: #1b3554;
  border-color: #1b3554;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(27, 53, 84, 0.4);
}



.testimonial-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.testimonial-item:hover {
  transform: translateY(-5px);
  border-color: #cbdbe8;
  box-shadow: 0 12px 28px rgba(23, 42, 66, 0.08);
}

.testimonial-stars i {
  display: inline-block;
  transition: transform 0.3s ease;
}

.testimonial-item.is-visible .testimonial-stars i {
  animation: starBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.testimonial-item.is-visible .testimonial-stars i:nth-child(1) { animation-delay: calc(var(--d, 0s) + 0.16s); }
.testimonial-item.is-visible .testimonial-stars i:nth-child(2) { animation-delay: calc(var(--d, 0s) + 0.24s); }
.testimonial-item.is-visible .testimonial-stars i:nth-child(3) { animation-delay: calc(var(--d, 0s) + 0.32s); }
.testimonial-item.is-visible .testimonial-stars i:nth-child(4) { animation-delay: calc(var(--d, 0s) + 0.40s); }
.testimonial-item.is-visible .testimonial-stars i:nth-child(5) { animation-delay: calc(var(--d, 0s) + 0.48s); }

@keyframes starBounce {
  0% {
    opacity: 0;
    transform: scale(0) rotate(-35deg);
  }
  70% {
    opacity: 1;
    transform: scale(1.35) rotate(10deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.info-box {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.info-box:hover {
  transform: translateY(-5px);
  border-color: #cbdbe8;
  box-shadow: 0 12px 28px rgba(23, 42, 66, 0.08);
}

.scroll-top-btn:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 20px rgba(39, 76, 119, 0.35);
}



@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
