:root {
  --bg-main: #f6f8fb;
  --bg-alt: #edf2f7;
  --surface: #ffffff;
  --surface-soft: #f4f7fb;
  --ink: #182331;
  --muted: #5d6b7c;
  --brand: #dd4b39;
  --brand-2: #b93424;
  --brand-soft: #ffe6e1;
  --line: #d6dee7;
  --shadow: 0 16px 40px #14223814;
}

* {
  font-family: 'Barlow', system-ui, sans-serif;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: .01em;
  color: #122033;
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 6% 0%, #ffffff 0, #ffffff00 36%),
    radial-gradient(circle at 90% 2%, #ffddd63d 0, #ffddd600 32%),
    linear-gradient(180deg, var(--bg-main) 0%, var(--bg-alt) 100%);
  min-height: 100vh;
}

.nav-shell {
  background: #ffffffd8;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #dbe4ee;
}

.nav-shell .navbar-brand,
.nav-shell .nav-link {
  color: #1e3046;
}

.nav-shell .nav-link.text-muted {
  color: #5d6b7c !important;
}

.nav-shell .btn-outline-light {
  color: #1e3046;
  border-color: #b7c5d6;
}

.nav-shell .btn-outline-light:hover {
  color: #fff;
  background: #25364a;
  border-color: #25364a;
}

.panel-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

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

.btn-brand {
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  border: 1px solid #a3291c;
  color: #fff;
  box-shadow: 0 10px 22px #bf332549;
}

.btn-brand:hover {
  color: #fff;
  background: linear-gradient(180deg, #e65a49, #c13f2f);
  transform: translateY(-1px);
}

.btn-outline-brand {
  border: 1px solid #c9d6e5;
  color: #233348;
  background: #ffffff;
}

.btn-outline-brand:hover {
  color: #1a2a3c;
  border-color: #9eb1c7;
  background: #f5f8fc;
}

.status-badge {
  font-size: .72rem;
  font-weight: 600;
  padding: .33rem .55rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.status-uploaded { background: #e7edf4; color: #1f4059; border-color: #cad8e6; }
.status-quoted { background: #fef1dd; color: #8a5600; border-color: #f1d6a4; }
.status-quote_accepted { background: #e5f6ea; color: #205c2e; border-color: #b8debe; }
.status-quote_rejected { background: #fce8ea; color: #8c1e31; border-color: #eab6bf; }
.status-in_progress { background: #e3f0fc; color: #134876; border-color: #b4d3ef; }
.status-ready_for_payment { background: #fff4d6; color: #7a5300; border-color: #e9cf93; }
.status-paid { background: #def6ee; color: #0b5a46; border-color: #a8ddce; }
.status-completed { background: #ddeefa; color: #134a70; border-color: #b8d7ec; }
.status-cancelled { background: #eceef2; color: #4a5869; border-color: #c8ced7; }

.table thead th {
  font-size: .77rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #4f5d6d;
}

.home-hero {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  padding: clamp(1.2rem, 2.7vw, 2.4rem);
  box-shadow: 0 22px 45px #1422381c;
}

.hero-kicker {
  color: #d44e3b;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .11em;
  font-size: .78rem;
}

.hero-title {
  font-size: clamp(2rem, 4.2vw, 3.45rem);
  line-height: 1.02;
  max-width: 15ch;
}

.hero-lead {
  color: #33465b;
  max-width: 58ch;
  font-size: 1.03rem;
}

.hero-points {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}

.hero-point {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border-radius: 999px;
  border: 1px solid #d6e0ea;
  background: var(--surface-soft);
  padding: .38rem .72rem;
  font-size: .84rem;
  color: #2f4357;
}

.hero-point i {
  color: #cf4f3e;
}

.hero-slider {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #d5dfeb;
  box-shadow: 0 20px 35px #14223826;
}

.hero-slider .carousel-item img {
  height: 430px;
  object-fit: cover;
}

.hero-slider .carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #101c2f14 12%, #101c2fd4 100%);
}

.hero-slider .carousel-caption {
  left: 1rem;
  right: 1rem;
  bottom: 1.1rem;
  text-align: left;
  z-index: 2;
}

.slider-kicker {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .72rem;
  color: #ffd2ca;
  margin-bottom: .25rem;
}

.hero-slider .carousel-caption h2 {
  font-size: clamp(1.1rem, 2.2vw, 1.55rem);
  color: #fff;
  margin-bottom: 0;
  line-height: 1.2;
}

.carousel-indicators [data-bs-target] {
  width: 30px;
}

.trust-strip {
  background: linear-gradient(90deg, #fff4f1 0%, #f7fafe 100%);
  border: 1px solid #e7d7d3;
  border-radius: 999px;
  padding: .65rem 1rem;
}

.trust-items {
  display: flex;
  gap: .65rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-items span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: #ffffff;
  border: 1px solid #e2e9f1;
  border-radius: 999px;
  padding: .4rem .78rem;
  font-size: .82rem;
  color: #2b3f55;
}

.trust-items span i {
  color: #c84c3c;
}

.story-media {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #d3deea;
  box-shadow: 0 20px 34px #1422381d;
}

.story-media img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  display: block;
}

.story-copy {
  background: #ffffff;
  border: 1px solid #dae3ed;
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 12px 24px #14223812;
}

.story-copy p {
  color: var(--muted);
}

.benefits-band {
  border: 1px solid #d6e1ec;
  border-radius: 1.2rem;
  padding: 1.25rem;
  background:
    radial-gradient(circle at 90% 8%, #ffe2db 0, #ffe2db00 34%),
    linear-gradient(135deg, #ffffff 0%, #f4f8fc 100%);
}

.benefit-card {
  background: #0f2236;
  border: 1px solid #263f58;
  border-radius: .95rem;
  padding: 1rem;
  box-shadow: 0 12px 22px #0b1a2a24;
}

.benefit-card h3 {
  color: #f0f6ff;
}

.benefit-card p {
  color: #c3d2e3;
}

.benefit-icon {
  margin-bottom: .45rem;
}

.benefit-icon i {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: .6rem;
  color: #ffe8e1;
  background: #dd4b394a;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.3rem;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 34px #1422381f;
}

.feature-tag {
  font-size: .72rem;
  color: #c44a3a;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: .45rem;
}

.feature-card p {
  color: var(--muted);
}

.section-head h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
}

.section-kicker {
  color: #c44a3a;
  text-transform: uppercase;
  font-size: .74rem;
  letter-spacing: .12em;
  font-weight: 700;
}

.process-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid #cfe0f0;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 12px 24px #14223814;
  position: relative;
}

.process-no {
  color: #d14d3f;
  font-size: .78rem;
  letter-spacing: .11em;
  font-weight: 700;
  display: inline-block;
  margin-bottom: .5rem;
}

.process-icon i {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: .55rem;
  color: #c84c3c;
  background: #ffebe6;
}

.process-card p {
  color: var(--muted);
}

.brands-section {
  border: 1px solid #2d4359;
  border-radius: 1.2rem;
  padding: 1.2rem;
  background:
    radial-gradient(circle at 12% 6%, #6bb2ff33 0, #6bb2ff00 30%),
    radial-gradient(circle at 88% 92%, #dd4b3942 0, #dd4b3900 34%),
    linear-gradient(140deg, #0f2133 0%, #172f45 100%);
  box-shadow: 0 20px 40px #0b152430;
}

.brands-section .section-kicker,
.brands-section .section-head h2 {
  color: #f1f6fd;
}

.brands-lead {
  color: #c1d1e1;
  max-width: 72ch;
}

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

.brand-tile {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .75rem .8rem;
  border: 1px solid #36516a;
  border-radius: .85rem;
  background: #1c344b;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.brand-tile:hover {
  transform: translateY(-2px);
  border-color: #557696;
  box-shadow: 0 10px 20px #00000030;
}

.brand-tile img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-tile span {
  font-weight: 600;
  color: #eaf2fc;
  font-size: .93rem;
}

.opinion-section {
  padding: .15rem;
}

.opinions-slider {
  position: relative;
}

.opinions-slider .carousel-inner {
  padding: .2rem 2.6rem 2.4rem;
}

.opinions-slider .carousel-indicators {
  margin-bottom: 0;
}

.opinions-slider .carousel-indicators [data-bs-target] {
  width: 26px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background-color: #bac9d8;
}

.opinions-slider .carousel-control-prev,
.opinions-slider .carousel-control-next {
  width: 2.2rem;
}

.opinions-slider .carousel-control-prev-icon,
.opinions-slider .carousel-control-next-icon {
  background-color: #15304b;
  border-radius: 999px;
  background-size: 60%;
}

.opinion-card {
  background: #ffffff;
  border: 1px solid #d9e4ef;
  border-radius: 1rem;
  padding: 1.35rem;
  box-shadow: 0 12px 26px #14223810;
  max-width: 760px;
  margin: 0;
  position: relative;
  height: 100%;
}

.opinion-card::before {
  content: "“";
  position: absolute;
  top: .45rem;
  right: .85rem;
  font-family: Georgia, serif;
  font-size: 3rem;
  color: #dfe9f4;
  line-height: 1;
}

.opinion-text {
  color: #2d4054;
  font-size: 1.04rem;
  line-height: 1.55;
  border: 0;
  padding: 0;
  margin: 0;
}

.opinion-star i {
  color: #e19428;
  margin-right: .1rem;
}

.opinion-meta {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.opinion-meta img {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 2px solid #e3ebf3;
  object-fit: cover;
}

.opinion-author {
  color: #536476;
  font-size: .83rem;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.cta-strip {
  border: 1px solid #d2deeb;
  border-radius: 1rem;
  background:
    radial-gradient(circle at 80% 20%, #ffe2db 0, #ffe2db00 36%),
    linear-gradient(130deg, #ffffff 0%, #f1f6fb 100%);
  box-shadow: 0 20px 38px #14223817;
}

.cta-strip-inner {
  padding: 1.3rem 1.2rem;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.cta-kicker {
  color: #c44a3a;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  font-size: .73rem;
}

@media (prefers-reduced-motion: no-preference) {
  .home-hero,
  .feature-card,
  .benefit-card,
  .process-card,
  .brands-section,
  .brand-tile,
  .opinion-card,
  .cta-strip {
    animation: rise-in .52s ease both;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 992px) {
  .hero-title {
    max-width: none;
    line-height: 1.07;
  }

  .hero-slider .carousel-item img {
    height: 340px;
  }

  .trust-strip {
    border-radius: 1rem;
  }

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

@media (max-width: 768px) {
  .home-hero {
    padding: 1.15rem;
  }

  .hero-lead {
    font-size: .97rem;
  }

  .hero-slider .carousel-item img {
    height: 280px;
  }

  .hero-slider .carousel-caption {
    left: .75rem;
    right: .75rem;
    bottom: .8rem;
  }

  .story-media img {
    min-height: 240px;
  }

  .benefits-band {
    padding: 1rem;
  }

  .brands-section {
    padding: 1rem;
  }

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

  .opinions-slider .carousel-inner {
    padding: .2rem .4rem 2.4rem;
  }

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

  .cta-strip-inner {
    padding: 1rem;
  }
}
