:root {
  --jc-primary: #0d6efd;
  --jc-secondary: #0dcaf0;
  --jc-dark: #0f172a;
  --jc-soft: #f8fbff;
  --jc-text: #475569;
  --jc-success: #10b981;
  --jc-warning: #f59e0b;
  --jc-border: rgba(15, 23, 42, 0.08);
  --jc-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

* {
  font-family: "Inter", sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  color: var(--jc-text);
  background: #ffffff;
  overflow-x: hidden;
  overflow-y: scroll;
}

.navbar {
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.55rem;
  color: var(--jc-dark);
  padding-block: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--jc-primary), var(--jc-secondary));
  color: white;
  box-shadow: 0 10px 24px rgba(13, 110, 253, 0.25);
}

.brand-logo-wrap {
  width: 120px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: visible;
}

.brand-logo {
  width: 132%;
  height: 132%;
  object-fit: contain;
}

.nav-link {
  color: #334155;
  font-weight: 600;
}

.btn-jc-primary {
  background: linear-gradient(135deg, var(--jc-primary), #2563eb);
  border: none;
  color: #fff;
  box-shadow: 0 10px 24px rgba(13, 110, 253, 0.25);
  transition: 0.25s ease;
}

.btn-jc-primary:hover {
  color: #fff;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 8rem 0 5rem;
  background:
    radial-gradient(circle at top left, rgba(13, 202, 240, 0.15), transparent 26%),
    radial-gradient(circle at top right, rgba(13, 110, 253, 0.16), transparent 22%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -120px -140px auto;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(13, 110, 253, 0.1), transparent 65%);
  pointer-events: none;
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(13, 110, 253, 0.08);
  color: var(--jc-primary);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-title {
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--jc-dark);
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 620px;
}

.hero-card,
.feature-card,
.service-card,
.testimonial-card,
.pricing-card,
.faq-item,
.contact-card {
  border: 1px solid var(--jc-border);
  box-shadow: var(--jc-shadow);
  border-radius: 24px;
  background: #fff;
}

.hero-card {
  padding: 1.5rem;
}

.mini-stat {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: 20px;
  background: #f8fafc;
}

.icon-box {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
  background: linear-gradient(135deg, var(--jc-primary), var(--jc-secondary));
}

.floating-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
}

.hero-visual {
  position: relative;
}

.main-visual {
  border-radius: 28px;
  overflow: hidden;
  min-height: 560px;
  background:
    linear-gradient(rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.18)),
    url("https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=1200&q=80")
      center/cover;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18);
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-radius: 22px;
  padding: 1rem 1.15rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.floating-card.top {
  top: 28px;
  left: -18px;
}

.floating-card.bottom {
  bottom: 28px;
  right: -18px;
}

.section {
  padding: 5.2rem 0;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--jc-dark);
  letter-spacing: -0.03em;
}

.section-subtitle {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
}

.trust-strip {
  border-top: 1px solid var(--jc-border);
  border-bottom: 1px solid var(--jc-border);
  background: #ffffff;
}

.trust-item {
  font-weight: 700;
  color: #334155;
}

.feature-card,
.service-card,
.testimonial-card,
.pricing-card,
.contact-card {
  padding: 1.75rem;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover,
.service-card:hover,
.testimonial-card:hover,
.pricing-card:hover,
.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 54px rgba(15, 23, 42, 0.12);
}

.service-icon,
.feature-icon {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(13, 202, 240, 0.16));
  color: var(--jc-primary);
}

.check-list li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.check-list i {
  color: var(--jc-success);
}

.testimonial-stars {
  color: var(--jc-warning);
}

.review-carousel {
  position: relative;
  padding: 0 4.5rem 3.5rem;
  overflow: visible;
  background: transparent;
}

.review-carousel .carousel-inner {
  overflow: visible;
  background: transparent;
  min-height: 360px;
}

.review-carousel .carousel-item {
  padding: 0.5rem 0;
  background: transparent;
  min-height: 360px;
}

.review-carousel .row {
  background: transparent;
}

.review-card {
  min-height: 280px;
  height: 100%;
}

.testimonial-card.review-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.review-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  gap: 1rem;
}

.review-indicators {
  bottom: -1.2rem;
}

.review-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 6px;
  background-color: rgba(13, 110, 253, 0.35);
}

.review-indicators .active {
  background-color: var(--jc-primary);
}

.review-control {
  width: 52px;
  opacity: 1;
}

.review-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: var(--jc-dark);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
  border: 1px solid var(--jc-border);
  font-size: 1.2rem;
  transition: 0.25s ease;
}

.review-arrow:hover {
  transform: translateY(-2px);
  background: #f8fbff;
}

.carousel-control-prev.review-control {
  left: -6px;
}

.carousel-control-next.review-control {
  right: -6px;
}

.contact-form {
  --form-surface: #f8fbff;
}

.contact-form .row {
  --bs-gutter-x: 1.2rem;
  --bs-gutter-y: 1.25rem;
}

.contact-form .form-label {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 0.94rem;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.contact-form .form-control,
.contact-form .form-select {
  border-radius: 18px;
  min-height: 58px;
  padding: 0.95rem 1.05rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: var(--form-surface);
  color: var(--jc-dark);
  font-size: 1rem;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.contact-form .form-select {
  font-weight: 500;
  cursor: pointer;
}

.quote-select {
  padding-right: 3.5rem;
  background-image:
    linear-gradient(45deg, transparent 50%, #0f5fd6 50%),
    linear-gradient(135deg, #0f5fd6 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 14px) calc(50% - 3px);
  background-size: 8px 8px, 8px 8px;
  background-repeat: no-repeat;
  appearance: none;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  background: #fff;
  border-color: rgba(13, 110, 253, 0.45);
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.12);
}

.contact-form .form-control::placeholder,
.contact-form .form-select {
  color: #475569;
}

.contact-form textarea.form-control {
  min-height: 136px;
  resize: vertical;
}

.contact-radio-group {
  margin: 0;
  padding: 0;
  border: 0;
}

.contact-radio-card {
  min-height: 100%;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border: 1px solid rgba(13, 110, 253, 0.1);
}

.contact-radio-card .form-label {
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 32ch;
}

.contact-form .form-check {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.contact-form .form-check-input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0;
  border-color: rgba(15, 23, 42, 0.28);
}

.contact-form .form-check-input:checked {
  background-color: var(--jc-primary);
  border-color: var(--jc-primary);
}

.contact-form .form-check-label {
  color: var(--jc-dark);
  font-weight: 500;
  font-size: 0.98rem;
  line-height: 1;
}

.btn-quote-submit {
  min-height: 62px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #1d74ff 0%, #2563eb 45%, #1d4ed8 100%);
  box-shadow:
    0 18px 38px rgba(37, 99, 235, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-quote-submit:hover,
.btn-quote-submit:focus {
  box-shadow:
    0 22px 42px rgba(37, 99, 235, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.quote-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.quote-result {
  display: none;
  border-radius: 18px;
  background: #eff6ff;
  border: 1px solid rgba(13, 110, 253, 0.12);
  padding: 1rem 1.2rem;
}

.quote-result-success {
  background: #effaf3;
  border-color: rgba(25, 135, 84, 0.2);
}

.quote-result-error {
  background: #fff5f5;
  border-color: rgba(220, 53, 69, 0.2);
}

.cta-section {
  background:
    linear-gradient(135deg, rgba(13, 110, 253, 0.96), rgba(13, 202, 240, 0.96)),
    #0d6efd;
  color: #fff;
}

.cta-box {
  border-radius: 30px;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.cta-subtitle {
  max-width: 760px;
}

footer {
  background: #0b1220;
  color: rgba(255, 255, 255, 0.75);
}

.footer-brand {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
}

.footer-link {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.footer-link:hover {
  color: #fff;
}

.social-link {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  text-decoration: none;
}

.call-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1080;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 60px;
  padding: 0.95rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7a18 0%, #ff4d4f 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 18px 36px rgba(255, 77, 79, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.call-float i {
  font-size: 1.5rem;
  line-height: 1;
}

.call-float:hover,
.call-float:focus {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 22px 42px rgba(255, 77, 79, 0.34);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: all 0.7s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  .hero {
    padding-top: 7rem;
  }

  .brand-logo-wrap {
    width: 90px;
    height: 48px;
  }

  .floating-card {
    position: static;
    margin-top: 1rem;
  }

  .main-visual {
    min-height: 420px;
  }

  .review-carousel {
    padding: 0 0 3rem;
    overflow: hidden;
  }

  .review-carousel .carousel-inner,
  .review-carousel .carousel-item {
    min-height: 420px;
  }

  .review-carousel .row {
    margin-left: 0;
    margin-right: 0;
  }

  .review-card {
    min-height: 190px;
  }

  .carousel-control-prev.review-control,
  .carousel-control-next.review-control {
    display: none;
  }

  .contact-radio-card .form-label {
    max-width: none;
  }

  .call-float {
    right: 16px;
    bottom: 16px;
    min-height: 54px;
    padding: 0.85rem 1rem;
    gap: 0.55rem;
  }

  .call-float span {
    font-size: 0.95rem;
  }
}

@media (max-width: 575.98px) {
  .review-carousel .carousel-inner,
  .review-carousel .carousel-item {
    min-height: 460px;
  }

  .review-carousel .row {
    --bs-gutter-x: 0;
  }

  .contact-form .row {
    --bs-gutter-x: 0.9rem;
    --bs-gutter-y: 1rem;
  }

  .contact-form .form-label {
    font-size: 0.9rem;
  }

  .contact-form .form-control,
  .contact-form .form-select {
    min-height: 54px;
    padding: 0.85rem 0.95rem;
    font-size: 0.97rem;
  }

  .contact-radio-card {
    padding: 0.95rem;
  }

  .call-float {
    width: 58px;
    height: 58px;
    min-height: 58px;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
  }

  .call-float span {
    display: none;
  }
}
