:root {
  --night-blue: #0a2f4f;
  --deep-blue: #0d3d66;
  --steel-blue: #1d5c91;
  --wood-gold: #8b1e2d;
  --wood-dark: #5b1220;
  --wood-glow: #be4a5b;
  --sun-amber: #f59f00;
  --mint: #2f9e88;
  --sky: #3b82f6;
  --lavender: #7c6cff;
  --rose: #e85d75;
  --slate: #5f7082;
  --text: #1b2330;
  --muted: #4e5d6d;
  --surface: #ffffff;
  --surface-alt: #f2f6fb;
  --surface-soft: #f7f9fc;
  --border: rgba(10, 47, 79, 0.14);
  --shadow: 0 20px 60px rgba(10, 47, 79, 0.12);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

body.site-body {
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 560px at 10% -10%, rgba(10, 47, 79, 0.12), transparent 60%),
    radial-gradient(840px 460px at 88% 10%, rgba(47, 158, 136, 0.12), transparent 64%),
    radial-gradient(900px 520px at 90% -5%, rgba(139, 30, 45, 0.14), transparent 62%),
    radial-gradient(760px 460px at 18% 88%, rgba(124, 108, 255, 0.11), transparent 66%),
    linear-gradient(180deg, #ffffff, #f4f7fb 60%, #eef2f6);
  min-height: 100vh;
  animation: page-enter 0.65s ease-out;
}

.site-navbar {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.navbar-brand {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.04em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 700;
  color: #f2f6fb;
  background: linear-gradient(145deg, var(--night-blue), var(--deep-blue));
  box-shadow: 0 10px 26px rgba(10, 47, 79, 0.35);
}

.brand-text .brand-title {
  font-size: 1.35rem;
  text-transform: uppercase;
}

.brand-text .brand-subtitle {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--slate);
}

.navbar .nav-link {
  color: var(--muted);
  font-weight: 500;
  position: relative;
  transition: color 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--night-blue);
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--wood-gold);
  transition: width 0.25s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link:focus::after {
  width: 100%;
}

.btn {
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.btn-wood {
  background: linear-gradient(140deg, var(--deep-blue), var(--night-blue));
  color: #f3f7fb;
  border: none;
  box-shadow: 0 10px 30px rgba(10, 47, 79, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn-wood:hover,
.btn-wood:focus {
  color: #ffffff;
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 14px 36px rgba(10, 47, 79, 0.4);
  filter: saturate(1.08);
}

.btn-outline-wood {
  border: 1px solid rgba(139, 30, 45, 0.55);
  color: var(--night-blue);
  background: transparent;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.btn-outline-wood:hover,
.btn-outline-wood:focus {
  background: rgba(139, 30, 45, 0.1);
  color: var(--wood-dark);
  transform: translateY(-1px);
}

.btn-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--surface);
  color: var(--night-blue);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-icon:hover {
  background: rgba(139, 30, 45, 0.12);
  color: var(--night-blue);
  transform: translateY(-2px);
}

main {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

section {
  padding: 4rem 0;
}

section.py-5 {
  background: linear-gradient(160deg, #f8fbff 0%, #eef5ff 100%);
}

section.py-5:nth-of-type(even) {
  background: linear-gradient(170deg, #ffffff 0%, #f8fffd 100%);
}

section.py-5:nth-of-type(3n) {
  background: linear-gradient(165deg, #fff9fb 0%, #f4f6ff 100%);
}

.hero-section {
  position: relative;
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -120px auto auto -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(139, 30, 45, 0.24), transparent 70%);
  filter: blur(6px);
  pointer-events: none;
  animation: pulse-glow 5s ease-in-out infinite;
}

.hero-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 2.5rem;
  box-shadow: 0 30px 70px rgba(15, 42, 69, 0.12);
  animation: float-up 0.75s ease-out both;
}

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.hero-kpi {
  border-radius: 18px;
  padding: 1rem 1.2rem;
  background: var(--surface-soft);
  border: 1px solid var(--border);
}

.service-card {
  padding: 1.5rem;
  border-radius: 20px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 60px rgba(15, 42, 69, 0.14);
  border-color: rgba(139, 30, 45, 0.35);
}

.service-card h5,
.service-card .text-white {
  color: var(--night-blue) !important;
}

.service-card .text-muted {
  color: #4a5a6a !important;
}

.content-row-card {
  padding: 1.5rem;
}

.content-row-layout {
  margin: 0;
  min-height: 360px;
}

.content-row-layout > [class*="col-"] {
  padding-left: 1rem;
  padding-right: 1rem;
}

.content-row-media {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
}

.content-row-copy {
  max-width: 620px;
}

.content-row-image {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--border);
  display: block;
  box-shadow: 0 16px 34px rgba(10, 47, 79, 0.12);
  background: #e9eef6;
  transition: opacity 0.32s ease, filter 0.32s ease, transform 0.32s ease;
}

.content-row-image.is-lazy {
  opacity: 0.72;
  filter: blur(8px);
  transform: scale(1.02);
  background: linear-gradient(100deg, #e5ebf4 20%, #f1f5fb 38%, #e5ebf4 56%);
  background-size: 200% 100%;
  animation: image-shimmer 1.25s linear infinite;
}

.content-row-image.is-loaded {
  opacity: 1;
  filter: none;
  transform: none;
  animation: none;
}

.content-row-image.lazy-error {
  opacity: 1;
  filter: none;
  transform: none;
  animation: none;
}

.content-row-copy h5 {
  font-size: clamp(1.95rem, 2.1vw, 2.5rem);
}

.content-row-copy .text-muted {
  font-size: clamp(1.1rem, 1.25vw, 1.4rem);
  line-height: 1.55;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 30, 45, 0.12);
  color: var(--night-blue);
  font-size: 1.4rem;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.section-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.wood-divider {
  width: 120px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--night-blue), var(--sky), var(--wood-gold), var(--rose));
}

.process-card {
  padding: 1.25rem 1.5rem;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.process-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(10, 47, 79, 0.16);
  border-color: rgba(139, 30, 45, 0.3);
}

.ai-panel {
  background: linear-gradient(120deg, #ffffff, #f7f9fc);
  border-radius: 24px;
  padding: 2.5rem;
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ai-panel:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(10, 47, 79, 0.16);
  border-color: rgba(139, 30, 45, 0.3);
}

.feature-card {
  padding: 1.6rem;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(10, 47, 79, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(10, 47, 79, 0.14);
  border-color: rgba(139, 30, 45, 0.32);
}

.feature-card__body {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-card__icon {
  width: 48px;
  min-width: 48px;
  height: 78px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    160deg,
    rgba(245, 159, 0, 0.24),
    rgba(232, 93, 117, 0.18),
    rgba(124, 108, 255, 0.2)
  );
  color: var(--night-blue);
  font-size: 1.45rem;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.feature-card__title {
  color: var(--night-blue);
  font-size: clamp(1.38rem, 1.8vw, 1.7rem);
  line-height: 1.05;
}

.feature-card__content .text-muted {
  font-size: clamp(1.02rem, 1.15vw, 1.28rem);
  line-height: 1.5;
}

.chat-line {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(139, 30, 45, 0.09);
  border: 1px solid rgba(139, 30, 45, 0.3);
}

.testimonials-section {
  padding: 4rem 0;
}

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

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(15, 42, 69, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 46px rgba(10, 47, 79, 0.16);
  border-color: rgba(139, 30, 45, 0.34);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(139, 30, 45, 0.35);
  object-fit: cover;
}

.testimonial-identity {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.testimonial-name {
  font-weight: 600;
  letter-spacing: 0.01em;
}

.testimonial-location {
  color: var(--slate);
  font-size: 0.95rem;
}

.testimonial-text {
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.6;
}

@media (max-width: 991px) {
  .content-row-layout {
    min-height: auto;
  }

  .content-row-layout > [class*="col-"] {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .content-row-copy {
    max-width: 100%;
  }

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

@media (max-width: 575px) {
  .content-row-card {
    padding: 1rem;
  }

  .content-row-image {
    max-width: 100%;
  }

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

.hero-illustration {
  max-width: 100%;
  border-radius: 28px;
  background: var(--surface-alt);
  padding: 1.5rem;
  border: 1px solid var(--border);
}

.hero-illustration svg {
  width: 100%;
  height: auto;
}

.cta-strip {
  background: linear-gradient(
    120deg,
    rgba(10, 47, 79, 0.12),
    rgba(124, 108, 255, 0.12),
    rgba(47, 158, 136, 0.12),
    rgba(139, 30, 45, 0.12),
    #f7f9fc
  );
  border-radius: 24px;
  padding: 2.5rem;
  border: 1px solid var(--border);
}

.card,
.surface {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.badge-wood {
  background: linear-gradient(130deg, rgba(139, 30, 45, 0.18), rgba(59, 130, 246, 0.15));
  color: var(--night-blue);
  border: 1px solid rgba(124, 108, 255, 0.35);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-weight: 500;
}

.text-muted {
  color: var(--slate) !important;
}

.site-footer {
  background: linear-gradient(180deg, #0f2f4d, #0b243b);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}

.footer-links a:hover {
  color: var(--night-blue);
}

.footer-bottom {
  border-top: 1px solid var(--border);
}

.footer-text {
  color: var(--text);
}

.footer-small {
  color: var(--slate);
}

.site-footer .brand-title,
.site-footer .brand-subtitle,
.site-footer .footer-text,
.site-footer .footer-small,
.site-footer .footer-links a,
.site-footer .text-muted {
  color: #f2f5f9;
}

.site-footer h6,
.site-footer .footer-links li {
  color: #f2f5f9;
}

.site-footer .footer-links a:hover {
  color: #f2a6af;
}

.site-footer .badge-wood {
  color: #f2f6fb;
  background: rgba(139, 30, 45, 0.55);
  border-color: rgba(233, 170, 179, 0.5);
}

.hero-media {
  display: block;
  width: min(100%, 560px);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin-inline: auto;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: drop-shadow(0 24px 30px rgba(10, 47, 79, 0.18));
}

.hero-media:hover {
  transform: translateY(-8px) scale(1.01);
  filter: drop-shadow(0 28px 36px rgba(10, 47, 79, 0.22));
}

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

.motion-ready .reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: calc(var(--stagger, 0) * 70ms);
}

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

.service-card:hover .service-icon,
.process-card:hover .service-icon,
.ai-panel:hover .service-icon {
  transform: translateY(-2px) scale(1.04);
  background: rgba(139, 30, 45, 0.18);
}

.feature-card:hover .feature-card__icon {
  transform: translateY(-2px) scale(1.04);
  background: rgba(139, 30, 45, 0.18);
}

@keyframes image-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

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

@keyframes pulse-glow {
  0%, 100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.06);
  }
}

@keyframes float-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.04em;
}

@media (max-width: 991px) {
  .navbar .nav-link::after {
    display: none;
  }

  .brand-text .brand-title {
    font-size: 1.15rem;
  }
}

@media (max-width: 767px) {
  .feature-card {
    padding: 1.35rem;
  }

  .feature-card__icon {
    width: 42px;
    min-width: 42px;
    height: 66px;
    border-radius: 15px;
    font-size: 1.2rem;
  }

  .feature-card__title {
    font-size: 1.6rem;
  }

  .feature-card__content .text-muted {
    font-size: 1.02rem;
  }
}

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

  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}
