@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,300..700;1,300..700&family=Poppins:ital,wght@0,300..700;1,300..700&display=swap');

/* ============================================================
   Profile doanh nghiệp – service-specific styles
   Kế thừa tokens và base components từ ../styles.css
   Chỉ định nghĩa các component MỚI: pricing, process, faq,
   service-card list, contact meta, footer.
   ============================================================ */

/* Typography override for Business Profile module */
.service-page,
.service-page h1,
.service-page h2,
.service-page h3,
.service-page .pricing-card__price,
.service-page .case-wordmark {
  font-family: "SVN-Poppins", "Poppins", "Avenir Next", "Segoe UI", sans-serif;
}

.service-page .identity-pill--bp {
  color: var(--ocean);
  background: rgba(255, 255, 255, 0.72);
}

/* ---------- Service cards (override + extras) ---------- */
.service-card--bp {
  padding: 0 !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.58) !important;
  border: 1px solid rgba(13, 27, 76, 0.08) !important;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(13, 27, 76, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card--bp:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 72, 255, 0.25) !important;
  box-shadow: 0 20px 48px rgba(13, 27, 76, 0.1) !important;
}

.service-card__art {
  height: 200px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.service-card__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.service-card--bp:hover .service-card__art::after {
  transform: scale(1.06);
}

.service-card__art .service-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(13, 27, 76, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.service-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 12px;
}

.service-card__body span {
  display: block;
  color: var(--ocean);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-card__body h3 {
  margin: 0;
  font-size: 1.45rem;
  color: var(--ink);
}

.service-card__body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.service-card__list {
  margin: 8px 0 16px;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.service-card__list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.service-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ocean);
  font-weight: 700;
  font-size: 0.95rem;
}

.service-card__body .inline-link {
  margin-top: auto;
  align-self: flex-start;
  padding-top: 8px;
}


/* ---------- Process flow (Timeline) ---------- */
#process .eyebrow {
  position: relative;
  display: inline-block;
  margin-bottom: 24px;
}

#process .eyebrow::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: var(--ocean);
}

.process-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.process-step {
  position: relative;
  padding: 32px 24px 24px;
  border: 1px solid rgba(13, 27, 76, 0.08) !important;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 12px 40px rgba(13, 27, 76, 0.04);
  margin-top: 16px;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.process-step:hover {
  transform: translateY(-2px);
  border-color: rgba(30, 72, 255, 0.2) !important;
  box-shadow: 0 16px 36px rgba(13, 27, 76, 0.08);
}

.process-step__icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(30, 72, 255, 0.06);
  color: var(--ocean);
  margin: 8px 0 16px;
}

.process-step__icon {
  width: 24px;
  height: 24px;
  stroke: var(--ocean);
}

.process-step__index {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ocean) !important;
  color: #ffffff !important;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 0 0 6px var(--bg-soft);
  transition: transform 180ms ease;
}

.process-step:hover .process-step__index {
  transform: translateX(-50%) scale(1.1);
}

/* Horizontal connecting line on desktop with center dot */
.process-step::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: calc(100% + 16px);
  height: 8px;
  margin-top: -4px;
  background: 
    radial-gradient(circle, var(--ocean) 2px, transparent 3px),
    linear-gradient(to right, rgba(30, 72, 255, 0.15), rgba(30, 72, 255, 0.15));
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 8px 8px, 100% 2px;
  z-index: 1;
  pointer-events: none;
}

.process-step:last-child::after {
  display: none;
}

.process-step h3 {
  font-size: 1.15rem;
  margin: 0 0 12px;
  color: var(--ink);
  font-weight: 700;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

/* ---------- Pricing grid ---------- */
/* Pricing Tabs Folder Style */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 0 !important; /* aligns flush with container */
  padding-left: 0;
}

.filter-chip {
  padding: 12px 24px !important;
  border: none !important;
  border-radius: 12px 12px 0 0 !important; /* folder tab */
  background: #eef0f6 !important;
  color: var(--ink) !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  cursor: pointer;
  box-shadow: inset 0 -4px 8px rgba(13, 27, 76, 0.02);
  transition: background 180ms ease, color 180ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.tab-chip-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  stroke-width: 2px;
}


.filter-chip.is-active {
  background: var(--ocean) !important; /* matches grid container blue */
  color: #ffffff !important;
  box-shadow: none !important;
}

/* ---------- Pricing grid (Solid Blue Box) ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  background: var(--ocean) !important;
  padding: 48px;
  border-radius: 0 24px 24px 24px;
  box-shadow: 0 24px 60px rgba(30, 72, 255, 0.15);
  margin-top: -1px;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 24px 24px;
  border: none !important;
  border-radius: var(--radius-md) !important;
  background: #ffffff !important;
  box-shadow: 0 12px 36px rgba(13, 27, 76, 0.06) !important;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 48px rgba(13, 27, 76, 0.15) !important;
}

/* Image container with transparent backdrop so arch graphic sits directly on card */
.pricing-card__image-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: visible;
}

.pricing-card__img {
  height: 200px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto;
  filter: none !important;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card:hover .pricing-card__img {
  transform: scale(1.04) translateY(-2px);
}

.is-hidden {
  display: none !important;
}

/* Featured Card (Classic Profile) with custom Periwinkle-to-White gradient */
.pricing-card--featured {
  background: linear-gradient(180deg, #ccd7ff 0%, #ffffff 40%) !important;
  box-shadow: 0 16px 40px rgba(13, 27, 76, 0.15) !important;
}

.pricing-card--featured:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 24px 56px rgba(13, 27, 76, 0.22) !important;
}

.pricing-card--featured h3 {
  color: var(--ink);
}

.pricing-card--featured ul {
  color: var(--muted);
}

.pricing-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.pricing-card__price {
  margin: 0;
  font-family: "SVN-Neutraface 2", "Josefin Sans", "Iowan Old Style", Georgia, serif;
  font-size: 1.65rem;
  color: var(--ocean);
  font-weight: 700;
}

.pricing-card ul {
  margin: 12px 0 20px;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.pricing-card ul li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.pricing-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--ink) !important; /* black/navy checkmarks like the old UI */
  font-weight: 700;
  font-size: 0.9rem;
}

/* ---------- Case placeholder art ---------- */
.case--placeholder {
  color: var(--ink);
  background: linear-gradient(135deg, rgba(30, 72, 255, 0.05), rgba(255, 255, 255, 0.3));
  border: 1px dashed rgba(13, 27, 76, 0.15);
}

.case-art.case--placeholder::before {
  inset: 14% 10%;
  border: 1px dashed rgba(255, 244, 234, 0.32);
}

.case-card--placeholder {
  opacity: 0.88;
}

/* ---------- FAQ accordion ---------- */
.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 20px 24px;
  border: 1px solid rgba(13, 27, 76, 0.08);
  border-left: 4px solid transparent;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 250ms ease, border-left-color 250ms ease, background-color 250ms ease, box-shadow 250ms ease, transform 250ms ease;
  box-shadow: 0 4px 12px rgba(13, 27, 76, 0.01);
}

.faq-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(13, 27, 76, 0.15);
  box-shadow: 0 12px 28px rgba(13, 27, 76, 0.04);
}

.faq-item[open] {
  background: #ffffff;
  border-color: rgba(13, 27, 76, 0.12);
  border-left-color: var(--ocean);
  box-shadow: 0 16px 40px rgba(13, 27, 76, 0.07);
  transform: translateY(0);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  list-style: none;
  user-select: none;
  transition: color 250ms ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item:hover summary {
  color: var(--ocean);
}

.faq-item[open] summary {
  color: var(--ink);
}

/* Custom Animated Plus/Close Icon */
.faq-icon-wrapper {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(30, 72, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 250ms ease, transform 250ms ease;
}

.faq-icon-wrapper::before,
.faq-icon-wrapper::after {
  content: "";
  position: absolute;
  background: var(--ocean);
  border-radius: 2px;
  transition: transform 250ms ease, background-color 250ms ease;
}

/* Horizontal line */
.faq-icon-wrapper::before {
  width: 12px;
  height: 2px;
}

/* Vertical line */
.faq-icon-wrapper::after {
  width: 2px;
  height: 12px;
}

.faq-item[open] .faq-icon-wrapper {
  background: var(--ocean);
  transform: rotate(135deg);
}

.faq-item[open] .faq-icon-wrapper::before,
.faq-item[open] .faq-icon-wrapper::after {
  background: #ffffff;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 380ms cubic-bezier(0.16, 1, 0.3, 1), opacity 380ms ease, margin-top 380ms ease;
}

.faq-item[open] p {
  max-height: 250px;
  opacity: 1;
  margin-top: 12px;
}

/* ---------- Contact meta ---------- */
.contact-meta {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-meta strong {
  color: var(--ocean);
  margin-right: 6px;
}

/* ---------- Footer ---------- */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 60px;
  padding: 26px 0 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer a {
  color: var(--ocean);
  font-weight: 600;
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1200px) {
  .process-flow {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-left: 48px;
  }

  .process-step {
    margin-top: 0;
    padding: 24px;
    text-align: left;
  }

  .process-step__icon-wrapper {
    margin: 0 0 16px;
  }

  .process-step__index {
    top: 24px;
    left: -44px;
    transform: none;
    box-shadow: 0 0 0 6px var(--bg);
  }

  .process-step:hover .process-step__index {
    transform: scale(1.1);
  }

  /* Vertical connecting line on mobile */
  .process-step::after {
    width: 2px;
    height: calc(100% + 34px);
    left: -28px;
    top: 40px;
    margin-top: 0;
    background: rgba(30, 72, 255, 0.15);
    background-image: none;
  }

  .process-step:last-child::after {
    display: none;
  }
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    padding: 32px 20px !important;
    border-radius: 20px !important;
    gap: 20px;
  }
  
  .filters {
    padding-left: 0;
    gap: 4px;
  }
  
  .filter-chip {
    padding: 10px 16px !important;
    border-radius: 8px 8px 0 0 !important;
    font-size: 0.85rem !important;
  }
}

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

  .pricing-card__price {
    font-size: 1.4rem;
  }
}

/* ---------- USP Structured List (Hero Panel Upgrade) ---------- */
.usp-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  margin-top: 24px;
  gap: 12px;
}

.usp-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(13, 27, 76, 0.04);
  box-shadow: 0 4px 12px rgba(13, 27, 76, 0.02);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.usp-item:hover {
  transform: translateX(4px);
  border-color: rgba(30, 72, 255, 0.15);
  box-shadow: 0 8px 20px rgba(13, 27, 76, 0.04);
}

.usp-number {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(30, 72, 255, 0.06);
  border: 1px solid rgba(30, 72, 255, 0.12);
  color: var(--ocean);
  font-size: 0.76rem;
  font-weight: 700;
}

.usp-text {
  display: grid;
  gap: 3px;
}

.usp-text strong {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.usp-text p {
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 0.82rem !important;
  line-height: 1.35 !important;
}

/* ---------- Interactive Recommender Modal & Trigger ---------- */
.recommender-trigger-btn {
  margin-left: auto;
  align-self: center;
  padding: 10px 20px;
  border-radius: 20px;
  border: 1px dashed var(--ocean);
  background: rgba(30, 72, 255, 0.05);
  color: var(--ocean);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 200ms ease;
  margin-bottom: 6px;
}

.recommender-trigger-btn:hover {
  background: var(--ocean);
  color: #ffffff;
  border-color: var(--ocean);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 72, 255, 0.2);
}

.recommender-trigger-btn:active {
  transform: translateY(0);
}

.recommender-modal {
  border: none;
  background: transparent;
  padding: 0;
  margin: auto;
  max-width: 1100px;
  width: 90%;
  overflow: visible;
  outline: none;
}

.recommender-modal::backdrop {
  background-color: rgba(13, 27, 76, 0.45);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  opacity: 0;
}

.recommender-modal[open] {
  animation: modalFadeIn 350ms cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.recommender-modal[open]::backdrop {
  animation: backdropFadeIn 350ms ease forwards;
}

.recommender-modal.is-closing {
  animation: modalFadeOut 250ms cubic-bezier(0.36, 0.07, 0.19, 0.97) forwards;
}

.recommender-modal.is-closing::backdrop {
  animation: backdropFadeOut 250ms ease forwards;
}

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

@keyframes modalFadeOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
}

@keyframes backdropFadeIn {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
}

@keyframes backdropFadeOut {
  from {
    opacity: 1;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  to {
    opacity: 0;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
  }
}

.recommender-modal__body {
  background: #ffffff;
  border: 1px solid rgba(13, 27, 76, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  box-shadow: 0 24px 64px rgba(13, 27, 76, 0.12);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* Scroll left panel instead of body */
  position: relative;
}

/* ---------- Recommender Split Content Layout (Desktop Side-by-Side) ---------- */
.recommender-content-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  margin-top: 20px;
  height: 480px; /* fixed viewport height */
  min-height: 0;
  box-sizing: border-box;
}

.recommender-questions-scroll {
  overflow-y: auto;
  padding-right: 20px;
  height: 100%;
  box-sizing: border-box;
}

.recommender-result-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  box-sizing: border-box;
}

.recommender-result-panel .recommender-result {
  margin-top: 0; /* Reset margins since it's side-by-side */
  height: 100%;
  justify-content: center;
  box-sizing: border-box;
}

/* Custom scrollbars for the scroll panel */
.recommender-questions-scroll::-webkit-scrollbar {
  width: 6px;
}
.recommender-questions-scroll::-webkit-scrollbar-track {
  background: rgba(13, 27, 76, 0.02);
  border-radius: 3px;
}
.recommender-questions-scroll::-webkit-scrollbar-thumb {
  background-color: rgba(13, 27, 76, 0.1);
  border-radius: 3px;
}
.recommender-questions-scroll::-webkit-scrollbar-thumb:hover {
  background-color: rgba(13, 27, 76, 0.2);
}

.recommender-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(13, 27, 76, 0.05);
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.recommender-modal__close:hover {
  background: rgba(13, 27, 76, 0.1);
  color: var(--ocean);
  transform: rotate(90deg);
}

.recommender-modal__body::-webkit-scrollbar {
  width: 8px;
}

.recommender-modal__body::-webkit-scrollbar-track {
  background: transparent;
}

.recommender-modal__body::-webkit-scrollbar-thumb {
  background-color: rgba(13, 27, 76, 0.1);
  border-radius: 4px;
}

.recommender-modal__body::-webkit-scrollbar-thumb:hover {
  background-color: rgba(13, 27, 76, 0.2);
}

.recommender-header {
  margin-bottom: 28px;
}

.recommender-header h3 {
  font-size: 1.5rem;
  margin: 0 0 8px;
  color: var(--ink);
}

.recommender-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 768px) {
  .recommender-trigger-btn {
    margin-left: 0;
    width: 100%;
    justify-content: center;
    margin-top: 6px;
  }
  .recommender-modal__body {
    padding: 24px;
    border-radius: var(--radius-md);
  }
  .recommender-modal__close {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    font-size: 20px;
  }
}

.recommender-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.recommender-question {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.question-label {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.options-grid--cols2 {
  grid-template-columns: repeat(2, 1fr);
}

.options-grid--cols3 {
  grid-template-columns: repeat(3, 1fr);
}

.option-card {
  position: relative;
  cursor: pointer;
  display: flex;
  border: 1px solid rgba(13, 27, 76, 0.08);
  border-radius: var(--radius-sm);
  background: #ffffff;
  padding: 16px 20px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.option-card input[type="radio"],
.option-card input[type="checkbox"] {
  position: absolute;
  top: 20px;
  left: 20px;
  margin: 0;
  opacity: 0;
  width: 0;
  height: 0;
}

.option-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 24px;
  position: relative;
  width: 100%;
}

.option-content::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(13, 27, 76, 0.2);
  border-radius: 50%;
  transition: border-color 180ms ease, background 180ms ease;
}

/* Checkbox specific indicator */
.option-card--checkbox .option-content::before {
  border-radius: 4px;
}

.option-card:hover {
  border-color: rgba(30, 72, 255, 0.25);
  box-shadow: 0 8px 20px rgba(13, 27, 76, 0.03);
}

/* Active / Checked States */
.option-card:has(input:checked) {
  border-color: var(--ocean);
  background: rgba(30, 72, 255, 0.03);
  box-shadow: 0 8px 24px rgba(30, 72, 255, 0.06);
}

.option-card:has(input:checked) .option-content::before {
  border-color: var(--ocean);
  background: var(--ocean);
}

.option-card:has(input:checked) .option-content::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
}

.option-card--checkbox:has(input:checked) .option-content::after {
  content: "✓";
  position: absolute;
  left: 4px;
  top: 0px;
  background: none;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
}

.option-content strong {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.option-content span {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.3;
}

/* Results Area styles */
.recommender-result {
  margin-top: 40px;
  padding: 32px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(30, 72, 255, 0.05) 0%, rgba(255, 255, 255, 0.9) 100%);
  border: 1px solid rgba(30, 72, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.result-badge {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ocean);
  background: rgba(30, 72, 255, 0.1);
  padding: 6px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}


.recommender-result h4 {
  font-size: 1.45rem;
  margin: 0;
  color: var(--ink);
}

.recommender-result p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.result-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Selectable Pricing Cards ---------- */
.pricing-card--interactive {
  cursor: pointer;
  border: 2px solid transparent !important;
}

.pricing-card--interactive.is-selected {
  border: 2px solid var(--sand) !important;
  box-shadow: 0 20px 48px rgba(13, 27, 76, 0.18) !important;
}

.pricing-card__price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ocean);
  margin: 6px 0 0;
  font-family: "SVN-Neutraface 2", "Josefin Sans", sans-serif;
}

.card-badge-highlight {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--sand);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.68rem;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(255, 210, 0, 0.3);
}

/* Button styles inside selected state */
.pricing-card.is-selected .button--select-package {
  background: var(--ocean) !important;
  color: #ffffff !important;
}

.pricing-card--featured.is-selected .button--select-package {
  background: var(--sand) !important;
  color: var(--ink) !important;
}

/* ---------- Quote Builder / Calculator ---------- */
.quote-builder-container {
  margin: 40px 0;
  width: 100%;
}

.quote-builder-card {
  background: rgba(255, 255, 255, 0.65) !important;
  border: 1px solid rgba(13, 27, 76, 0.08) !important;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 16px 48px rgba(13, 27, 76, 0.04);
  backdrop-filter: blur(12px);
}

.quote-builder-header {
  margin-bottom: 28px;
}

.quote-builder-header h3 {
  font-size: 1.6rem;
  margin: 0 0 8px;
  color: var(--ink);
}

.quote-builder-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.active-package-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--ink);
  color: #ffffff;
  padding: 16px 28px;
  border-radius: var(--radius-sm);
  margin-bottom: 32px;
}

.package-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.active-package-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
}

.package-info h4 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
}

.package-price span {
  font-family: "SVN-Neutraface 2", "Josefin Sans", sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--sand);
}

.quote-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}

.column-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--ink);
  border-bottom: 1px solid rgba(13, 27, 76, 0.06);
  padding-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.quote-inputs-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.addon-input-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(13, 27, 76, 0.08);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  transition: border-color 180ms ease;
}

.addon-input-group:hover {
  border-color: rgba(30, 72, 255, 0.15);
}

.addon-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.addon-title {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}

.addon-desc {
  font-size: 0.78rem;
  color: var(--muted);
}

.counter-control {
  display: flex;
  align-items: center;
  border: 1px solid rgba(13, 27, 76, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.counter-btn {
  background: #f8f9fa;
  border: none;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: background 180ms ease;
}

.counter-btn:hover {
  background: #e9ecef;
}

.counter-input {
  width: 44px;
  height: 32px;
  text-align: center;
  border: none;
  border-left: 1px solid rgba(13, 27, 76, 0.12);
  border-right: 1px solid rgba(13, 27, 76, 0.12);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  -moz-appearance: textfield;
}

.counter-input::-webkit-outer-spin-button,
.counter-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.addon-input-group--checkbox {
  cursor: pointer;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  width: 100%;
}

.addon-checkbox {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  accent-color: var(--ocean);
  cursor: pointer;
}

.addon-title-check {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}

.addon-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  background: #eef0f6;
  padding: 4px 10px;
  border-radius: 999px;
  flex-shrink: 0;
}

/* Right Column: Bill Summary styling */
.quote-summary-column {
  background: #ffffff;
  border: 1px solid rgba(13, 27, 76, 0.08);
  border-radius: var(--radius-sm);
  padding: 24px;
  box-shadow: 0 8px 28px rgba(13, 27, 76, 0.02);
  display: flex;
  flex-direction: column;
}

.bill-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-grow: 1;
}

.bill-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--muted);
}

.bill-line span:last-child {
  font-weight: 600;
  color: var(--ink);
}

.bill-line.is-hidden {
  display: none;
}

.bill-divider {
  height: 1px;
  background: rgba(13, 27, 76, 0.08);
  margin: 8px 0;
}

.bill-line--total {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
}

.bill-line--total span:last-child {
  font-family: "SVN-Neutraface 2", "Josefin Sans", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ocean);
}

.bill-note {
  font-size: 0.74rem;
  color: var(--muted);
  margin: 16px 0 0;
  line-height: 1.4;
}

.quote-actions {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.copy-success-msg {
  display: none;
  font-size: 0.8rem;
  color: #2b8a3e;
  font-weight: 600;
  text-align: center;
}

.w-full {
  width: 100%;
}

/* ---------- Comparison Table ---------- */
.comparison-table-container {
  margin: 40px 0;
  width: 100%;
}

.table-card {
  background: rgba(255, 255, 255, 0.65) !important;
  border: 1px solid rgba(13, 27, 76, 0.08) !important;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 16px 48px rgba(13, 27, 76, 0.04);
  backdrop-filter: blur(12px);
}

.table-header {
  margin-bottom: 28px;
}

.table-header h3 {
  font-size: 1.6rem;
  margin: 0 0 8px;
  color: var(--ink);
}

.table-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.table-wrapper {
  overflow-x: auto;
  border: 1px solid rgba(13, 27, 76, 0.08);
  border-radius: var(--radius-sm);
  background: #ffffff;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(13, 27, 76, 0.06);
  color: var(--muted);
  vertical-align: middle;
}

.comparison-table th {
  background: #f8f9fa;
  color: var(--ink);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.comparison-table tbody tr:hover {
  background: rgba(30, 72, 255, 0.01);
}

.comparison-table td strong {
  color: var(--ink);
}

.col-feature {
  width: 25%;
  font-weight: 600;
  color: var(--ink) !important;
  background: #fcfdfd;
}

.col-basic,
.col-premium {
  width: 25%;
}

.col-standard {
  width: 25%;
}

.featured-col {
  background: rgba(30, 72, 255, 0.02);
  border-left: 1px solid rgba(30, 72, 255, 0.1);
  border-right: 1px solid rgba(30, 72, 255, 0.1);
}

th.featured-col {
  background: rgba(30, 72, 255, 0.05);
  color: var(--ocean);
}

.row-price td {
  font-size: 1.05rem;
  background: #fdfdfd;
}

.row-price td.featured-col {
  background: rgba(30, 72, 255, 0.04);
}

/* ---------- Scope note and Branding CTA ---------- */
.scope-branding-block {
  margin: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.scope-note {
  background: rgba(255, 255, 255, 0.5);
  border-left: 4px solid var(--ocean);
  padding: 16px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.scope-note p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

.branding-cta-card {
  background: linear-gradient(135deg, var(--ink) 0%, #15245c 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 32px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  box-shadow: 0 16px 36px rgba(13, 27, 76, 0.1);
}

.branding-cta-content h4 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sand);
}

.branding-cta-content p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.branding-cta-action .button {
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  white-space: nowrap;
}

.branding-cta-action .button:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: #ffffff !important;
}

/* ---------- Responsive Additions ---------- */
@media (max-width: 960px) {
  .quote-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .branding-cta-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    gap: 20px;
  }
  
  .branding-cta-action {
    width: 100%;
  }
  
  .branding-cta-action .button {
    width: 100%;
  }
}

/* ---------- Collapsible Sections ---------- */
.collapsible-section {
  background: rgba(255, 255, 255, 0.65) !important;
  border: 1px solid rgba(13, 27, 76, 0.08) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 16px 48px rgba(13, 27, 76, 0.04);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease;
  width: 100%;
  margin-bottom: 32px;
}

.collapsible-section:hover {
  border-color: rgba(30, 72, 255, 0.2) !important;
  box-shadow: 0 20px 48px rgba(13, 27, 76, 0.08);
}

.collapsible-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 40px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
  outline: none;
}

.collapsible-summary::-webkit-details-marker {
  display: none;
}

.collapsible-summary::after {
  content: "+";
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--ocean);
  transition: transform 180ms ease;
}

.collapsible-section[open] .collapsible-summary::after {
  content: "−";
}

.collapsible-content {
  padding: 0 40px 40px;
  border-top: 1px solid rgba(13, 27, 76, 0.06);
  padding-top: 32px;
  animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* ---------- Case Study Backgrounds ---------- */
.case--laza {
  color: #ffffff;
  background:
    linear-gradient(to bottom, rgba(13, 27, 76, 0.15), rgba(13, 27, 76, 0.7)),
    url('assets/cases/laza/laza.png') center top/cover no-repeat;
}

.case--jci {
  color: #ffffff;
  background:
    linear-gradient(to bottom, rgba(13, 27, 76, 0.15), rgba(13, 27, 76, 0.7)),
    url('assets/cases/jci/jci.png') center top/cover no-repeat;
}

.case--uyvu {
  color: #ffffff;
  background:
    linear-gradient(to bottom, rgba(13, 27, 76, 0.15), rgba(13, 27, 76, 0.7)),
    url('assets/cases/uyvu/uyvu.png') center top/cover no-repeat;
}

.case--syv {
  color: #ffffff;
  background:
    linear-gradient(to bottom, rgba(13, 27, 76, 0.15), rgba(13, 27, 76, 0.7)),
    url('assets/cases/syv/syv.png') center top/cover no-repeat;
}

.case--ssm {
  color: #ffffff;
  background:
    linear-gradient(to bottom, rgba(13, 27, 76, 0.15), rgba(13, 27, 76, 0.7)),
    url('assets/cases/ssm/ssm.png') center top/cover no-repeat;
}

.case--gdyk {
  color: #ffffff;
  background:
    linear-gradient(to bottom, rgba(13, 27, 76, 0.15), rgba(13, 27, 76, 0.7)),
    url('assets/cases/gdyk/gdyk.png') center top/cover no-repeat;
}

.case--duesing {
  color: #ffffff;
  background:
    linear-gradient(to bottom, rgba(13, 27, 76, 0.15), rgba(13, 27, 76, 0.7)),
    url('assets/cases/duesing/duesing.png') center top/cover no-repeat;
}

.case--rongtiensa {
  color: #ffffff;
  background:
    linear-gradient(to bottom, rgba(13, 27, 76, 0.15), rgba(13, 27, 76, 0.7)),
    url('assets/cases/rongtiensa/rongtiensa.png') center top/cover no-repeat;
}

.case--masterise {
  color: #ffffff;
  background:
    linear-gradient(to bottom, rgba(13, 27, 76, 0.15), rgba(13, 27, 76, 0.7)),
    url('assets/cases/masterise/masterise.png') center top/cover no-repeat;
}

/* ---------- Case Gallery Modal Spec ---------- */
.case-modal::backdrop {
  background: rgba(8, 18, 45, 0.72) !important;
  backdrop-filter: blur(12px) !important;
}

.case-modal[open]::backdrop {
  animation: caseBackdropReveal 400ms ease forwards;
}

@keyframes caseBackdropReveal {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(12px);
  }
}

.case-modal {
  display: none !important;
  width: min(92vw, 1440px) !important;
  max-width: none !important;
  height: min(90vh, 960px) !important;
  max-height: 90vh !important;
  background: #fffdf8 !important;
  border-radius: 32px !important;
  box-shadow: 0 32px 90px rgba(8, 18, 45, 0.28) !important;
  padding: 32px !important;
  border: 1px solid rgba(15, 23, 42, 0.10) !important;
  overflow: hidden !important;
  flex-direction: column;
  gap: 24px;
}

.case-modal[open] {
  display: flex !important;
  animation: caseModalReveal 400ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.case-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  padding-bottom: 16px;
  flex-shrink: 0;
}

.case-modal-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.breadcrumb-icon {
  stroke: var(--muted);
}

.case-modal-close-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 20px;
  transition: background-color 180ms ease, color 180ms ease;
}

.case-modal-close-btn:hover {
  background-color: rgba(13, 27, 76, 0.05);
  color: var(--ocean);
}

.close-icon {
  stroke: currentColor;
}

.case-modal-body {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(360px, 0.9fr);
  gap: 40px;
  flex-grow: 1;
  overflow-y: auto;
  min-height: 0;
}

/* Left: Gallery Area */
.case-gallery-area {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 0;
}

.case-main-image-container {
  flex-grow: 1;
  min-height: 0;
}

.case-main-image {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 350px;
  border-radius: 24px;
  overflow: hidden;
  background: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.case-main-image img {
  width: 100%;
  height: 100%;
}

.case-main-image img[data-fit="cover"] {
  object-fit: cover;
}

.case-main-image img[data-fit="contain"] {
  object-fit: contain;
}

.case-main-image-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(28px);
  transform: scale(1.08);
  opacity: 0.36;
  pointer-events: none;
}

.case-main-image-main {
  position: relative;
  z-index: 1;
}

.case-main-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 18, 45, 0.06) 0%,
    rgba(8, 18, 45, 0.1) 45%,
    rgba(8, 18, 45, 0.65) 100%
  );
  pointer-events: none;
}

.case-service-chip {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--ocean);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(30, 72, 255, 0.25);
}

.case-image-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  opacity: 0.7;
  transition: opacity 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.case-image-nav:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.05);
}

.case-image-nav-prev {
  left: 20px;
}

.case-image-nav-next {
  right: 20px;
}

.case-image-fullscreen {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  opacity: 0.7;
  transition: opacity 180ms ease, background-color 180ms ease;
}

.case-image-fullscreen:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.3);
}

.case-image-overlay-text {
  position: absolute;
  bottom: 24px;
  left: 28px;
  right: 28px;
  z-index: 2;
  color: #ffffff;
}

.case-image-overlay-text h2 {
  font-size: 1.8rem;
  margin: 0 0 4px;
  color: #ffffff;
  font-weight: 700;
}

.case-image-overlay-text p {
  font-size: 0.95rem;
  margin: 0;
  opacity: 0.9;
}

.case-gallery-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.case-counter {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

.case-gallery-filters {
  display: flex;
  gap: 8px;
}

.gallery-filter-btn {
  background: rgba(15, 23, 42, 0.04);
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

.gallery-filter-btn:hover {
  background: rgba(15, 23, 42, 0.08);
  color: var(--ink);
}

.gallery-filter-btn.active {
  background: #eef4ff;
  color: #1457ff;
}

.gallery-filter-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.case-thumbnail-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
  flex-shrink: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 23, 42, 0.1) transparent;
}

.case-thumb-btn {
  width: 120px;
  height: 120px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid transparent;
  flex: 0 0 auto;
  background: #f3f4f8;
  cursor: pointer;
  padding: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.case-thumb-btn:hover {
  transform: translateY(-2px);
}

.case-thumb-btn.active {
  border-color: #1457ff;
  box-shadow: 0 8px 24px rgba(20, 87, 255, 0.22);
}

.case-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Right: Info Panel */
.case-info-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow-y: auto;
  padding-right: 4px;
  flex-shrink: 0;
}

.case-category {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

.case-info-panel h1 {
  font-size: 2.2rem;
  color: #07184a;
  margin: 0;
  font-weight: 700;
  line-height: 1.15;
}

.case-description {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #334155;
  margin: 0;
}

.case-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.case-info-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.75);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.03);
}

.case-info-card-label {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
}

.case-info-card-value {
  margin-top: 4px;
  font-size: 0.88rem;
  line-height: 1.35;
  color: #07184a;
  font-weight: 700;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-tags span {
  font-size: 0.78rem;
  color: #334155;
  background: rgba(15, 23, 42, 0.05);
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 600;
}

.case-actions {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
  margin-top: 10px;
}

.case-actions .button {
  height: 48px;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Fullscreen Gallery */
.fullscreen-gallery {
  display: none !important;
  width: 100vw !important;
  max-width: none !important;
  height: 100vh !important;
  max-height: none !important;
  border: none !important;
  background: rgba(8, 18, 45, 0.97) !important;
  color: #ffffff;
  padding: 0 !important;
  align-items: center;
  justify-content: center;
}

.fullscreen-gallery[open] {
  display: flex !important;
  animation: fsReveal 350ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fullscreen-gallery[open] .fullscreen-viewer {
  animation: fsViewerReveal 350ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fsReveal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fsViewerReveal {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.fullscreen-gallery::backdrop {
  background: rgba(8, 18, 45, 0.98);
}

.fullscreen-viewer {
  position: relative;
  width: 90vw;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fullscreen-viewer img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.fullscreen-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 10;
  opacity: 0.7;
  transition: opacity 180ms ease, transform 180ms ease;
  line-height: 1;
}

.fullscreen-close:hover {
  opacity: 1;
  transform: scale(1.1);
}

.fullscreen-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  font-size: 2.5rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 180ms ease, opacity 180ms ease;
  opacity: 0.7;
}

.fullscreen-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  opacity: 1;
}

.fullscreen-prev {
  left: 20px;
}

.fullscreen-next {
  right: 20px;
}

.fullscreen-counter {
  position: absolute;
  bottom: 20px;
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.4);
  padding: 6px 16px;
  border-radius: 20px;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .case-modal-body {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .case-info-panel {
    overflow-y: visible;
  }
}

@media (max-width: 768px) {
  .case-modal {
    width: 100vw !important;
    height: 100dvh !important;
    max-height: none !important;
    border-radius: 0 !important;
    padding: 16px !important;
  }

  .case-modal-header {
    padding-bottom: 12px !important;
  }

  .case-modal-breadcrumb span {
    font-size: 0.68rem;
  }

  .case-modal-breadcrumb .breadcrumb-prefix {
    display: none !important;
  }

  /* Compact circle close button on mobile */
  .case-modal-close-btn {
    padding: 8px !important;
    border-radius: 50% !important;
    gap: 0 !important;
  }
  .case-modal-close-btn span {
    display: none !important;
  }

  .case-modal-body {
    padding-bottom: 30px;
    gap: 20px !important;
  }

  .case-main-image {
    min-height: 240px;
    aspect-ratio: 4 / 3;
  }

  /* Compact thumbnails on mobile */
  .case-thumb-btn {
    width: 90px !important;
    height: 68px !important;
    border-radius: 12px !important;
  }

  .case-info-grid {
    grid-template-columns: 1fr;
    gap: 12px !important;
  }

  .case-actions {
    grid-template-columns: 1fr;
    gap: 10px !important;
  }
  
  .case-gallery-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* Optimize modal tools padding to prevent wasting horizontal space */
  .recommender-modal {
    width: 95% !important;
  }
  .recommender-modal__body {
    padding: 16px !important;
    border-radius: var(--radius-md) !important;
    max-height: 90vh !important;
    overflow-y: auto !important; /* Allow body scrolling on mobile */
    display: block !important;
  }
  .quote-builder-card, .table-card {
    padding: 16px !important;
    border-radius: var(--radius-md) !important;
  }

  .options-grid,
  .options-grid--cols2,
  .options-grid--cols3 {
    grid-template-columns: 1fr !important;
  }

  .recommender-content-layout {
    display: block !important;
    height: auto !important;
    margin-top: 20px !important;
  }

  .recommender-questions-scroll {
    overflow-y: visible !important;
    height: auto !important;
    padding-right: 0 !important;
  }

  .recommender-result-panel {
    height: auto !important;
    margin-top: 24px !important;
  }

  .recommender-result-panel .recommender-result {
    margin-top: 0 !important;
    padding: 24px 16px !important;
  }

  /* Fullscreen slideshow mobile overrides */
  .fullscreen-close {
    top: 16px !important;
    right: 16px !important;
    font-size: 2rem !important;
  }
  .fullscreen-nav {
    width: 44px !important;
    height: 44px !important;
    font-size: 1.8rem !important;
  }
  .fullscreen-prev {
    left: 8px !important;
  }
  .fullscreen-next {
    right: 8px !important;
  }
}

/* ---------- Contact Section Upgrade ---------- */
.section--contact {
  padding: 100px 0 120px;
}

/* Remove default styles from styles.css if any */
.section--contact .contact-panel {
  background: #ffffff;
  border-radius: 40px;
  border: 1px solid rgba(13, 27, 76, 0.06);
  box-shadow: 0 30px 70px rgba(13, 27, 76, 0.04);
  padding: 60px 60px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.section--contact .contact-panel::before {
  display: none; /* Hide the background circle from styles.css */
}

.contact-panel-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

.contact-panel-left {
  flex: 1.2;
  max-width: 580px;
}

.contact-panel-right {
  flex: 0.8;
  max-width: 440px;
  display: flex;
  justify-content: center;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0f4ff;
  border-radius: 8px;
  padding: 8px 16px;
  margin-bottom: 24px;
}

.contact-badge span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #1e48ff;
  font-family: var(--font-sans);
}

.contact-badge .badge-icon {
  color: #1e48ff;
}

.contact-panel-left h2 {
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.25;
  color: #0d1b4c;
  margin: 0 0 20px;
  font-family: "SVN-Neutraface 2", "Josefin Sans", sans-serif;
  max-width: 15ch;
}

.contact-panel-left h2 span.highlight-under {
  position: relative;
  display: inline-block;
  color: inherit;
  z-index: 1;
}

.contact-panel-left h2 span.highlight-under::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 8px;
  height: 14px;
  background: rgba(30, 72, 255, 0.09);
  z-index: -1;
  border-radius: 4px;
  transform: rotate(-1.5deg);
}

.contact-description {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #556080;
  margin: 0 0 40px;
}

.contact-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-buttons .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 28px;
  border-radius: 14px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: all 250ms cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: pointer;
}

.contact-buttons .btn-call {
  background: #1e48ff;
  color: #ffffff;
  border: none;
  box-shadow: 0 10px 24px rgba(30, 72, 255, 0.22);
}

.contact-buttons .btn-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(30, 72, 255, 0.32);
  background: #0d32d9;
}

.contact-buttons .btn-call:active {
  transform: translateY(0);
}

.contact-buttons .btn-email,
.contact-buttons .btn-messenger {
  background: #ffffff;
  color: #0d1b4c;
  border: 1px solid rgba(13, 27, 76, 0.12);
  box-shadow: 0 2px 4px rgba(13, 27, 76, 0.01);
}

.contact-buttons .btn-email:hover,
.contact-buttons .btn-messenger:hover {
  transform: translateY(-2px);
  border-color: #1e48ff;
  color: #1e48ff;
  box-shadow: 0 10px 20px rgba(30, 72, 255, 0.08);
}

.contact-buttons .btn-email:active,
.contact-buttons .btn-messenger:active {
  transform: translateY(0);
}

.contact-buttons .btn-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

/* ---------- 3D Brand Illustration Graphic ---------- */
.brand-graphic {
  position: relative;
  width: 100%;
  height: 360px;
  margin: 0 auto;
  max-width: 400px;
}

.graphic-dots {
  position: absolute;
  top: 15%;
  right: 5%;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(rgba(13, 27, 76, 0.08) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  z-index: 1;
}

.graphic-path-left {
  position: absolute;
  left: 5%;
  bottom: 90px;
  width: 120px;
  height: 160px;
  border-left: 1px dashed rgba(30, 72, 255, 0.12);
  border-top: 1px dashed rgba(30, 72, 255, 0.12);
  border-top-left-radius: 80px;
  pointer-events: none;
  z-index: 1;
}

.graphic-path-right {
  position: absolute;
  right: 5%;
  top: 20%;
  width: 100px;
  height: 100px;
  border-right: 1px dashed rgba(30, 72, 255, 0.12);
  border-top: 1px dashed rgba(30, 72, 255, 0.12);
  border-top-right-radius: 60px;
  pointer-events: none;
  z-index: 1;
}

.graphic-node {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #1e48ff;
  border-radius: 50%;
  z-index: 3;
}

.graphic-node.node-1 {
  left: 5%;
  top: 55%;
  box-shadow: 0 0 0 4px rgba(30, 72, 255, 0.15);
}

.graphic-node.node-1::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(30, 72, 255, 0.35);
  animation: pulseGlow 2s infinite ease-in-out;
}

.graphic-node.node-2 {
  left: 32%;
  top: 35%;
  background: #3b82f6;
  width: 6px;
  height: 6px;
}

.graphic-node.node-3 {
  right: 15%;
  top: 25%;
  background: #2563eb;
  width: 7px;
  height: 7px;
}

.graphic-podium {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 50px;
  background: linear-gradient(180deg, #fefdfb 0%, #ede8dc 100%);
  border-radius: 140px / 25px;
  box-shadow: 0 15px 35px rgba(13, 27, 76, 0.08);
  z-index: 2;
}

.graphic-podium::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 10%;
  width: 80%;
  height: 15px;
  background: rgba(30, 72, 255, 0.3);
  filter: blur(12px);
  z-index: -1;
  border-radius: 50%;
  animation: podiumGlow 3s infinite alternate ease-in-out;
}

.graphic-glow-arch-back {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-35%);
  width: 170px;
  height: 240px;
  background: linear-gradient(135deg, rgba(30, 72, 255, 0.25) 0%, rgba(30, 72, 255, 0) 100%);
  border-top-left-radius: 85px;
  border-top-right-radius: 85px;
  filter: blur(15px);
  z-index: 1;
}

.graphic-glow-arch {
  position: absolute;
  bottom: 42px;
  left: 50%;
  transform: translateX(-35%) perspective(800px) rotateY(-12deg) rotateX(4deg);
  width: 160px;
  height: 230px;
  background: linear-gradient(135deg, rgba(30, 72, 255, 0.6) 0%, rgba(30, 72, 255, 0.1) 100%);
  border-top-left-radius: 80px;
  border-top-right-radius: 80px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 -8px 25px rgba(30, 72, 255, 0.15);
  z-index: 3;
}

.graphic-glass-card {
  position: absolute;
  bottom: 65px;
  left: 50%;
  width: 200px;
  background: #ffffff;
  border-radius: 24px;
  padding: 24px 20px;
  box-shadow: 0 15px 30px rgba(13, 27, 76, 0.08);
  border: 1px solid rgba(13, 27, 76, 0.04);
  z-index: 4;
  text-align: center;
  animation: floatCard 4s infinite ease-in-out;
}

.graphic-logo {
  height: 32px;
  width: auto;
  display: inline-block;
  margin-bottom: 8px;
  opacity: 0.95;
}

.graphic-glass-card hr {
  border: 0;
  height: 1px;
  background: rgba(13, 27, 76, 0.08);
  margin: 16px auto;
  width: 85%;
}

.graphic-slogan {
  font-size: 0.8rem;
  line-height: 1.4;
  color: #556080;
  margin: 0 0 16px;
  font-weight: 500;
  padding: 0 10px;
}

.graphic-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.graphic-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  color: #1e48ff;
  border: 1px solid rgba(13, 27, 76, 0.06);
  box-shadow: 0 4px 10px rgba(13, 27, 76, 0.04);
  transition: all 250ms ease;
  text-decoration: none;
}

.graphic-icon-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.graphic-icon-btn:hover {
  background: #1e48ff;
  color: #ffffff;
  border-color: #1e48ff;
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(30, 72, 255, 0.25);
}

/* ---------- Footer info section ---------- */
.contact-panel-divider {
  width: 100%;
  height: 1px;
  background: rgba(13, 27, 76, 0.08);
  margin: 40px 0;
}

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

.footer-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(13, 27, 76, 0.08);
  box-shadow: 0 4px 12px rgba(13, 27, 76, 0.02);
  color: #1e48ff;
  flex-shrink: 0;
}

.footer-icon {
  width: 20px;
  height: 20px;
  stroke-width: 2px;
}

.footer-info-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.9rem;
  line-height: 1.4;
}

.footer-info-text strong {
  color: #0d1b4c;
  font-weight: 700;
}

.footer-info-text span,
.footer-info-text a {
  color: #556080;
  text-decoration: none;
  transition: color 200ms ease;
}

.footer-info-text a:hover {
  color: #1e48ff;
}

/* ---------- Keyframes ---------- */
@keyframes floatCard {
  0% { transform: translateX(-65%) perspective(800px) translateY(0px) translateZ(10px) rotateY(-4deg); }
  50% { transform: translateX(-65%) perspective(800px) translateY(-8px) translateZ(20px) rotateY(-4deg); }
  100% { transform: translateX(-65%) perspective(800px) translateY(0px) translateZ(10px) rotateY(-4deg); }
}

@keyframes podiumGlow {
  0% {
    opacity: 0.6;
    transform: scale(0.95) blur(10px);
  }
  100% {
    opacity: 0.95;
    transform: scale(1.05) blur(14px);
  }
}

@keyframes pulseGlow {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* ---------- Responsive Overrides for Contact Panel ---------- */
@media (max-width: 1024px) {
  .section--contact .contact-panel {
    padding: 40px;
    border-radius: 30px;
  }

  .contact-panel-main {
    flex-direction: column;
    gap: 50px;
    text-align: center;
    align-items: center;
  }

  .contact-panel-left {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .contact-panel-left h2 {
    max-width: 100%;
  }

  .contact-buttons {
    justify-content: center;
    width: 100%;
  }

  .contact-panel-right {
    width: 100%;
    max-width: 100%;
  }

  .contact-panel-footer {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-info-item {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .section--contact {
    padding: 60px 0 80px;
  }

  .section--contact .contact-panel {
    padding: 30px 20px;
    border-radius: 24px;
  }

  .contact-buttons .button {
    width: 100%;
    padding: 0 16px;
  }

  .contact-panel-left h2 {
    font-size: 1.8rem;
  }

  .contact-description {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }
  
  .brand-graphic {
    height: 320px;
  }
  
  .graphic-podium {
    width: 240px;
    height: 40px;
  }
  
  .graphic-glow-arch-back,
  .graphic-glow-arch {
    width: 140px;
    height: 200px;
  }
  
  .graphic-glass-card {
    width: 180px;
    padding: 20px 16px;
  }

  @keyframes floatCard {
    0% { transform: translateX(-60%) perspective(800px) translateY(0px) rotateY(-4deg); }
    50% { transform: translateX(-60%) perspective(800px) translateY(-6px) rotateY(-4deg); }
    100% { transform: translateX(-60%) perspective(800px) translateY(0px) rotateY(-4deg); }
  }
}

/* ---------- Pricing Grid Tools (Side-by-Side buttons inside solid blue background) ---------- */
.pricing-grid-tools {
  grid-column: 1 / -1; /* Span all columns in pricing grid */
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  padding-top: 28px;
  box-sizing: border-box;
}

.pricing-grid-tools .tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 22px;
  background: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 22px !important;
  color: var(--ocean) !important;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(13, 27, 76, 0.06);
  transition: all 250ms cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  box-sizing: border-box;
}

.pricing-grid-tools .tool-btn:hover {
  background: #f0f4ff;
  border-color: #ffffff !important;
  color: #0d32d9 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 27, 76, 0.12);
}

.pricing-grid-tools .tool-btn:active {
  transform: translateY(0);
}

/* Modal styling overrides to style dialog calculations and comparisons */
.recommender-modal .quote-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .pricing-grid-tools {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  
  .pricing-grid-tools .tool-btn {
    width: 100%;
  }

  .recommender-modal .quote-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

body.service-page {
  overflow-x: hidden;
  background: linear-gradient(180deg, #fff8ed 0%, #fffdf8 1000px, #fbf9f4 2200px, #f5ede4 100%) no-repeat !important;
  background-attachment: scroll !important;
}

/* Make page-shell full-width to allow full-screen backgrounds */
.service-page .page-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 134px 0 72px; /* 106px header offset + 28px padding */
  margin-top: -106px;    /* Pull up behind sticky header */
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 226, 159, 0.22), transparent 34%),
    radial-gradient(circle at 82% 35%, rgba(20, 87, 255, 0.10), transparent 32%);
  overflow: hidden;
}

@media (max-width: 1200px) {
  .hero-section {
    margin-top: 0;
    padding-top: 28px;
  }
}

.hero-container {
  width: min(1360px, calc(100vw - 96px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

@media (max-width: 1200px) {
  .hero-container {
    width: calc(100vw - 48px);
  }
}

@media (max-width: 768px) {
  .hero-container {
    width: calc(100vw - 32px);
  }
}

/* Constrain other sections and footer to centered content area */
.service-page .section,
.service-page .site-footer {
  width: min(100%, 1288px); /* 1240px content + 48px padding */
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

.service-page .section {
  padding-top: 72px;
}

.service-page .site-footer {
  padding-top: 48px;
  padding-bottom: 48px;
}

@media (max-width: 768px) {
  .service-page .section {
    padding-top: 48px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .service-page .site-footer {
    padding-top: 32px;
    padding-bottom: 32px;
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Navbar */
.hero-navbar {
  height: 88px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.86);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 24px 80px rgba(7, 24, 74, 0.08),
    inset 0 0 0 1px rgba(7, 24, 74, 0.06);
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px 0 28px;
  box-sizing: border-box;
  
  /* Center floating navbar */
  width: min(1360px, calc(100vw - 96px));
  margin: 18px auto 0;
}

@media (max-width: 1200px) {
  .hero-navbar {
    width: calc(100vw - 48px);
    margin: 16px auto 0;
  }
}

@media (max-width: 768px) {
  .hero-navbar {
    width: calc(100vw - 32px);
    margin: 12px auto 0;
  }
}

.nav-logo {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1457ff 0%, #0928c9 100%);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 14px 32px rgba(20, 87, 255, 0.28);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 42px;
  font-size: 14px;
  font-weight: 800;
  color: #07184a;
  letter-spacing: 0.02em;
}

.nav-links a {
  color: #07184a;
  text-decoration: none;
  transition: color 200ms ease;
}

.nav-links a:hover {
  color: #1457ff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-portfolio {
  height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid rgba(7, 24, 74, 0.16);
  background: rgba(255, 255, 255, 0.72);
  color: #07184a;
  font-weight: 800;
  cursor: pointer;
  transition: all 200ms ease;
}

.btn-portfolio:hover {
  background: #ffffff;
  border-color: rgba(7, 24, 74, 0.3);
  transform: translateY(-1px);
}

.btn-consult {
  height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #1457ff 0%, #0928c9 100%);
  color: white;
  font-weight: 900;
  box-shadow: 0 18px 38px rgba(20, 87, 255, 0.30);
  cursor: pointer;
  transition: all 200ms ease;
}

.btn-consult:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 22px 42px rgba(20, 87, 255, 0.38);
}

/* Grid */
.hero-main {
  display: grid;
  grid-template-columns: 58fr 42fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
  padding-top: 64px;
  box-sizing: border-box;
}

/* Left Content */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: #1457ff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-eyebrow::after {
  content: "";
  width: 74px;
  height: 1px;
  background: linear-gradient(90deg, #d8a928, transparent);
}

.hero-title {
  max-width: 820px;
  margin: 0;
  color: #07184a;
  font-size: clamp(48px, 4.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.055em;
  font-weight: 950;
  font-family: "SVN-Gilroy", "Be Vietnam Pro", system-ui, sans-serif;
  text-align: left;
}

.hero-title-highlight {
  position: relative;
  display: inline-block;
  color: #1457ff;
  z-index: 1;
}

.hero-title-highlight::after {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  bottom: 8px;
  height: 16px;
  background: linear-gradient(90deg, rgba(255, 211, 90, 0.75), rgba(255, 211, 90, 0.18));
  border-radius: 999px;
  z-index: -1;
  transform: rotate(-1.2deg);
}

.hero-description {
  max-width: 670px;
  margin-top: 18px;
  color: #334155;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 500;
  text-align: left;
}

.hero-value-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: #1457ff;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* CTA */
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 24px;
}

.hero-primary-btn {
  height: 64px;
  padding: 0 34px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #1457ff 0%, #0928c9 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: 0 20px 44px rgba(20, 87, 255, 0.32);
  cursor: pointer;
  transition: all 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px rgba(20, 87, 255, 0.4);
}

.hero-secondary-btn {
  height: 64px;
  padding: 0 34px;
  border-radius: 999px;
  border: 1px solid rgba(7, 24, 74, 0.16);
  background: rgba(255, 255, 255, 0.66);
  color: #07184a;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  transition: all 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-secondary-btn:hover {
  border-color: rgba(7, 24, 74, 0.3);
  background: rgba(255, 255, 255, 0.88);
  transform: translateY(-2px);
}

/* Quick Navigation Cards */
.hero-quick-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 36px;
  max-width: 840px;
}

.hero-quick-card {
  min-height: 130px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(7, 24, 74, 0.08);
  box-shadow: 0 14px 36px rgba(7, 24, 74, 0.06);
  padding: 16px 14px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.hero-quick-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 52px rgba(7, 24, 74, 0.1);
  border-color: rgba(20, 87, 255, 0.2);
}

.quick-card-number {
  width: 28px;
  height: 24px;
  border-radius: 8px;
  background: #f1f5ff;
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}

.quick-card-icon {
  color: #1457ff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.quick-card-title {
  color: #07184a;
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 4px;
}

.quick-card-desc {
  color: #64748b;
  font-size: 11px;
  line-height: 1.4;
}

/* Right USP visual module */
.hero-usp-wrap {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
}

.usp-shape-blue {
  position: absolute;
  width: 430px;
  height: 620px;
  right: 30px;
  top: 40px;
  border-radius: 60px;
  background: linear-gradient(145deg, #1457ff 0%, #07184a 100%);
  transform: rotate(8deg);
  box-shadow: 0 36px 80px rgba(20, 87, 255, 0.24);
  z-index: 0;
  transition: transform 300ms ease;
}

.usp-shape-gold {
  position: absolute;
  width: 380px;
  height: 560px;
  right: -8px;
  top: 84px;
  border-radius: 58px;
  border: 1px solid rgba(216, 169, 40, 0.45);
  transform: rotate(15deg);
  z-index: 0;
  transition: transform 300ms ease;
}

.usp-dots {
  position: absolute;
  width: 280px;
  height: 240px;
  top: 52px;
  right: 0;
  background-image: radial-gradient(rgba(20, 87, 255, 0.25) 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: 0.65;
  z-index: 0;
}

.usp-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 580px;
  min-height: 640px;
  border-radius: 38px;
  padding: 42px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.86), rgba(255,253,248,0.72));
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  border: 1px solid rgba(216, 169, 40, 0.30);
  box-shadow:
    0 40px 90px rgba(7, 24, 74, 0.15),
    inset 0 1px 0 rgba(255,255,255,0.88);
  box-sizing: border-box;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 300ms ease;
}

.hero-usp-wrap:hover .usp-panel {
  transform: translateY(-8px);
  box-shadow: 0 50px 100px rgba(7, 24, 74, 0.2);
}

.hero-usp-wrap:hover .usp-shape-blue {
  transform: rotate(6deg) scale(1.02);
}

.hero-usp-wrap:hover .usp-shape-gold {
  transform: rotate(12deg) scale(1.01);
}

.usp-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  color: #07184a;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(7, 24, 74, 0.04);
}

.usp-chip .gold-star {
  color: #d8a928;
}

.usp-title {
  color: #07184a;
  font-size: 48px;
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 950;
  margin: 0 0 34px;
  font-family: "SVN-Gilroy", "Be Vietnam Pro", system-ui, sans-serif;
  text-align: left;
}

.usp-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.usp-item {
  min-height: 106px;
  display: grid;
  grid-template-columns: 56px 1fr 52px;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(7, 24, 74, 0.08);
  box-shadow:
    0 14px 36px rgba(7, 24, 74, 0.07),
    inset 0 1px 0 rgba(255,255,255,0.8);
  box-sizing: border-box;
  transition: all 200ms ease;
}

.usp-item:hover {
  background: #ffffff;
  border-color: rgba(20, 87, 255, 0.2);
  box-shadow: 0 18px 42px rgba(7, 24, 74, 0.12);
}

.usp-number {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #1457ff 0%, #0928c9 100%);
  color: white;
  font-size: 17px;
  font-weight: 950;
  box-shadow: 0 12px 26px rgba(20, 87, 255, 0.28);
  font-family: var(--font-sans);
}

.usp-item-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.usp-item-title {
  color: #07184a;
  font-size: 18px;
  font-weight: 950;
  margin: 0 0 6px;
}

.usp-item-desc {
  color: #64748b;
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
}

.usp-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.78);
  color: #07184a;
  box-shadow: 0 10px 26px rgba(7, 24, 74, 0.08);
}

/* Background decorative details */
.hero-section::before {
  content: "";
  position: absolute;
  left: -160px;
  top: 120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(216, 169, 40, 0.20);
  box-shadow:
    0 0 0 40px rgba(216, 169, 40, 0.035),
    0 0 0 90px rgba(216, 169, 40, 0.025);
  pointer-events: none;
  z-index: 0;
}

.hero-section::after {
  content: "";
  position: absolute;
  right: 80px;
  top: 160px;
  width: 360px;
  height: 260px;
  background-image: radial-gradient(rgba(20, 87, 255, 0.20) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

/* ---------- Responsive overrides for Hero ---------- */
@media (max-width: 1440px) {
  .hero-main {
    grid-template-columns: 58fr 42fr;
    gap: 40px;
  }
  .usp-panel {
    width: 100%;
    max-width: 520px;
    min-height: auto;
  }
  .usp-shape-blue {
    width: 380px;
    height: 540px;
  }
  .usp-shape-gold {
    width: 340px;
    height: 480px;
  }
}

@media (max-width: 1200px) {
  .hero-navbar {
    height: auto;
    border-radius: 24px;
    flex-direction: column;
    padding: 16px;
    gap: 16px;
  }
  .nav-links {
    gap: 24px;
  }
  .hero-main {
    grid-template-columns: 1fr !important;
    gap: 60px;
    text-align: center;
    padding-top: 40px;
  }
  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-title {
    text-align: center;
  }
  .hero-description {
    text-align: center;
  }
  .hero-value-line {
    justify-content: center;
  }
  .hero-cta-row {
    justify-content: center;
  }
  .hero-quick-cards {
    max-width: 100%;
    justify-content: center;
  }
  .hero-usp-wrap {
    min-height: auto;
    padding: 40px 0;
  }
  .usp-shape-blue,
  .usp-shape-gold,
  .usp-dots {
    display: none; /* Hide background shapes on mobile/tablet to avoid clipping */
  }
  .usp-panel {
    max-width: 600px;
    background: #ffffff;
    border-color: rgba(7, 24, 74, 0.08);
  }
}

@media (max-width: 768px) {
  .hero-quick-cards {
    grid-template-columns: 1fr !important;
    width: 100%;
  }
  .hero-cta-row {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-primary-btn,
  .hero-secondary-btn {
    width: 100%;
  }
  .usp-item {
    grid-template-columns: 48px 1fr auto !important;
    padding: 16px;
    gap: 12px;
  }
  .usp-number,
  .usp-item-icon {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }
  .usp-title {
    font-size: 32px;
    margin-bottom: 24px;
  }
  .usp-panel {
    padding: 24px;
  }
}





