.smile-gallery-hp {
  background: var(--primary);
  border: 2px solid var(--primary);
  border-color: var(--secondary);
  border-radius: 6px;
  color: #fff;
  margin: .5rem 0;
  padding: 1rem;
}

.blogs {
  h3.h4,
  h2 {
    color: #fff;
  }
}

.testimonials a.btn.btn-primary {
  background: #000000;
}

.blogs a.btn.btn-warning {
  background: #000000;
}

.hv-section-container {
  padding: 40px 20px;
}

.hv-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.hv-feature-card {
  background: #f5f4f2;
  border-radius: 15px;
  padding: 50px 40px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  border: 2px solid transparent;
}

.hv-icon-circle {
  width: 80px;
  height: 80px;
  background: var(--primary);
  border-radius: 50%;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hv-checkmark {
  width: 35px;
  height: 35px;
  border: 4px solid white;
  border-top: none;
  border-right: none;
  transform: rotate(-45deg);
  margin-top: -8px;
}

.hv-card-title {
  margin-bottom: 20px;
}

.hv-card-text {
  line-height: 1.7;
}

.hv-intro-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 60px 20px;
  background: #f5f4f2;
  position: relative;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-left: 5px solid var(--primary);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hv-intro-section::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 33%;
  height: 100%;
  z-index: 1;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 20px,
    rgba(109, 110, 94, 0.3) 20px,
    rgba(109, 110, 94, 0.3) 22px
  );
  pointer-events: none;
  border-radius: 0 15px 15px 0;
}

.hv-intro-section > * {
  position: relative;
  z-index: 2;
}

.hv-intro-section img {
  max-width: 100%;
  height: auto;
  width: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.hv-intro-section.text-only {
  display: block;
  max-width: 1200px;
  border-left: none;
  margin: 40px auto;
  padding: 40px 20px;
}

.hv-intro-section.text-only::after {
  display: none;
}

.hv-intro-section.text-only > div {
  text-align: center;
}

@media (max-width: 768px) {
  .hv-intro-section::after {
    display: none;
  }
}

.hv-dark-section {
  background: var(--primary);
  padding: 40px 20px;
  text-align: center;
  max-width: 1200px;
  margin: 40px auto;
  border-radius: 15px;
  position: relative;
}

.hv-dark-section h1,
.hv-dark-section h2,
.hv-dark-section h3,
.hv-dark-section h4,
.hv-dark-section h5,
.hv-dark-section h6,
.hv-dark-section p,
.hv-dark-section li {
  color: white;
  position: relative;
  z-index: 1;
}

.hv-dark-section h3 {
  margin-bottom: 15px;
}

.hv-dark-section p {
  line-height: 1.8;
  max-width: 1200px;
  margin: 0 auto;
}

.hv-dark-section a:not(.btn) {
  color: white;
  text-decoration: underline;
}

.hv-dark-section a:not(.btn):hover {
  color: #dedbd3;
}

.hv-info-card {
  background: #f5f4f2;
  border-radius: 15px;
  padding: 50px 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-left: 5px solid var(--primary);
  max-width: 1200px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hv-info-card h3 {
  grid-column: 1 / -1;
  margin-bottom: 20px;
}

.hv-info-card p {
  line-height: 1.7;
  margin-bottom: 15px;
}

.hv-info-card img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 15px;
}

.hv-feature-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: 350px;
  margin: 0 auto;
}

.tab-container {
  max-width: 1200px;
  margin: 0 auto;
  background: #f5f4f2;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.tab-nav {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 2px solid #f0f0f0;
}

.tab-button {
  flex: 1;
  min-width: 200px;
  padding: 20px 15px;
  background: #dedbd3;
  border: none;
  border-bottom: 4px solid transparent;
  cursor: pointer;
  color: #666;
  transition: all 0.3s ease;
  text-align: center;
}

.tab-button:hover {
  background: #f0f0f0;
  color: var(--tertiary);
}

.tab-button.active {
  background: #f5f4f2;
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tab-content {
  padding: 50px 40px;
}

.job-panel {
  display: none;
}

.job-panel.active {
  display: block;
  animation: fadeIn 0.3s ease-in;
}

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

.hv-petriage-scale {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
}

.hv-petriage-item {
  text-align: center;
  padding: 1rem;
  background-color: var(--primary);
  color: #fff;
  border: 1px solid var(--secondary);
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.hv-about-side-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.hv-about-side-layout img {
  width: 100%;
  border-radius: 15px;
  height: 100%;
  object-fit: cover;
}

.hv-about-cards-horizontal {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hv-about-simple-card {
  background: #f5f4f2;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  line-height: 1.7;
}

.hv-section-tagline {
  font-style: italic;
}

.hv-card-link {
  display: inline-block;
  color: var(--tertiary);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.hv-card-link:hover {
  color: var(--primary);
}

.arrow {
  margin-left: 5px;
}

.hv-accordion-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.hv-accordion {
  width: 100%;
  background: #f5f4f2;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  border: 2px solid transparent;
  transition: transform .25s ease-out, box-shadow .25s ease-out, border .25s ease;
}

.hv-accordion > summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f5f4f2;
  color: inherit;
  font-weight: normal;
}

.hv-accordion > summary::-webkit-details-marker {
  display: none;
}

.hv-accordion > summary::marker {
  content: "";
}

.hv-accordion > summary::after {
  content: "▸";
  font-size: 16px;
  transform: rotate(0deg);
  transition: transform .2s ease, opacity .2s ease;
  opacity: .7;
}

.hv-accordion[open] > summary::after {
  transform: rotate(90deg);
  opacity: 1;
}

.hv-acc-body {
  padding: 0 40px 20px 40px;
  background: #f5f4f2;
  color: inherit;
  font-weight: normal;
}

.hv-acc-body p {
  line-height: 1.7;
  margin: 12px 0;
}

.hv-card-list {
  margin: 8px 0 0 18px;
  line-height: 1.6;
}

.hv-card-list li {
  margin: 6px 0;
}

.hv-accordion:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  border: 2px solid var(--primary);
}

.hv-accordion[open] {
  border: 2px solid var(--primary);
}

@media (max-width: 992px) {
  .hv-intro-section {
    grid-template-columns: 1fr;
    padding: 40px 20px;
  }
  .hv-about-side-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hv-features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hv-feature-card {
    padding: 40px 30px;
  }
  .hv-info-card {
    padding: 40px 30px;
    margin: 30px 20px;
    grid-template-columns: 1fr;
  }
  .hv-accordion > summary {
    padding: 16px;
  }
  .hv-acc-body {
    padding: 0 16px 16px 16px;
  }
}

@media (max-width: 900px) {
  .hv-petriage-scale {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .hv-petriage-scale {
    grid-template-columns: 1fr;
  }
}

.avb-see-more-block {
  background-color: rgba(222, 219, 211, 0.08);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(222, 219, 211, 0.2);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .avb-see-more-block {
    padding: 1.5rem;
  }
}

.hv-payments {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.hv-payment-icons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.hv-payment-icon {
  background: #f5f4f2;
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.hv-payment-icon svg {
  width: 100px;
  height: 70px;
  margin: 0 auto 15px;
  color: var(--primary);
}

.hv-payment-icon p {
  margin: 0;
  font-weight: 600;
  font-size: 16px;
  color: #333;
}

.hv-scratchpay {
  background: #f5f4f2;
  border-radius: 15px;
  padding: 50px 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-left: 5px solid var(--primary);
}

.hv-scratchpay-inner {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 40px;
  align-items: start;
}

.hv-scratchpay-inner > p {
  margin: 0;
}

.hv-scratchpay-inner img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.hv-scratchpay-copy h3 {
  margin-top: 0;
  margin-bottom: 15px;
  color: var(--primary);
}

.hv-scratchpay-copy h4 {
  margin-top: 25px;
  margin-bottom: 15px;
}

.hv-scratchpay-copy p {
  line-height: 1.7;
  margin-bottom: 20px;
}

.hv-scratchpay-list {
  margin: 15px 0 25px 20px;
  line-height: 1.8;
}

.hv-scratchpay-list li {
  margin: 8px 0;
  position: relative;
  padding-left: 10px;
}

.hv-scratchpay-list li::marker {
  color: var(--primary);
}

.hv-scratchpay-copy .btn {
  margin-top: 10px;
}

@media (max-width: 768px) {
  .hv-payment-icons {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .hv-scratchpay {
    padding: 40px 30px;
  }

  .hv-scratchpay-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hv-scratchpay-inner > p {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hv-payment-icons {
    grid-template-columns: 1fr;
  }
}

.float-right {
  float: right !important;
  margin-left: 15px;
  margin-bottom: 10px;
}

ul.pager__items.js-pager__items {
  flex-wrap: wrap;
}
