/* =============================================
   COMCAT AI - Custom Styles
   ============================================= */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans/plus-jakarta-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans/plus-jakarta-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans/plus-jakarta-sans-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --dark-color: #212121;
  --text-muted: #6b6b6b;
  --primary-orange: #F26C21;
  --primary-orange-hover: #d94a1c;
  --primary-orange-soft: rgba(240, 86, 35, 0.12);
  --primary-orange-glow: rgba(240, 86, 35, 0.35);
  --surface-border: #eef1f7;
  --surface-muted: #5a6278;
  --heading-dark: #1a1a2e;
  --heading-font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --body-font: "Inter", "Segoe UI", system-ui, sans-serif;
  --bs-font-sans-serif: var(--body-font);
  --bs-body-font-family: var(--body-font);
}

html {
  overflow-x: clip;
}

body {
  font-family: var(--body-font);
  color: var(--dark-color);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  overflow-x: clip;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: var(--heading-font);
}

.main-content {
  flex: 1;
}

/* =============================================
   Hero Section
   ============================================= */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: #030201;
}

/* ---- Optimized Video Background ---- */

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #030201 url("../assets/images/hero-poster.jpg") center / cover no-repeat;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-video.is-playing {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.06);
  z-index: 1;
  pointer-events: none;
}

/* =============================================
   Header / Navigation
   ============================================= */

.site-header {
  position: relative;
  z-index: 10;
  padding: 24px 0 0;
}

.site-navbar {
  background: #ffffff;
  border-radius: 12px;
  padding: 14px 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.navbar-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.navbar-logo img {
  width: 150px;
  height: auto;
}

.site-navbar-nav {
  gap: 8px;
}

.site-navbar-nav .nav-link {
  font-family: var(--body-font);
  font-size: 15px;
  font-weight: 500;
  color: var(--dark-color);
  padding: 8px 18px !important;
  border-radius: 30px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.site-navbar-nav .nav-link:hover,
.site-navbar-nav .nav-link:focus {
  color: var(--primary-orange);
}

.site-navbar-toggler {
  border: none;
  padding: 4px 8px;
}

.site-navbar-toggler:focus {
  box-shadow: none;
}

.site-navbar-collapse {
  align-items: center;
}

/* Orange Primary Button */
.btn-primary-orange {
  background-color: var(--primary-orange);
  border: none;
  color: #ffffff;
  font-family: var(--body-font);
  font-weight: 600;
  border-radius: 12px;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn-primary-orange:hover,
.btn-primary-orange:focus {
  background-color: var(--primary-orange-hover);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(240, 86, 35, 0.35);
}

.btn-demo-nav {
  font-size: 15px;
  padding: 12px 28px;
  white-space: nowrap;
}

/* =============================================
   Hero Content
   ============================================= */

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 64px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(240, 86, 35, 0.35);
  border-radius: 50px;
  padding: 8px 20px;
  font-family: var(--body-font);
  font-size: 13px;
  font-weight: 500;
  color: var(--primary-orange);
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary-orange);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--heading-font);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-description {
  font-family: var(--body-font);
  font-size: clamp(0.95rem, 1.5vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.btn-hero-primary {
  font-size: 16px;
  padding: 16px 32px;
  box-shadow: 0 8px 32px rgba(240, 86, 35, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-hero-primary i {
  font-size: 18px;
  transition: transform 0.2s ease;
}

.btn-hero-primary:hover i {
  transform: translateX(4px);
}

.btn-hero-secondary {
  background: #ffffff;
  color: var(--dark-color);
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 12px;
  border: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-hero-secondary:hover,
.btn-hero-secondary:focus {
  background: #f5f5f5;
  color: var(--dark-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.hero-dashboard {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.hero-dashboard img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

/* =============================================
   Footer
   ============================================= */

.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 64px 0 0;
}

.site-footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px 40px;
  align-items: start;
  padding-bottom: 40px;
}

.site-footer-brand {
  display: inline-block;
  margin-bottom: 14px;
}

.site-footer-brand img {
  display: block;
  height: 38px;
  width: auto;
}

.site-footer-tagline {
  margin: 0 0 20px;
  max-width: 280px;
  font-family: var(--body-font);
  font-size: 0.875rem;
  line-height: 1.6;
  color: #94a3b8;
}

.site-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1e293b;
  color: #ffffff;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.site-footer-social a:hover,
.site-footer-social a:focus {
  background: #334155;
  color: #ffffff;
  opacity: 1;
}

.site-footer-heading {
  margin: 0 0 16px;
  font-family: var(--heading-font);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cbd5e1;
}

.site-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer-links a {
  font-family: var(--body-font);
  font-size: 0.875rem;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-footer-links a:hover,
.site-footer-links a:focus {
  color: #ffffff;
  opacity: 1;
}

.site-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.site-footer-copy {
  margin: 0;
  font-family: var(--body-font);
  font-size: 0.8125rem;
  color: #64748b;
}

.site-footer-legal {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.site-footer-legal a {
  font-family: var(--body-font);
  font-size: 0.8125rem;
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer-legal a:hover,
.site-footer-legal a:focus {
  color: #ffffff;
  opacity: 1;
}

@media (max-width: 991.98px) {
  .site-footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
  }

  .site-footer-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575.98px) {
  .site-footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
  }
}

@media (max-width: 767.98px) {
  .site-footer {
    padding-top: 48px;
  }

  .site-footer-top {
    padding-bottom: 32px;
  }

  .site-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =============================================
   Revenue Intelligent System
   ============================================= */

.revenue-section {
  padding: 60px 0 60px;
  background: #ffffff;
}

.revenue-header {
  margin-bottom: 48px;
}

.revenue-badge {
  display: inline-block;
  background: rgba(240, 86, 35, 0.1);
  color: var(--primary-orange);
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.revenue-title {
  font-family: var(--heading-font);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #1a1a2e;
  letter-spacing: -0.02em;
  margin: 0;
}

.revenue-diagram {
  --rev-node: 60px;
  --rev-node-active: 76px;
  --rev-node-touch: 82px;
  --rev-icon: 36px;
  --rev-glow-inset: -7px;
  --rev-side-space: 42px;

  position: relative;
  width: min(740px, calc(100% - (var(--rev-side-space) * 2)));
  height: 220px;
  margin: 0 auto 56px;
  flex-shrink: 0;
}

.revenue-track-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.revenue-track-bg {
  fill: none;
  stroke: #e4e8f0;
  stroke-width: 1.5;
}

.revenue-track-progress {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.revenue-nodes {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* 2 top · 2 bottom · 1 right · 1 left — 740×220 */
.revenue-node[data-index="0"] {
  left: 25%;
  top: 0;
}

.revenue-node[data-index="1"] {
  left: 75%;
  top: 0;
}

.revenue-node[data-index="2"] {
  left: 100%;
  top: 50%;
}

.revenue-node[data-index="3"] {
  left: 75%;
  top: 100%;
}

.revenue-node[data-index="4"] {
  left: 25%;
  top: 100%;
}

.revenue-node[data-index="5"] {
  left: 0;
  top: 50%;
}

.revenue-node {
  position: absolute;
  width: var(--rev-node);
  height: var(--rev-node);
  margin: calc(var(--rev-node) / -2) 0 0 calc(var(--rev-node) / -2);
  padding: 0;
  border: none;
  border-radius: 16px;
  background: #eef1f7;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition:
    background-color 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    margin 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(26, 26, 46, 0.06);
}

.revenue-node-glow {
  position: absolute;
  inset: var(--rev-glow-inset);
  border-radius: 18px;
  background: rgba(240, 86, 35, 0.1);
  opacity: 0;
  transform: scale(0.92);
  transition:
    opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: -1;
}

.revenue-node.is-active {
  width: var(--rev-node-active);
  height: var(--rev-node-active);
  margin: calc(var(--rev-node-active) / -2) 0 0 calc(var(--rev-node-active) / -2);
  border-radius: 20px;
  background: var(--primary-orange);
  z-index: 4;
  box-shadow: none;
}

/* One-time glow + scale — only while track line touches */
.revenue-node.is-active.is-touching {
  width: var(--rev-node-touch);
  height: var(--rev-node-touch);
  margin: calc(var(--rev-node-touch) / -2) 0 0 calc(var(--rev-node-touch) / -2);
  border-radius: 22px;
  box-shadow: 0 4px 14px rgba(240, 86, 35, 0.22);
  transition:
    background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    margin 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.revenue-node.is-active.is-touching .revenue-node-glow {
  opacity: 0.5;
  transform: scale(1.06);
  background: rgba(240, 86, 35, 0.18);
  transition:
    opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.revenue-node-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--rev-icon);
  height: var(--rev-icon);
  position: relative;
  z-index: 1;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.revenue-node.is-active .revenue-node-icon {
  transform: scale(1.08);
}

.revenue-node-icon img {
  width: var(--rev-icon);
  height: var(--rev-icon);
  object-fit: contain;
  transition: filter 0.35s ease;
}

.revenue-node.is-active .revenue-node-icon img {
  filter: brightness(0) invert(1);
}

.revenue-center-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  font-family: var(--heading-font);
  font-size: clamp(0.875rem, 2.8vw, 1.25rem);
  font-weight: 700;
  color: #1a1a2e;
  text-align: center;
  pointer-events: none;
  white-space: nowrap;
  max-width: min(240px, 42%);
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.5s ease;
}

.revenue-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  align-items: start;
}

.revenue-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  height: auto;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 20px 10px;
  cursor: pointer;
  transition: border-color 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
}

.revenue-card:hover {
  background: rgba(240, 86, 35, 0.04);
}

.revenue-card.is-active {
  border-color: rgba(240, 86, 35, 0.45);
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(240, 86, 35, 0.08);
}

.revenue-card-title {
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 10px;
  transition: color 0.35s ease;
}

.revenue-card.is-active .revenue-card-title {
  color: var(--primary-orange);
}

.revenue-card-text {
  font-family: var(--body-font);
  font-size: 13px;
  line-height: 1.6;
  color: #5a6278;
  margin: 0;
}

/* =============================================
   AI Assistance
   ============================================= */

.section-badge {
  display: inline-block;
  background: #FFF0E6;
  color: var(--primary-orange);
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
  border: 1px solid #F26C2133
}

.ai-section {
  padding: 60px 0 60px;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(255, 220, 210, 0.35) 0%, transparent 70%),
    #fdfbf9;
}

.ai-title {
  font-family: var(--heading-font);
  font-size: clamp(1.75rem, 3.2vw, 2.375rem);
  font-weight: 700;
  color: #1a1a2e;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 20px;
  max-width: 520px;
}

.ai-description {
  font-family: var(--body-font);
  font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
  line-height: 1.7;
  color: #5a6278;
  margin: 0 0 32px;
  max-width: 520px;
}

.ai-features {
  max-width: 520px;
}

.ai-feature-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #eef1f7;
  border-radius: 14px;
  padding: 14px 16px;
  min-height: 60px;
  box-shadow: 0 2px 12px rgba(26, 26, 46, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ai-feature-card:hover {
  border-color: rgba(240, 86, 35, 0.25);
  box-shadow: 0 4px 16px rgba(240, 86, 35, 0.08);
}

.ai-feature-card img {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.ai-feature-card span {
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.3;
}

.ai-visual {
  max-width: 580px;
  margin: 0 auto;
}

/* AI flow illustration — Figma match */
.ai-flow {
  --ai-ring-angle: 0deg;
  position: relative;
  width: 100%;
  aspect-ratio: 520 / 520;
}

.ai-flow-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 1;
  color: #9ca3af;
}

.ai-flow-track {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.ai-flow-track.is-hot {
  color: #f05623;
  opacity: 0.65;
}

.ai-flow-dot {
  fill: #f05623;
  offset-rotate: 0deg;
  transform-box: fill-box;
  transform-origin: 50%;
  filter: drop-shadow(0 0 2px #f05623) drop-shadow(0 0 5px rgba(240, 86, 35, 0.45));
  display: none;
  animation-name: ai-flow-dot-travel;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@supports (offset-path: path("M0,0 L1,1")) {
  .ai-flow-dot {
    display: block;
  }
}

.ai-flow.is-paused .ai-flow-dot,
.ai-flow.is-paused .ai-flow-hub,
.ai-flow.is-paused .ai-flow-hub::before,
.ai-flow.is-paused .ai-flow-hub-ring,
.ai-flow.is-paused .ai-flow-hub-ring::before,
.ai-flow.is-paused .ai-flow-sparkle,
.ai-flow.is-paused .ai-flow-output,
.ai-flow.is-paused .ai-flow-output-icon,
.ai-flow.is-paused .ai-flow-output-title,
.ai-flow.is-paused .ai-flow-skeleton {
  animation-play-state: paused;
}

@keyframes ai-flow-dot-travel {
  from { offset-distance: 0%; }
  to { offset-distance: 100%; }
}

.ai-flow-tile {
  position: absolute;
  width: 13.85%;
  height: 13.85%;
  transform: translate(-50%, -50%);
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e8eaef;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.ai-flow-tile--icon {
  background: #ffffff;
  border: 1px solid #e8eaef;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.07);
  overflow: hidden;
}

.ai-flow-tile--icon img {
  width: 62%;
  height: 62%;
  object-fit: contain;
  display: block;
  filter: none;
}

@media (hover: hover) and (pointer: fine) {
  .ai-flow-tile:hover,
  .ai-flow-tile--icon:hover {
    transform: translate(-50%, -50%) scale(1.06);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.1);
  }
}

.ai-flow-hub {
  position: absolute;
  width: 20%;
  height: 20%;
  transform: translate(-50%, -50%);
  z-index: 3;
  animation: ai-flow-hub-breathe 3.2s ease-in-out infinite;
}

.ai-flow-hub::before {
  content: "";
  position: absolute;
  inset: -28%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 50%, rgba(255, 105, 150, 0.55) 0%, transparent 52%),
    radial-gradient(circle at 65% 50%, rgba(120, 140, 255, 0.4) 0%, transparent 52%);
  z-index: -2;
  animation: ai-flow-hub-glow 3.2s ease-in-out infinite;
}

@keyframes ai-flow-hub-glow {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.ai-flow.is-static .ai-flow-hub,
.ai-flow.is-static .ai-flow-hub::before {
  animation: none;
}

@keyframes ai-flow-hub-breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.035); }
}

.ai-flow-hub-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from var(--ai-ring-angle),
    transparent 25deg,
    #3b82f6 75deg,
    #8b5cf6 140deg,
    #ec4899 205deg,
    #f59e0b 265deg,
    #f43f5e 305deg,
    transparent 340deg
  );
  animation: ai-flow-ring-spin 4s linear infinite;
}

.ai-flow-hub-ring::before {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  background: conic-gradient(
    from var(--ai-ring-angle),
    transparent 25deg,
    #3b82f6 75deg,
    #8b5cf6 140deg,
    #ec4899 205deg,
    #f59e0b 265deg,
    #f43f5e 305deg,
    transparent 340deg
  );
  filter: blur(12px);
  opacity: 0.6;
  animation: ai-flow-ring-spin 4s linear infinite;
  z-index: -1;
  pointer-events: none;
}

@keyframes ai-flow-ring-spin {
  to { --ai-ring-angle: 360deg; }
}

@property --ai-ring-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.ai-flow-hub-disc {
  position: absolute;
  inset: 2.5%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f05623;
  box-shadow: 0 4px 20px rgba(240, 86, 35, 0.35);
}

.ai-flow-hub-disc svg {
  width: 50%;
  height: 50%;
  transform: translateX(-1px);
}

.ai-flow-sparkle {
  transform-box: fill-box;
  transform-origin: 50%;
}

.ai-flow-sparkle--a { animation: ai-flow-sparkle 2.1s ease-in-out infinite; }
.ai-flow-sparkle--b { animation: ai-flow-sparkle 1.5s ease-in-out 0.45s infinite; }
.ai-flow-sparkle--c { animation: ai-flow-sparkle 1.8s ease-in-out 0.9s infinite; }

.ai-flow.is-static .ai-flow-sparkle {
  animation: none;
}

@keyframes ai-flow-sparkle {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(0.86); }
}

.ai-flow-arrow {
  position: absolute;
  width: 4.42%;
  transform: translate(-50%, -50%);
  color: #9ca3af;
  z-index: 2;
}

.ai-flow-arrow svg {
  display: block;
  width: 100%;
}

.ai-flow-output-wrap {
  position: absolute;
  width: 33.85%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.ai-flow-output {
  width: 100%;
  background: #f3f4f6;
  border: 1px solid #e8eaef;
  border-radius: 16px;
  padding: 16px 14px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
  animation: ai-flow-notif-in 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.ai-flow-output.is-replay {
  animation: ai-flow-notif-in 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.ai-flow.is-static .ai-flow-output {
  animation: none;
}

@keyframes ai-flow-notif-in {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.ai-flow-output-icon {
  width: 22px;
  height: 22px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  animation: ai-flow-notif-icon 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

.ai-flow-output-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@keyframes ai-flow-notif-icon {
  from {
    opacity: 0;
    transform: scale(0.2);
  }

  60% {
    opacity: 1;
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}


.ai-flow-output-title {
  font-family: var(--heading-font);
  font-size: clamp(13px, 2.5vw, 16px);
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  animation: ai-flow-notif-el 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.32s both;
}

.ai-flow-output-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ai-flow-skeleton {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #c5cad4 0%, #e2e5ec 100%);
  animation: ai-flow-notif-el 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.ai-flow-skeleton--1 { animation-delay: 0.42s; }
.ai-flow-skeleton--2 { animation-delay: 0.49s; }
.ai-flow-skeleton--3 { animation-delay: 0.56s; margin-bottom: 0; }

@keyframes ai-flow-notif-el {
  from {
    opacity: 0;
    transform: translateY(7px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-flow-dot,
  .ai-flow-hub,
  .ai-flow-hub::before,
  .ai-flow-hub-ring,
  .ai-flow-hub-ring::before,
  .ai-flow-sparkle,
  .ai-flow-output,
  .ai-flow-output-icon,
  .ai-flow-output-title,
  .ai-flow-skeleton {
    animation: none !important;
  }

  .ai-flow-dot {
    display: none;
  }
}

/* =============================================
   Industries / Service Categories
   ============================================= */

.industries-section {
  padding: 60px 0 60px;
  background: #ffffff;
}

.industries-header {
  margin: 0 auto 48px;
}

.industries-title {
  font-family: var(--heading-font);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--heading-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 16px;
}

.industries-subtitle {
  font-family: var(--body-font);
  font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
  line-height: 1.6;
  color: var(--surface-muted);
  margin: 0;
}

.industries-grid {
  margin: 0 auto;
}

.industry-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 148px;
  padding: 24px 16px;
  background: #ffffff;
  border: 1px solid var(--surface-border);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(26, 26, 46, 0.04);
  text-align: center;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.industry-card:hover {
  border-color: rgba(240, 86, 35, 0.25);
  box-shadow: 0 8px 24px rgba(26, 26, 46, 0.08);
  transform: translateY(-2px);
}

.industry-card img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.industry-card span {
  font-family: var(--body-font);
  font-size: clamp(13px, 1.6vw, 15px);
  font-weight: 600;
  color: var(--heading-dark);
  line-height: 1.3;
}

/* =============================================
   Responsive
   ============================================= */

@media (max-width: 1199.98px) {
  .revenue-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991.98px) {
  .site-navbar {
    border-radius: 24px;
    padding: 12px 16px;
  }

  .site-navbar-collapse {
    padding-top: 16px;
  }

  .site-navbar-nav {
    align-items: flex-start;
    margin-bottom: 16px !important;
  }

  .site-navbar-nav .nav-link {
    padding: 10px 12px !important;
  }

  .btn-demo-nav {
    width: 100%;
    text-align: center;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-content {
    padding-top: 32px;
    padding-bottom: 48px;
  }

  .hero-description {
    max-width: 100%;
  }

  .hero-dashboard {
    margin-top: 16px;
  }

  .revenue-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .ai-section {
    padding: 72px 0 80px;
  }

  .ai-title,
  .ai-description,
  .ai-features {
    max-width: 100%;
  }

  .ai-visual {
    margin-top: 24px;
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .revenue-section {
    padding: 64px 0 72px;
  }

  .revenue-header {
    margin-bottom: 36px;
  }

  .revenue-diagram {
    --rev-node: 54px;
    --rev-node-active: 68px;
    --rev-node-touch: 74px;
    --rev-icon: 30px;
    --rev-glow-inset: -6px;
    --rev-side-space: 38px;

    width: min(740px, calc(100% - (var(--rev-side-space) * 2)));
    height: auto;
    aspect-ratio: 740 / 220;
    margin-bottom: 40px;
  }

  .revenue-center-label {
    max-width: min(200px, 38%);
    font-size: clamp(0.8125rem, 3.2vw, 1.125rem);
  }

  .revenue-node {
    border-radius: 15px;
  }

  .revenue-node.is-active {
    border-radius: 18px;
  }

  .revenue-node-glow {
    border-radius: 16px;
  }

  .revenue-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .revenue-card {
    padding: 16px;
  }

  .ai-section {
    padding: 64px 0 72px;
  }
}

@media (max-width: 575.98px) {
  .site-header {
    padding-top: 16px;
  }

  .navbar-logo img {
    width: 120px;
  }

  .site-navbar {
    padding: 10px 14px;
  }

  .hero-content {
    padding-top: 24px;
    padding-bottom: 40px;
  }

  .hero-badge {
    font-size: 12px;
    padding: 7px 16px;
    margin-bottom: 20px;
  }

  .hero-title {
    margin-bottom: 18px;
  }

  .hero-description {
    margin-bottom: 28px;
    line-height: 1.65;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    justify-content: center;
    width: 100%;
    font-size: 15px;
    padding: 14px 24px;
  }

  .hero-dashboard {
    border-radius: 12px;
    margin-top: 8px;
  }

  .hero-dashboard img {
    border-radius: 12px;
  }

  .revenue-section {
    padding: 48px 0 56px;
  }

  .revenue-badge {
    font-size: 13px;
    padding: 7px 16px;
    margin-bottom: 16px;
  }

  .revenue-diagram {
    --rev-node: 46px;
    --rev-node-active: 58px;
    --rev-node-touch: 64px;
    --rev-icon: 26px;
    --rev-glow-inset: -5px;
    --rev-side-space: 34px;

    margin-bottom: 32px;
  }

  .revenue-center-label {
    max-width: min(160px, 36%);
    font-size: clamp(0.75rem, 3.5vw, 0.9375rem);
  }

  .revenue-node {
    border-radius: 13px;
  }

  .revenue-node.is-active {
    border-radius: 16px;
  }

  .revenue-card-title {
    font-size: 14px;
  }

  .revenue-card-text {
    font-size: 12px;
  }

  .ai-section {
    padding: 48px 0 56px;
  }

  .section-badge {
    font-size: 13px;
    padding: 7px 16px;
    margin-bottom: 16px;
  }

  .ai-description {
    margin-bottom: 24px;
  }

  .ai-feature-card {
    padding: 12px 14px;
    min-height: 54px;
  }

  .ai-feature-card span {
    font-size: 13px;
  }

  .ai-visual {
    max-width: 100%;
  }

  .industries-section {
    padding: 48px 0 56px;
  }

  .industries-header {
    margin-bottom: 36px;
  }

  .industry-card {
    min-height: 128px;
    padding: 20px 12px;
    gap: 12px;
  }

  .industry-card img {
    width: 40px;
    height: 40px;
  }

  .platform-section {
    padding: 16px 12px 40px;
  }

  .platform-panel {
    border-radius: 24px;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .platform-highlights {
    gap: 16px 20px;
    margin-bottom: 28px;
  }

  .platform-orbit {
    max-width: 520px;
    margin-top: 12px;
  }

  .platform-orbit-hub {
    min-width: 112px;
  }

  .platform-orbit-label {
    font-size: 8px;
  }
}

/* =============================================
   Platform Ecosystem
   ============================================= */

.platform-section {
  padding: 24px 16px 48px;
  background: #ffffff;
}

.platform-panel {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  background:
    radial-gradient(ellipse 70% 80% at 82% 48%, rgba(255, 196, 168, 0.55) 0%, rgba(255, 220, 200, 0.22) 42%, transparent 72%),
    linear-gradient(105deg, #f7f7f8 0%, #faf8f6 38%, #f8efe9 72%, #f3e4da 100%);
  border-radius: 36px;
  padding-top: 56px;
  padding-bottom: 56px;
  overflow: hidden;
}

.platform-title {
  font-family: var(--heading-font);
  font-size: clamp(1.75rem, 3.2vw, 2.375rem);
  font-weight: 900;
  color: var(--heading-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 18px;
  max-width: 480px;
}

.platform-description {
  font-family: var(--body-font);
  font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
  line-height: 1.7;
  color: var(--surface-muted);
  margin: 0 0 28px;
  max-width: 460px;
}

.platform-highlights {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 20px 60px;
  margin-bottom: 32px;
  max-width: 460px;
}

.platform-highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  width: auto;
  max-width: 120px;
}

.platform-highlight-check {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-orange);
  color: #ffffff;
  font-size: 14px;
  line-height: 1;
  z-index: 1;
}

.platform-highlight-check::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(240, 86, 35, 1.45);
  z-index: -1;
  animation: platform-check-pulse 2.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes platform-check-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.55;
    box-shadow: 0 0 0 0 rgba(240, 86, 35, 0.35);
  }
  50% {
    transform: scale(2.45);
    opacity: 0;
    box-shadow: 0 0 10px 4px rgba(240, 86, 35, 0.25);
  }
}

.platform-highlight span:last-child {
  font-family: var(--body-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--heading-dark);
  line-height: 1.35;
  text-align: center;
}

.btn-platform-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  padding: 14px 28px;
  box-shadow: 0 8px 22px rgba(240, 86, 35, 0.28);
}

.platform-orbit {
  --orbit-top: 12.5%;
  position: relative;
  width: min(100%, 600px);
  aspect-ratio: 1;
  margin: 0 auto;
  overflow: visible;
}

.platform-orbit-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.platform-orbit-lines line {
  stroke: #e8c4b4;
  stroke-width: 1.15;
}

.platform-orbit-ring {
  fill: none;
  stroke: #f05623;
  stroke-linecap: round;
}

.platform-orbit-ring--inner {
  stroke-width: 1.35;
  stroke-dasharray: 1.8 5.5;
  opacity: 0.45;
}

.platform-orbit-ring--outer {
  stroke-width: 1.2;
  stroke-dasharray: 1.8 6.5;
  opacity: 0.28;
}

.platform-orbit-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  width: 22%;
  min-width: 100px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.platform-orbit-hub-glow {
  position: absolute;
  inset: 12%;
  border-radius: 22px;
  z-index: 0;
  pointer-events: none;
  background: transparent;
  box-shadow: 0 0 18px 6px rgba(240, 86, 35, 0.45);
  filter: blur(1px);
  animation: platform-hub-blink 1.8s ease-in-out infinite;
}

.platform-orbit-hub-img {
  position: relative;
  z-index: 1;
  width: 82%;
  height: 82%;
  object-fit: contain;
  display: block;
  border-radius: 18px;
  filter: drop-shadow(0 8px 20px rgba(26, 26, 46, 0.28));
}

@keyframes platform-hub-blink {
  0%, 100% {
    opacity: 0.4;
    box-shadow:
      0 0 10px 3px rgba(240, 86, 35, 0.3),
      0 0 22px 8px rgba(240, 86, 35, 0.18);
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    box-shadow:
      0 0 16px 5px rgba(240, 86, 35, 0.55),
      0 0 32px 12px rgba(240, 86, 35, 0.28);
    transform: scale(1.04);
  }
}

.platform-orbit-spoke {
  position: absolute;
  inset: 0;
  z-index: 2;
  transform: rotate(var(--a));
  pointer-events: none;
}

.platform-orbit-item {
  position: absolute;
  left: 50%;
  top: var(--orbit-top);
  width: 50px;
  height: 50px;
  transform: translate(-50%, -50%) rotate(calc(-1 * var(--a)));
  pointer-events: auto;
  transition: transform 0.25s ease;
}

.platform-orbit-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
  flex-shrink: 0;
}

.platform-orbit-icon img {
  width: 75px;
  height: 75px;
  max-width: none;
  object-fit: contain;
  display: block;
  margin: 0;
  transform: none;
}

.platform-orbit-icon--plain {
  background: #ffffff;
  border: 1px solid #e8eaef;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.07);
  overflow: hidden;
}

.platform-orbit-icon--plain img {
  width: 26px;
  height: 26px;
  margin: 0;
  transform: none;
  object-fit: contain;
  filter: invert(48%) sepia(82%) saturate(1800%) hue-rotate(346deg) brightness(98%) contrast(96%);
}

.platform-orbit-label {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 5px;
  width: 200%;
  font-family: var(--body-font);
  font-size: clamp(9px, 1.4vw, 12px);
  font-weight: 600;
  color: #1a1a2e;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
  .platform-orbit-item:hover {
    transform: translate(-50%, -50%) rotate(calc(-1 * var(--a))) scale(1.06);
    z-index: 4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .platform-orbit-hub-glow {
    animation: none;
    opacity: 0.55;
  }

  .platform-highlight-check::before {
    animation: none;
    opacity: 0;
  }
}

@media (max-width: 399.98px) {
  .navbar-logo img {
    width: 108px;
  }

  .revenue-diagram {
    --rev-node: 40px;
    --rev-node-active: 50px;
    --rev-node-touch: 56px;
    --rev-icon: 22px;
    --rev-side-space: 30px;
  }

  .revenue-center-label {
    max-width: min(130px, 34%);
    font-size: 0.6875rem;
  }

  .platform-orbit {
    max-width: 400px;
  }

  .platform-highlights {
    flex-wrap: wrap;
    max-width: 460px;
  }

  .platform-highlight {
    flex: 0 0 auto;
    max-width: 120px;
  }
}

/* =============================================
   Customer Portal
   ============================================= */

.portal-section {
  padding: 40px 16px 48px;
  background: #ffffff;
}

.portal-panel {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.portal-bento {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.portal-top {
  /* Bootstrap row: col-lg-7 intro + col-lg-5 calendar card */
  margin-left: 0;
  margin-right: 0;
}

.portal-bottom {
  display: grid;
  grid-template-columns: .7fr 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.portal-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
}

/* Fill leftover column height (Pay sets the tallest row) */
.portal-col > .portal-card--history,
.portal-col > .portal-card--chat {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.portal-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
  padding: 8px 8px 0 0;
}

.portal-intro .section-badge {
  display: inline-flex;
  width: auto;
  max-width: max-content;
  align-self: flex-start;
  margin-bottom: 16px;
}

.portal-title {
  font-family: var(--heading-font);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--heading-dark);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 12px;
  max-width: none;
}

.portal-description {
  font-family: var(--body-font);
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  line-height: 1.6;
  color: var(--surface-muted);
  margin: 0;
  max-width: 520px;
}

.portal-card {
  position: relative;
  border-radius: 20px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.04);
  box-shadow: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.28)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.4) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px);
  background-size: auto, 20px 20px, 20px 20px;
}

.portal-card--peach { background-color: #FDF4ED; }
.portal-card--blue { background-color: #eef5ff; }
.portal-card--green { background-color: #eefbf1; }
.portal-card--mint { background-color: #eefaf4; }
.portal-card--purple { background-color: #f4f0ff; }

/* View Appointment — Figma grid #F26C21 */
.portal-card--appt {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 260px);
  gap: 16px 20px;
  align-items: stretch;
  min-height: 100%;
  padding: 20px 18px 24px;
  background-color: #FDF4ED;
  background-image:
    linear-gradient(rgba(242, 108, 33, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 108, 33, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: -1px -1px;
}

.portal-card-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.portal-card-head .portal-card-title {
  margin: 0;
  padding-top: 3px;
  line-height: 1.2;
}

.portal-card > .portal-card-text {
  margin: 0 0 12px;
  position: relative;
  z-index: 1;
  padding-left: 38px;
}

.portal-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--heading-font);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.portal-num--peach {
  color: #F26C21;
  background: rgba(242, 108, 33, 0.14);
  border: 1px solid rgba(242, 108, 33, 0.35);
}
.portal-num--blue {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.35);
}
.portal-num--green {
  color: #16a34a;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.35);
}
.portal-num--mint {
  color: #16a34a;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
}
.portal-num--purple {
  color: #7c3aed;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(139, 92, 246, 0.4);
}

.portal-card-title {
  font-family: var(--heading-font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading-dark);
  margin: 0 0 2px;
  line-height: 1.25;
}

.portal-card-text {
  font-family: var(--body-font);
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--surface-muted);
  margin: 0;
}

.portal-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--body-font);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 0;
  pointer-events: none;
  cursor: default;
  user-select: none;
}

.portal-link--peach { color: #f05623; }
.portal-link--blue { color: #3b82f6; margin-bottom: 0; }
.portal-link--purple { color: #8b5cf6; margin-bottom: 12px; }

.portal-link:hover { opacity: 0.85; }

.portal-appt-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  height: 100%;
  min-width: 0;
  position: relative;
  z-index: 1;
}

/* Title top; paragraph + button vertically centered in card */
.portal-appt-copy > .portal-card-head {
  margin-bottom: 0;
  flex-shrink: 0;
}

.portal-appt-copy > .portal-card-text {
  padding-left: 0;
  max-width: 220px;
  margin: auto 0 14px;
  color: #000000;
  font-weight: 700;
}

.portal-appt-copy > .portal-btn-outline {
  margin-left: 0;
  margin-bottom: auto;
}

.portal-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-left: 38px;
  padding: 10px 16px;
  min-height: 42px;
  border-radius: 10px;
  border: 1.5px solid #F26C21;
  background: #ffffff;
  color: #F26C21;
  font-family: var(--body-font);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  pointer-events: none;
  cursor: default;
  user-select: none;
}

.portal-btn-outline:hover {
  background: rgba(242, 108, 33, 0.06);
  color: #F26C21;
}

.portal-btn-outline--purple {
  margin-left: 0;
  border-color: #8b5cf6;
  color: #8b5cf6;
  margin-bottom: 0;
  margin-top: auto;
}

.portal-btn-outline--purple:hover {
  background: rgba(139, 92, 246, 0.06);
  color: #8b5cf6;
}

.portal-card-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 88px;
  z-index: 0;
  pointer-events: none;
}

.portal-card--appt .portal-card-wave path:first-child {
  fill: rgba(242, 108, 33, 0.07);
}

.portal-card--appt .portal-card-wave path:last-child {
  fill: rgba(242, 108, 33, 0.05);
}

.portal-calendar {
  background: #ffffff;
  border-radius: 16px;
  padding: 14px 14px 16px;
  box-shadow: 0 8px 22px rgba(26, 26, 46, 0.08);
  width: 100%;
  margin: 0;
  align-self: center;
  position: relative;
  z-index: 1;
}

.portal-calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-family: var(--heading-font);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--heading-dark);
}

.portal-calendar-head button {
  border: none;
  background: transparent;
  color: #94a3b8;
  padding: 2px;
  line-height: 1;
  font-size: 1rem;
  pointer-events: none;
  cursor: default;
}

.portal-calendar-days,
.portal-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}

.portal-calendar-days {
  margin-bottom: 6px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #94a3b8;
}

.portal-calendar-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
  border-radius: 999px;
}

.portal-calendar-grid .is-mute { color: #cbd5e1; }
.portal-calendar-grid .is-active {
  background: #F26C21;
  color: #fff;
}

/* Pay invoices — Figma grid same as calendar card */
.portal-card--pay {
  display: flex;
  flex-direction: column;
  background-color: #FDF4ED;
  background-image:
    linear-gradient(rgba(242, 108, 33, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 108, 33, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: -1px -1px;
  padding: 18px 16px 16px;
}

.portal-pay-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 16px;
  align-items: start;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.portal-pay-copy {
  min-width: 0;
}

.portal-pay-copy > .portal-card-head {
  margin-bottom: 8px;
}

.portal-pay-copy > .portal-card-text {
  padding-left: 0;
  margin: 0;
  color: #000000;
  font-weight: 700;
  max-width: 260px;
}

.portal-pay-orb {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.portal-pay-orb-core {
  position: relative;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F26C21;
  color: #fff;
  font-family: var(--heading-font);
  font-size: 1.35rem;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(242, 108, 33, 0.28);
}

.portal-pay-orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(242, 108, 33, 0.35);
  animation: portal-pay-pulse 2.2s ease-out infinite;
  pointer-events: none;
}

.portal-pay-orb-ring:nth-child(2) {
  animation-delay: 1.1s;
}

@keyframes portal-pay-pulse {
  0% {
    transform: scale(0.72);
    opacity: 0.7;
  }
  70% {
    opacity: 0.2;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.portal-pay-amount {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1 1 auto;
  margin: 0;
  padding: 12px 0;
  position: relative;
  z-index: 1;
}

.portal-pay-label {
  display: block;
  font-size: 0.8125rem;
  color: var(--surface-muted);
}

.portal-pay-value {
  display: block;
  font-family: var(--heading-font);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--heading-dark);
  line-height: 1.1;
}

.portal-invoice {
  margin-top: auto;
  background: #ffffff;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 8px 22px rgba(26, 26, 46, 0.08);
}

.portal-invoice-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.portal-invoice-top strong {
  display: block;
  font-size: 0.8125rem;
  color: var(--heading-dark);
}

.portal-invoice-top span {
  display: flex;
  font-size: 0.6875rem;
  color: var(--surface-muted);
}

.portal-pulse-check {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #6ee7b7;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: 0 0 0 6px rgba(110, 231, 183, 0.35);
}

.portal-pulse-check svg {
  display: block;
  flex-shrink: 0;
}

.portal-invoice-rows {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
}

.portal-invoice-rows li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.75rem;
  color: #64748b;
}

.portal-invoice-rows li.is-total {
  border-bottom: none;
  color: var(--heading-dark);
  font-weight: 700;
}

.portal-invoice-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.875rem;
}

.portal-invoice-total strong {
  color: #F26C21;
  font-family: var(--heading-font);
  font-size: 1rem;
}

.portal-pay-btn {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.875rem;
  pointer-events: none;
  cursor: default;
}

.portal-secure {
  margin: 8px 0 0;
  text-align: center;
  font-size: 0.6875rem;
  color: #94a3b8;
}

.portal-feature-icon {
  position: relative;
  top: auto;
  right: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: none;
  z-index: 1;
  overflow: hidden;
}

.portal-feature-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.portal-feature-icon--blue { background: #dbeafe; }
.portal-feature-icon--green { background: #dcfce7; }
.portal-feature-icon--mint { background: #d1fae5; }

/* Manage Service Contracts — Figma layout */
.portal-card--contract {
  background-color: #eef5ff;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: -1px -1px;
  padding: 18px 16px 16px;
}

.portal-contract-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 14px;
  align-items: start;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.portal-contract-copy {
  min-width: 0;
}

.portal-contract-copy > .portal-card-head {
  margin-bottom: 8px;
}

.portal-contract-copy > .portal-card-text {
  padding-left: 0;
  margin: 0;
  color: #000000;
  font-weight: 700;
  max-width: 240px;
}

.portal-card--estimate .portal-card-head,
.portal-card--history .portal-card-head {
  padding-right: 0;
}

/* Access service history — 2-column Figma layout */
.portal-card--history {
  background-color: #F8F9F4;
  background-image:
    linear-gradient(rgba(138, 171, 108, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 171, 108, 0.14) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
  padding: 14px 12px;
  min-height: 0;
}

.portal-history-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 1.05fr);
  gap: 10px 12px;
  align-items: stretch;
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
}

.portal-history-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  height: 100%;
}

.portal-history-copy > .portal-card-head {
  margin-bottom: 6px;
  gap: 8px;
}

.portal-history-copy .portal-num--mint {
  color: #4a5d3a;
  background: rgba(138, 171, 108, 0.22);
  border: 1px solid rgba(138, 171, 108, 0.55);
}

.portal-history-copy .portal-card-title {
  font-size: 0.9375rem;
  color: #2C3E50;
}

.portal-history-copy > .portal-card-text {
  padding-left: 0;
  margin: 0 0 12px;
  color: #4b5563;
  font-weight: 500;
  font-size: 0.75rem;
  line-height: 1.4;
  max-width: 200px;
}

.portal-history-icon {
  width: 56px;
  height: 56px;
  margin-top: auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: none;
}

.portal-history-icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}

.portal-history-panel {
  margin: 0;
  padding: 14px 12px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(26, 26, 46, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Approve Estimates — 2-column Figma layout */
.portal-card--estimate {
  background-color: #eefbf1;
  background-image:
    linear-gradient(rgba(34, 197, 94, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 197, 94, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: -1px -1px;
  padding: 14px 12px;
  flex: 0 0 auto;
}

.portal-estimate-head {
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.portal-estimate-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(230px, 1.15fr);
  gap: 12px 14px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.portal-estimate-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  min-width: 0;
}

.portal-estimate-copy > .portal-card-text {
  padding-left: 0;
  margin: 0 0 12px;
  color: #000000;
  font-weight: 700;
  max-width: 220px;
}

.portal-estimate-icon {
  width: 56px;
  height: 56px;
  margin-top: auto;
  border-radius: 14px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(74, 122, 94, 0.18);
  overflow: hidden;
}

.portal-estimate-icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}

.portal-estimate-panel {
  margin: 0;
  padding: 12px;
}

.portal-estimate-panel .portal-mini-meta {
  margin-bottom: 10px;
  padding-bottom: 0;
  border-bottom: none;
  gap: 6px;
}

.portal-estimate-panel .portal-mini-meta-row--total {
  margin-top: 2px;
  padding-top: 8px;
  border-top: 1px solid #e8edf5;
}

.portal-estimate-panel .portal-mini-meta-row--total span,
.portal-estimate-panel .portal-mini-meta-row--total strong {
  font-weight: 700;
  color: #1e293b;
}

.portal-actions-label {
  margin: 0 0 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--heading-dark);
}

.portal-action-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 10px;
  font-size: 0.75rem;
  margin-bottom: 6px;
  border-radius: 10px;
  white-space: nowrap;
  pointer-events: none;
  cursor: default;
}

.portal-action-outline {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  background: #eef1f6;
  color: #334155;
  border-radius: 10px;
  padding: 9px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--body-font);
  white-space: nowrap;
  pointer-events: none;
  cursor: default;
}

.portal-action-outline:hover {
  background: #e2e8f0;
  color: #1e293b;
}

.portal-mini-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 6px 18px rgba(26, 26, 46, 0.07);
}

.portal-mini-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.portal-mini-card-head strong {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--heading-dark);
  text-align: left;
}

.portal-badge-active {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.14);
  color: #16a34a;
  font-size: 0.75rem;
  font-weight: 600;
}

.portal-mini-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 14px;
  padding: 0 0 14px;
  border-bottom: 1px solid #e8edf5;
}

.portal-mini-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.portal-mini-meta-row span {
  flex: 0 1 auto;
  text-align: left;
  font-size: 0.8125rem;
  font-weight: 400;
  color: #94a3b8;
}

.portal-mini-meta-row strong {
  flex: 0 1 auto;
  margin-left: auto;
  text-align: right;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1e293b;
}

.portal-link--row {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 0;
  font-weight: 600;
}

.portal-link--row span {
  text-align: left;
}

.portal-link--row i {
  margin-left: auto;
  font-size: 0.875rem;
  line-height: 1;
}

.portal-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.portal-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: -16px;
  width: 2px;
  background: #ACD6A2;
}

.portal-timeline li {
  position: relative;
  display: flex;
  gap: 8px;
  padding: 0 0 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid #eceff3;
}

.portal-timeline li:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.portal-timeline-check {
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  border-radius: 50%;
  background: #B5C99F;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: none;
}

.portal-timeline-check svg {
  display: block;
  width: 8px;
  height: 8px;
}

.portal-timeline time {
  display: block;
  font-size: 0.625rem;
  line-height: 1.2;
  color: #707070;
  margin-bottom: 0;
}

.portal-timeline strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.25;
  color: #2C3E50;
  margin: 1px 0 0;
}

.portal-timeline span {
  display: flex;
  font-size: 0.625rem;
  line-height: 1.25;
  color: #707070;
  margin-top: 1px;
}

/* Contact Service Team — 2-column Figma layout */
.portal-card--chat {
  background-color: #F8F6FF;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.1) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
  padding: 14px 12px;
  min-height: 0;
}

.portal-chat-head {
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.portal-chat-head .portal-card-title {
  color: #333C4E;
}

.portal-chat-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(190px, 1.1fr);
  gap: 12px 14px;
  align-items: stretch;
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
}

.portal-chat-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  min-width: 0;
  height: 100%;
}

.portal-chat-copy > .portal-card-text {
  padding-left: 0;
  margin: 0 0 14px;
  color: #333C4E;
  font-weight: 700;
  font-size: 0.8125rem;
  line-height: 1.4;
  max-width: 200px;
}

.portal-chat-copy > .portal-btn-outline--purple {
  align-self: flex-start;
  margin-top: auto;
}

.portal-chat {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  height: 100%;
}

.portal-chat-bubble {
  max-width: 100%;
  padding: 8px 10px 6px;
  border-radius: 12px;
  font-size: 0.6875rem;
  line-height: 1.4;
}

.portal-chat-bubble p {
  margin: 0;
}

.portal-chat-bubble--user {
  align-self: flex-end;
  max-width: 92%;
  background: #ddd6fe;
  color: #1e1b4b;
  border-bottom-right-radius: 4px;
}

.portal-chat-bubble--agent {
  background: #ffffff;
  color: #1e293b;
  border-top-left-radius: 4px;
  box-shadow: 0 4px 12px rgba(26, 26, 46, 0.07);
}

.portal-chat-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 0.5625rem;
  color: #94a3b8;
  line-height: 1;
}

.portal-chat-meta--user {
  justify-content: flex-end;
  color: #7c3aed;
}

.portal-chat-meta--user i {
  font-size: 0.6875rem;
  line-height: 1;
}

.portal-chat-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.portal-chat-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 2px 6px rgba(26, 26, 46, 0.12);
}

.portal-chat-typing {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  width: fit-content;
  margin-left: 34px;
  padding: 7px 10px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(26, 26, 46, 0.06);
}

.portal-chat-typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c4b5fd;
  animation: portal-typing 1.2s ease-in-out infinite;
}

.portal-chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.portal-chat-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes portal-typing {
  0%, 100% { opacity: 0.35; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-2px); }
}

@media (max-width: 1199.98px) {
  .portal-bottom {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .portal-card--pay {
    grid-column: 1 / -1;
  }

  .portal-col > .portal-card--history,
  .portal-col > .portal-card--chat {
    flex: 0 0 auto;
  }

  .portal-history-panel,
  .portal-chat {
    height: auto;
  }
}

@media (max-width: 991.98px) {
  .portal-section {
    padding: 32px 14px 40px;
  }

  .portal-intro {
    height: auto;
    padding: 0 0 8px;
    margin-bottom: 8px;
  }

  .portal-card--appt {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .portal-calendar {
    max-width: 280px;
    margin-inline: auto;
  }

  .portal-pay-top,
  .portal-contract-top {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .portal-estimate-layout,
  .portal-history-layout,
  .portal-chat-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .portal-estimate-copy,
  .portal-history-copy,
  .portal-chat-copy,
  .portal-appt-copy {
    height: auto;
  }

  /* History: num/title/text + icon in one row on tablet/mobile */
  .portal-history-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "head icon"
      "text icon";
    column-gap: 12px;
    row-gap: 6px;
    align-items: center;
    width: 100%;
  }

  .portal-history-copy > .portal-card-head {
    grid-area: head;
    margin-bottom: 0;
  }

  .portal-history-copy > .portal-card-text {
    grid-area: text;
    margin: 0;
    max-width: none;
  }

  .portal-history-icon {
    grid-area: icon;
    margin-top: 0;
    align-self: center;
  }

  /* Estimate: head + paragraph + icon share one row band */
  .portal-card--estimate {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 12px;
    row-gap: 10px;
    align-items: center;
  }

  .portal-estimate-head {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
  }

  .portal-estimate-layout {
    display: contents;
  }

  .portal-estimate-copy {
    display: contents;
  }

  .portal-estimate-copy > .portal-card-text {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
    max-width: none;
  }

  .portal-estimate-icon {
    grid-column: 2;
    grid-row: 1 / 3;
    margin-top: 0;
    align-self: center;
  }

  .portal-estimate-panel {
    grid-column: 1 / -1;
  }

  .portal-appt-copy > .portal-card-text {
    margin: 0 0 12px;
  }

  .portal-appt-copy > .portal-btn-outline {
    margin-bottom: 12px;
  }

  .portal-estimate-icon,
  .portal-history-icon {
    margin-top: 0;
  }

  .portal-chat-copy > .portal-btn-outline--purple {
    margin-top: 0;
    margin-bottom: 12px;
  }

  .portal-history-panel,
  .portal-chat {
    height: auto;
    justify-content: flex-start;
  }

  .portal-appt-copy > .portal-card-text,
  .portal-btn-outline,
  .portal-card > .portal-card-text {
    padding-left: 0;
    margin-left: 0;
  }

  .portal-btn-outline,
  .portal-btn-outline--purple {
    margin-left: 0;
    width: auto;
    max-width: 100%;
    padding: 12px 18px;
    min-height: 44px;
    font-size: 0.875rem;
    line-height: 1.35;
  }

  .portal-action-btn,
  .portal-action-outline {
    white-space: normal;
    min-height: 44px;
  }
}

@media (max-width: 767.98px) {
  .portal-section {
    padding: 24px 12px 36px;
  }

  .portal-bento,
  .portal-bottom,
  .portal-col {
    gap: 12px;
  }

  .portal-bottom {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .portal-card--pay {
    grid-column: auto;
  }

  .portal-card {
    border-radius: 16px;
    padding: 14px 12px;
  }

  .portal-card--appt,
  .portal-card--pay,
  .portal-card--contract,
  .portal-card--estimate,
  .portal-card--history,
  .portal-card--chat {
    padding: 14px 12px;
  }

  .portal-pay-top,
  .portal-contract-top {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px 12px;
  }

  .portal-contract-copy > .portal-card-head {
    margin-bottom: 6px;
  }

  .portal-feature-icon,
  .portal-pay-orb {
    margin-inline: 0;
  }

  .portal-pay-orb {
    width: 56px;
    height: 56px;
  }

  .portal-calendar {
    max-width: 100%;
  }

  .portal-card-title {
    font-size: 0.9375rem;
  }

  .portal-pay-value {
    font-size: 1.35rem;
  }

  .portal-estimate-icon,
  .portal-history-icon {
    width: 56px;
    height: 56px;
  }

  .portal-estimate-icon img,
  .portal-history-icon img {
    width: 56px;
    height: 56px;
  }

  .portal-chat-bubble {
    font-size: 0.75rem;
  }

  .portal-chat-typing {
    margin-left: 34px;
  }

  .portal-mini-card,
  .portal-invoice,
  .portal-estimate-panel,
  .portal-history-panel {
    padding: 12px;
  }
}

@media (max-width: 575.98px) {
  .portal-title {
    font-size: 1.5rem;
  }

  .portal-description {
    font-size: 0.875rem;
  }

  .portal-pay-copy > .portal-card-text,
  .portal-contract-copy > .portal-card-text,
  .portal-estimate-copy > .portal-card-text,
  .portal-history-copy > .portal-card-text,
  .portal-chat-copy > .portal-card-text,
  .portal-appt-copy > .portal-card-text {
    max-width: none;
  }

  .portal-action-btn,
  .portal-action-outline,
  .portal-pay-btn {
    font-size: 0.8125rem;
    padding: 12px 14px;
    min-height: 44px;
  }

  .portal-btn-outline,
  .portal-btn-outline--purple {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
    min-height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portal-pulse-check::before,
  .portal-chat-typing span,
  .portal-pay-orb-ring {
    animation: none !important;
  }
}

/* =============================================
   Form Builder
   ============================================= */

.form-builder-section {
  padding: 60px 0 60px;
  background: #F7F8FA;
}

.fb-title {
  font-family: var(--heading-font);
  font-size: clamp(1.75rem, 3.2vw, 2.375rem);
  font-weight: 700;
  color: var(--heading-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 16px;
}

.fb-description {
  font-family: var(--body-font);
  font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
  line-height: 1.7;
  color: var(--surface-muted);
  margin: 0 0 28px;
}

.fb-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fb-features li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fb-features img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: block;
}

.fb-features span {
  font-family: var(--heading-font);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--heading-dark);
  line-height: 1.3;
}

.fb-visual {
  display: block;
}

.fb-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

@media (max-width: 991.98px) {
  .form-builder-section {
    padding: 48px 0 56px;
  }

  .fb-title,
  .fb-description {
    max-width: none;
  }
}

@media (max-width: 575.98px) {
  .form-builder-section {
    padding: 40px 0 48px;
  }

  .fb-features {
    gap: 14px;
  }

  .fb-visual img {
    border-radius: 12px;
  }
}

/* =============================================
   Multi-Device Platform
   ============================================= */

.devices-section {
  padding: 24px 16px 48px;
  background: #ffffff;
}

.devices-panel {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  border-radius: 36px;
  padding: 56px 0;
  overflow: hidden;
  background:
    linear-gradient(rgba(120, 170, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 170, 255, 0.035) 1px, transparent 1px),
    linear-gradient(99.95deg, #1E2A3A 1.24%, #29456A 49.56%, #1E2A3A 97.88%);
  background-size: 48px 48px, 48px 48px, auto;
  background-position: -1px -1px, -1px -1px, 0 0;
}

.devices-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  border: 1px solid #F26C214D;
  background: #F26C2133;
  color: #F26C21;
  font-family: var(--body-font);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
}

.devices-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #F26C21;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(240, 86, 35, 0.2);
}

.devices-title {
  font-family: var(--heading-font);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 16px;
  max-width: 520px;
}

.devices-description {
  font-family: var(--body-font);
  font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
  line-height: 1.7;
  color: #94a3b8;
  margin: 0 0 28px;
  max-width: 520px;
}

.devices-cards {
  max-width: 570px;
}

.devices-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.18);
  pointer-events: none;
  user-select: none;
  height: 100%;
}

.devices-card img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: block;
}

.devices-card span {
  font-family: var(--body-font);
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
}

.devices-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.devices-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 640px;
  margin-inline: auto;
}

@media (max-width: 991.98px) {
  .devices-section {
    padding: 16px 14px 40px;
  }

  .devices-panel {
    border-radius: 28px;
    padding: 40px 0;
  }

  .devices-title,
  .devices-description,
  .devices-cards {
    max-width: none;
  }
}

@media (max-width: 575.98px) {
  .devices-panel {
    border-radius: 22px;
    padding: 32px 0;
  }

  .devices-card {
    min-height: 58px;
    padding: 10px 12px;
    gap: 10px;
  }

  .devices-card span {
    font-size: 0.8125rem;
  }
}

/* =============================================
   Reporting
   ============================================= */

.reporting-section {
  padding: 24px 16px 0px;
  background: #ffffff;
}

.reporting-panel {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  border-radius: 36px;
  padding: 56px 0;
  background: linear-gradient(80.39deg, #F4F4F4 41.58%, rgba(255, 200, 169, 0.1) 115.42%);
}

.reporting-header {
  max-width: 850px;
  margin: 0 auto 40px;
}

.reporting-title {
  font-family: var(--heading-font);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: var(--heading-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 14px;
}

.reporting-description {
  font-family: var(--body-font);
  font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
  line-height: 1.7;
  color: var(--surface-muted);
  margin: 0;
}

.reporting-features {
  list-style: none;
  margin: 0;
  padding: 0;
}

.reporting-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid #e6e9f0;
}

.reporting-features li:first-child {
  padding-top: 0;
}

.reporting-features li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.reporting-features img {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: block;
}

.reporting-features strong {
  display: block;
  font-family: var(--heading-font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading-dark);
  margin-bottom: 4px;
  line-height: 1.3;
}

.reporting-features span {
  display: block;
  font-family: var(--body-font);
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--surface-muted);
}

.reporting-visual {
  display: block;
}

.reporting-visual img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 991.98px) {
  .reporting-section {
    padding: 16px 14px 0px;
  }

  .reporting-panel {
    border-radius: 28px;
    padding: 40px 0;
  }

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

@media (max-width: 575.98px) {
  .reporting-panel {
    border-radius: 22px;
    padding: 32px 0;
  }

  .reporting-features li {
    padding: 14px 0;
    gap: 12px;
  }

  .reporting-features img {
    width: 40px;
    height: 40px;
  }

  .reporting-visual img {
    border-radius: 12px;
  }
}

/* =============================================
   Outcomes
   ============================================= */

.outcomes-section {
  padding: 60px 0 60px;
  background: #fafafa;
}

.outcomes-title {
  font-family: var(--heading-font);
  font-size: clamp(1.75rem, 3.2vw, 2.375rem);
  font-weight: 800;
  color: var(--heading-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 auto 45px;
}

.outcomes-card {
  height: 100%;
  background: #ffffff;
  border: 1px solid #e8ebf0;
  border-radius: 16px;
  padding: 22px 20px 24px;
  pointer-events: none;
  user-select: none;
}

.outcomes-card img {
  width: 48px;
  height: 48px;
  display: block;
  margin-bottom: 16px;
}

.outcomes-stat {
  margin: 0 0 8px;
  font-family: var(--heading-font);
  font-size: clamp(1.75rem, 2.4vw, 2.125rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.outcomes-stat--orange { color: #f05623; }
.outcomes-stat--blue { color: #3b82f6; }
.outcomes-stat--purple { color: #8b5cf6; }
.outcomes-stat--green { color: #16a34a; }

.outcomes-card-title {
  margin: 0 0 8px;
  font-family: var(--heading-font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading-dark);
  line-height: 1.3;
}

.outcomes-card-text {
  margin: 0;
  font-family: var(--body-font);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--surface-muted);
}

@media (max-width: 991.98px) {
  .outcomes-section {
    padding: 48px 0 56px;
  }

  .outcomes-title {
    margin-bottom: 28px;
  }

  .outcomes-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "icon stat"
      "icon title"
      "icon text";
    column-gap: 14px;
    row-gap: 4px;
    align-items: start;
  }

  .outcomes-card img {
    grid-area: icon;
    margin-bottom: 0;
    align-self: start;
  }

  .outcomes-stat {
    grid-area: stat;
    margin: 0;
    font-size: 1.5rem;
  }

  .outcomes-card-title {
    grid-area: title;
    margin: 0;
  }

  .outcomes-card-text {
    grid-area: text;
  }
}

@media (max-width: 575.98px) {
  .outcomes-section {
    padding: 40px 0 48px;
  }

  .outcomes-card {
    padding: 16px 14px;
    column-gap: 12px;
  }

  .outcomes-card img {
    width: 44px;
    height: 44px;
  }

  .outcomes-stat {
    font-size: 1.35rem;
  }

  .outcomes-card-title {
    font-size: 0.9375rem;
  }

  .outcomes-card-text {
    font-size: 0.8125rem;
  }
}

/* =============================================
   Book a Demo CTA
   ============================================= */

.cta-section {
  padding: 24px 16px 0px;
  background: #ffffff;
}

.cta-panel {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  border-radius: 36px;
  padding: 64px 0;
  overflow: hidden;
  background:
    linear-gradient(rgba(120, 170, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 170, 255, 0.035) 1px, transparent 1px),
    linear-gradient(99.95deg, #1E2A3A 1.24%, #29456A 49.56%, #1E2A3A 97.88%);
  background-size: 48px 48px, 48px 48px, auto;
  background-position: -1px -1px, -1px -1px, 0 0;
}

.cta-content {
  max-width: 720px;
  margin: 0 auto;
}

.cta-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  overflow: hidden;
  filter: drop-shadow(0 8px 20px rgba(240, 86, 35, 0.45));
}

.cta-icon img {
  width: 80px;
  height: 80px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.cta-title {
  font-family: var(--heading-font);
  font-size: clamp(1.5rem, 4.2vw, 52px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 14px;
}

.cta-description {
  font-family: var(--body-font);
  font-size: clamp(0.875rem, 1.6vw, 1.0625rem);
  line-height: 1.7;
  color: #94a3b8;
  margin: 0 auto 28px;
  max-width: 560px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
}

.btn-cta-primary {
  padding: 12px 24px;
  font-size: 0.9375rem;
  border-radius: 12px;
}

.btn-cta-secondary {
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--body-font);
  border-radius: 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.btn-cta-secondary:hover,
.btn-cta-secondary:focus {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(148, 163, 184, 0.5);
}

.cta-note {
  margin: 0;
  font-family: var(--body-font);
  font-size: 0.8125rem;
  color: #64748b;
}

@media (max-width: 991.98px) {
  .cta-section {
    padding: 16px 14px 0px;
  }

  .cta-panel {
    border-radius: 28px;
    padding: 48px 0;
  }

  .cta-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
  }

  .cta-icon img {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 575.98px) {
  .cta-panel {
    border-radius: 22px;
    padding: 40px 0;
  }

  .cta-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
  }

  .cta-icon img {
    width: 56px;
    height: 56px;
  }

  .cta-title {
    margin-bottom: 12px;
  }

  .cta-description {
    margin-bottom: 22px;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    padding: 12px 18px;
    font-size: 0.875rem;
  }

  .cta-note {
    font-size: 0.75rem;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
  }
}

/* =============================================
   Reviews
   ============================================= */

.reviews-section {
  padding: 64px 0 72px;
  background: #ffffff;
}

.reviews-content {
  max-width: 800px;
}

.reviews-title {
  font-family: var(--heading-font);
  font-size: clamp(1.5rem, 3vw, 52px);
  font-weight: 800;
  color: var(--heading-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 36px;
  white-space: nowrap;
}

.reviews-stars {
  display: flex;
  gap: 4px;
  color: #f05623;
  font-size: 0.875rem;
  margin-bottom: 16px;
}

.reviews-featured {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 36px 40px 32px;
  margin-bottom: 16px;
  background:
    radial-gradient(ellipse 55% 70% at 92% 8%, rgba(240, 86, 35, 0.28) 0%, transparent 55%),
    #1a1f2e;
  box-shadow: 0 18px 40px rgba(26, 26, 46, 0.18);
}

.reviews-featured-body {
  opacity: 1;
  transition: opacity 0.4s ease;
}

.reviews-featured-body.is-fading {
  opacity: 0;
}

.reviews-featured-quote {
  margin: 0 0 28px;
  max-width: none;
  font-family: var(--heading-font);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.55;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.reviews-featured-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.reviews-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-align: center;
  overflow: hidden;
}

.reviews-avatar--lg {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  font-size: 0.875rem;
  color: #ffffff;
  background: #f05623;
}

.reviews-avatar--sm {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border-radius: 50%;
  font-size: 0.75rem;
  color: #475569;
  background: #fde8dc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.reviews-featured-author strong {
  display: block;
  font-family: var(--heading-font);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.reviews-featured-author > div > span:not(.reviews-tag) {
  display: block;
  font-family: var(--body-font);
  font-size: 0.875rem;
  color: #94a3b8;
}

.reviews-featured-author > .reviews-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.reviews-tag {
  display: inline-flex !important;
  align-items: center;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(240, 86, 35, 0.12);
  color: #f05623 !important;
  font-size: 0.75rem !important;
  font-weight: 600;
  width: fit-content;
}

.reviews-thumb {
  width: 100%;
  height: 100%;
  text-align: left;
  border: 1px solid #e8ebf0;
  border-radius: 18px;
  background: #f7f8fb;
  padding: 18px 18px 16px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.reviews-thumb:hover,
.reviews-thumb:focus-visible {
  border-color: rgba(240, 86, 35, 0.35);
  box-shadow: 0 8px 22px rgba(26, 26, 46, 0.08);
  outline: none;
  transform: translateY(-2px);
}

.reviews-thumb .reviews-stars {
  font-size: 0.75rem;
  margin-bottom: 10px;
}

.reviews-thumb-quote {
  margin: 0 0 16px;
  min-height: 4.2em;
  font-family: var(--body-font);
  font-size: 0.875rem;
  line-height: 1.55;
  color: #334155;
}

.reviews-thumb-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reviews-thumb-author strong {
  display: block;
  font-family: var(--heading-font);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--heading-dark);
  margin-bottom: 1px;
}

.reviews-thumb-author > div > span {
  display: block;
  font-family: var(--body-font);
  font-size: 0.75rem;
  color: var(--surface-muted);
}

.reviews-thumb-author > .reviews-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 991.98px) {
  .reviews-section {
    padding: 48px 0 56px;
  }

  .reviews-title {
    white-space: normal;
  }

  .reviews-featured {
    padding: 28px 24px 24px;
    border-radius: 20px;
  }
}

@media (max-width: 575.98px) {
  .reviews-section {
    padding: 40px 0 48px;
  }

  .reviews-featured {
    padding: 22px 18px 20px;
  }

  .reviews-thumb-quote {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reviews-featured-body,
  .reviews-thumb {
    transition: none;
  }
}
