/* ===== base ===== */
/* ---------- Fonts (self-hosted; variable weight, vietnamese + latin subsets) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/inter-vietnamese.woff2) format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/roboto-vietnamese.woff2) format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/roboto-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/roboto-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens (DLTheme palette: coffee-leaf green + roasted copper) ---------- */
:root {
  --color-primary: #1b4d3e;
  --color-primary-dark: #0f3326;
  --color-primary-soft: #2e8c60;
  --color-accent: #c2621f;
  --color-accent-light: #e8a243;
  --color-title: #121212;
  --color-body: #6f6e77;
  --color-text: #1d1d1d;
  --color-smoke: #f4f4f4;
  --color-light: #cdcdcd;
  --color-white: #fff;
  --font-body: "Inter", sans-serif;
  --font-alt: "Roboto", sans-serif;
  --shadow-card: 0 5px 15px rgba(0, 0, 0, .08);
  --radius: 10px;
  --sec-title: 26px;
}

/* ---------- Bootstrap / Reboot overrides ---------- */
html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: var(--color-body);
  background-color: var(--color-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-title);
  line-height: 1.4;
}

p {
  margin: 0 0 18px;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: .4s;
}

a:hover,
a:focus {
  color: var(--color-accent);
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
}

button:focus,
input:focus,
select:focus {
  outline: none;
}

.container {
  padding-right: 12px;
  padding-left: 12px;
}

@media (min-width: 1400px) {
  .container {
    max-width: 1440px;
  }
}

.row {
  margin-right: -12px;
  margin-left: -12px;
}

.row > [class*="col"] {
  padding-right: 12px;
  padding-left: 12px;
}

@media (min-width: 768px) {
  :root {
    --sec-title: 32px;
  }
}

/* ---------- Custom scrollbar ---------- */
body::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
  background-color: #f5f5f5;
}

body::-webkit-scrollbar {
  width: 8px;
  background-color: #f5f5f5;
}

body::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: var(--color-primary);
  background-image: linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
}

/* ---------- Shared pattern: section heading ---------- */
.sub-title {
  display: inline-block;
  margin: 0 0 20px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
  color: var(--color-white);
  text-transform: uppercase;
  background-color: var(--color-primary);
  border-radius: 100px;
}

.sub-title img {
  width: 18px;
  margin: -5px 10px 0 0;
  vertical-align: middle;
}

.sec-title {
  margin: -8px 0 15px;
  font-size: var(--sec-title);
  font-weight: 400;
  line-height: 1.227;
  color: var(--color-title);
  text-transform: uppercase;
}

.sec-desc {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 28px;
  color: var(--color-body);
}

/* ---------- Shared pattern: button with wipe-out fill ---------- */
.th-btn {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 17px 30px;
  overflow: hidden;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  color: var(--color-white);
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: middle;
  background-color: var(--color-primary);
  border: 0;
  border-radius: var(--radius);
  transition: transform .6s cubic-bezier(.4, 0, .2, 1), box-shadow .4s;
}

.th-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
  background-color: var(--color-accent);
  transition: all .4s cubic-bezier(.42, 0, .58, 1);
}

.th-btn i {
  position: relative;
  margin-left: 10px;
  transition: .4s ease-in-out;
}

.th-btn:hover,
.th-btn:focus {
  color: var(--color-white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
}

.th-btn:hover::before,
.th-btn:focus::before {
  right: 0;
  left: auto;
  width: 0;
}

/* Accent fill that wipes to white with accent text */
.th-btn.is-light {
  background-color: var(--color-white);
}

.th-btn.is-light:hover,
.th-btn.is-light:focus {
  color: var(--color-accent);
}

/* Primary fill that wipes to accent */
.th-btn.is-dark {
  background-color: var(--color-accent);
}

.th-btn.is-dark::before {
  background-color: var(--color-primary);
}

/* Primary fill that wipes to white with primary text */
.th-btn.is-ghost {
  background-color: var(--color-white);
}

.th-btn.is-ghost::before {
  background-color: var(--color-primary);
}

.th-btn.is-ghost:hover,
.th-btn.is-ghost:focus {
  color: var(--color-primary);
}

/* ---------- Shared pattern: underlined text link ---------- */
.line-btn {
  position: relative;
  display: inline-block;
  margin-bottom: -1px;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  color: var(--color-accent);
  text-transform: uppercase;
}

.line-btn i {
  margin-left: 5px;
  font-size: .9rem;
}

.line-btn::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 85%;
  height: 1px;
  background-color: var(--color-accent);
  transition: all .4s ease;
}

.line-btn:hover {
  color: var(--color-title);
}

.line-btn:hover::before {
  width: 45px;
  background-color: var(--color-title);
}

/* ---------- Shared pattern: form field with a leading icon (white input) ---------- */
.th-field {
  position: relative;
}

.th-field input,
.th-field textarea {
  display: block;
  width: 100%;
  height: 56px;
  padding: 0 20px 0 50px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  color: var(--color-title);
  background-color: var(--color-white);
  border: 1px solid transparent;
  border-radius: 12px;
  transition: .4s ease-in-out;
}

.th-field textarea {
  height: 130px;
  padding-top: 16px;
  resize: vertical;
}

.th-field input::placeholder,
.th-field textarea::placeholder {
  color: var(--color-body);
}

.th-field input:focus,
.th-field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.th-field.is-invalid input,
.th-field.is-invalid textarea {
  border-color: #dc3545;
}

.th-field i {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1;
  font-size: 15px;
  color: var(--color-accent);
  pointer-events: none;
}

/* ---------- Shared pattern: FAQ accordion (Bootstrap collapse) ---------- */
.th-accordion__item {
  margin: 0 0 14px;
  border: 1px solid #e6eae8;
  border-radius: 14px;
  transition: border-color .4s ease, box-shadow .4s ease;
}

.th-accordion__item:last-child {
  margin-bottom: 0;
}

.th-accordion__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  width: 100%;
  padding: 18px 22px;
  font-size: 17px;
  font-weight: 600;
  line-height: 26px;
  color: var(--color-primary);
  text-align: left;
  background: transparent;
  border: 0;
  transition: color .4s ease;
}

.th-accordion__q::after {
  content: "\f068";
  flex: none;
  width: 30px;
  height: 30px;
  font-family: "Font Awesome 6 Free";
  font-size: 12px;
  font-weight: 900;
  line-height: 30px;
  color: var(--color-white);
  text-align: center;
  background-color: var(--color-accent);
  border-radius: 50%;
  transition: all .4s ease;
}

.th-accordion__q.collapsed {
  color: var(--color-title);
}

.th-accordion__q.collapsed::after {
  content: "\f067";
  color: var(--color-primary);
  background-color: var(--color-smoke);
}

.th-accordion__q:hover {
  color: var(--color-accent);
}

.th-accordion__a {
  margin: 0;
  padding: 0 22px 20px;
  font-size: 15px;
  line-height: 26px;
  color: var(--color-body);
}

/* ---------- Shared pattern: sidebar widget + link list ---------- */
.th-widget {
  margin: 0 0 30px;
  padding: 35px 30px;
  background-color: var(--color-smoke);
  border-radius: 20px;
}

.th-widget__title {
  position: relative;
  margin: 0 0 20px;
  padding: 0 0 14px;
  font-size: 22px;
  font-weight: 700;
  line-height: 30px;
  color: var(--color-title);
  border-bottom: 2px solid #e3e6e4;
}

.th-widget__title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--color-accent);
}

.th-cats li {
  margin: 0 0 10px;
}

.th-cats li:last-child {
  margin-bottom: 0;
}

.th-cats a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--color-title);
  background-color: var(--color-white);
  border-radius: 12px;
}

.th-cats i {
  font-size: 13px;
  color: var(--color-accent);
  transition: .4s ease;
}

.th-cats a:hover,
.th-cats a.is-active {
  color: var(--color-white);
  background-color: var(--color-primary);
}

.th-cats a:hover i,
.th-cats a.is-active i {
  color: var(--color-white);
  transform: translateX(4px);
}

.th-cats span {
  font-size: 14px;
  color: var(--color-body);
  transition: .4s ease;
}

.th-cats a:hover span,
.th-cats a.is-active span {
  color: var(--color-white);
}

/* ---------- Shared pattern: sidebar search, recent posts, tags ---------- */
.th-search {
  position: relative;
}

.th-search input {
  width: 100%;
  height: 56px;
  padding: 0 70px 0 20px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-title);
  background-color: var(--color-white);
  border: 1px solid transparent;
  border-radius: 12px;
  transition: border-color .4s ease;
}

.th-search input:focus {
  border-color: var(--color-primary);
}

.th-search button {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  font-size: 15px;
  color: var(--color-white);
  background-color: var(--color-primary);
  border: 0;
  border-radius: 10px;
  transition: background-color .4s ease;
}

.th-search button:hover {
  background-color: var(--color-accent);
}

.th-recent__item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 18px;
  padding: 0 0 18px;
  border-bottom: 1px dashed #dcdcdc;
}

.th-recent__item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.th-recent__thumb {
  flex: none;
  width: 80px;
  height: 80px;
  overflow: hidden;
  border-radius: 12px;
}

.th-recent__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.th-recent__item:hover .th-recent__thumb img {
  transform: scale(1.1);
}

.th-recent__date {
  display: block;
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 20px;
  color: var(--color-body);
}

.th-recent__date i {
  margin-right: 6px;
  color: var(--color-accent);
}

.th-recent__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.th-recent__title a {
  color: var(--color-title);
}

.th-recent__title a:hover {
  color: var(--color-accent);
}

.th-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.th-tags a {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--color-title);
  background-color: var(--color-white);
  border-radius: 100px;
}

.th-tags a:hover {
  color: var(--color-white);
  background-color: var(--color-primary);
}

/* ---------- Keyframes ---------- */
@keyframes ripple {
  0% {
    opacity: 0;
    transform: scale(1);
  }

  30% {
    opacity: .4;
  }

  100% {
    opacity: 0;
    transform: scale(1.8);
  }
}

@keyframes slide-in-down {
  0% {
    opacity: 0;
    transform: translateY(-70px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes header-sticky {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(0);
  }
}

/* ---------- Custom AOS animations ---------- */
[data-aos="rise-30"] {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition-property: opacity, transform;
}

[data-aos="rise-30"].aos-animate {
  opacity: 1;
  transform: none;
}

/* ===== shared/footer ===== */
.s-footer {
  background-color: var(--color-primary-dark);
}

.s-footer__cta {
  position: relative;
  overflow: hidden;
  background-color: var(--color-accent);
  background-image: url(../images/bg-footer-top.webp);
  background-position: center;
  background-size: cover;
}

.s-footer__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-accent);
  opacity: .9;
}

.s-footer__cta-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 45px 0;
}

.s-footer__cta-title {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 700;
  line-height: 36px;
  color: var(--color-white);
}

.s-footer__cta-text {
  margin: 0;
  font-size: 16px;
  line-height: 26px;
  color: rgba(255, 255, 255, .9);
}

.s-footer__cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 30px;
}

.s-footer__cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: var(--color-white);
}

.s-footer__cta-phone i {
  width: 48px;
  height: 48px;
  font-size: 18px;
  line-height: 46px;
  text-align: center;
  border: 1px dashed var(--color-white);
  border-radius: 50%;
}

.s-footer__cta-phone:hover {
  color: var(--color-primary-dark);
}

.s-footer__cta .th-btn {
  color: var(--color-accent);
  background-color: var(--color-primary-dark);
}

.s-footer__cta .th-btn::before {
  background-color: var(--color-white);
}

.s-footer__cta .th-btn:hover,
.s-footer__cta .th-btn:focus {
  color: var(--color-white);
}

.s-footer__main {
  position: relative;
  z-index: 1;
  background-image: url(../images/bg-footer-main.webp);
  background-position: center;
  background-size: cover;
}

.s-footer__main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--color-primary-dark);
  opacity: .92;
}

.s-footer__widgets {
  padding: 70px 0 20px;
}

.s-footer__widget {
  margin-bottom: 40px;
}

.s-footer__logo {
  display: inline-block;
  margin-bottom: 22px;
}

.s-footer__logo img {
  display: block;
  width: 220px;
  height: auto;
}

.s-footer__about {
  margin: 0 0 25px;
  font-size: 15px;
  line-height: 26px;
  color: var(--color-light);
}

.s-footer__contact li {
  display: flex;
  gap: 14px;
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 24px;
  color: var(--color-white);
}

.s-footer__contact i {
  flex: none;
  width: 18px;
  margin-top: 4px;
  color: var(--color-accent-light);
  text-align: center;
}

.s-footer__contact a {
  color: var(--color-white);
}

.s-footer__contact a:hover {
  color: var(--color-accent-light);
}

.s-footer__title {
  margin: 0 0 25px;
  font-family: var(--font-alt);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: var(--color-white);
}

.s-footer__title::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 8px;
  vertical-align: middle;
  background-color: var(--color-accent);
  border-radius: 50%;
}

.s-footer__menu li {
  margin: 0 0 14px;
}

.s-footer__menu li:last-child {
  margin-bottom: 0;
}

.s-footer__menu a {
  display: inline-block;
  font-size: 15px;
  line-height: 22px;
  color: var(--color-light);
}

.s-footer__menu a:hover {
  color: var(--color-accent-light);
  transform: translateX(6px);
}

.s-footer__hours {
  margin: 0 0 35px;
}

.s-footer__hours li {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 0;
  font-size: 15px;
  line-height: 22px;
  color: var(--color-light);
  border-bottom: 1px dashed rgba(255, 255, 255, .2);
}

.s-footer__hours li span:last-child {
  font-weight: 600;
  color: var(--color-white);
}

.s-footer__social {
  display: flex;
  gap: 10px;
}

.s-footer__social a {
  display: inline-block;
  width: 42px;
  height: 42px;
  font-size: 15px;
  line-height: 40px;
  color: var(--color-white);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 10px;
}

.s-footer__social a:hover {
  color: var(--color-white);
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.s-footer__bottom {
  padding: 22px 0;
  background-color: rgba(0, 0, 0, .2);
}

.s-footer__bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.s-footer__copyright {
  margin: 0;
  font-family: var(--font-alt);
  font-size: 14px;
  line-height: 24px;
  color: var(--color-light);
}

.s-footer__copyright strong {
  font-weight: 700;
  color: var(--color-accent-light);
}

.s-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 24px;
}

.s-footer__links a {
  font-size: 14px;
  line-height: 24px;
  color: var(--color-light);
}

.s-footer__links a:hover {
  color: var(--color-accent-light);
}

@media (min-width: 768px) {
  .s-footer__bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 992px) {
  .s-footer__cta-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .s-footer__cta-title {
    font-size: 30px;
    line-height: 40px;
  }
}

@media (min-width: 1200px) {
  .s-footer__widgets {
    padding-top: 90px;
  }

  .s-footer__brand {
    padding-right: 40px;
  }
}

/* ===== shared/header ===== */
.s-header {
  position: relative;
  z-index: 41;
}

.s-header__top {
  display: none;
  padding: 10px 0;
  background-color: var(--color-primary-dark);
}

.s-header__top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.s-header__links li {
  display: inline-block;
  margin-right: 28px;
  font-size: 14px;
  line-height: 22px;
  color: rgba(255, 255, 255, .85);
}

.s-header__links li:last-child {
  margin-right: 0;
}

.s-header__links i {
  margin-right: 8px;
  color: var(--color-accent-light);
}

.s-header__links a {
  color: rgba(255, 255, 255, .85);
}

.s-header__links a:hover {
  color: var(--color-accent-light);
}

.s-header__social {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  line-height: 22px;
  color: rgba(255, 255, 255, .85);
}

.s-header__social span {
  margin-right: 6px;
}

.s-header__social a {
  display: inline-block;
  width: 28px;
  height: 28px;
  font-size: 13px;
  line-height: 28px;
  color: var(--color-white);
  text-align: center;
  border-radius: 50%;
}

.s-header__social a:hover {
  color: var(--color-white);
  background-color: var(--color-accent);
}

body.is-locked {
  overflow: hidden;
}

.s-header__sticky {
  position: relative;
  z-index: 3;
}

.s-header__sticky.is-sticky {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
  animation: header-sticky .95s ease forwards;
}

.s-header__menu-area {
  background-color: var(--color-white);
  border-bottom: 1px solid #eef0ef;
}

.s-header__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 80px;
}

.s-header__logo {
  display: block;
  padding: 12px 0;
}

.s-header__logo img {
  display: block;
  width: auto;
  height: 52px;
}

.s-header__nav {
  display: none;
}

.s-header__nav > ul > li {
  position: relative;
  display: inline-block;
  margin: 0 13px;
}

.s-header__nav > ul > li > a {
  position: relative;
  display: block;
  padding: 33px 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 24px;
  color: var(--color-title);
  text-transform: uppercase;
}

.s-header__nav > ul > li > a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--color-accent);
  border-radius: 3px 3px 0 0;
  transform: scaleX(0);
  transition: transform .4s ease;
}

.s-header__nav > ul > li > a:hover,
.s-header__nav > ul > li.is-active > a {
  color: var(--color-accent);
}

.s-header__nav > ul > li:hover > a::before,
.s-header__nav > ul > li.is-active > a::before {
  transform: scaleX(1);
}

.s-header__nav .has-children > a::after {
  content: "\f107";
  margin-left: 6px;
  font-family: "Font Awesome 6 Free";
  font-size: 12px;
  font-weight: 900;
}

.s-header__sub {
  position: absolute;
  top: 100%;
  left: -20px;
  z-index: -1;
  min-width: 270px;
  width: max-content;
  padding: 14px 0;
  text-align: left;
  background-color: var(--color-white);
  border-top: 3px solid var(--color-accent);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 15px 40px rgba(1, 15, 28, .1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all .4s ease 0s;
}

.s-header__nav li:hover > .s-header__sub {
  z-index: 9;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.s-header__sub li {
  display: block;
}

.s-header__sub a {
  display: block;
  padding: 8px 24px;
  font-size: 15px;
  font-weight: 500;
  line-height: 24px;
  color: var(--color-title);
}

.s-header__sub a:hover {
  color: var(--color-primary);
  background-color: rgba(27, 77, 62, .06);
}

.s-header__label {
  position: relative;
  top: -1px;
  margin-left: 5px;
  padding: 3px 7px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-white);
  text-transform: uppercase;
  background-color: var(--color-accent);
  border-radius: 4px;
}

.s-header__actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.s-header__icon-btn {
  position: relative;
  padding: 0;
  font-size: 20px;
  line-height: 25px;
  color: var(--color-title);
  background: transparent;
  border: 0;
}

.s-header__icon-btn:hover {
  color: var(--color-accent);
}

.s-header__search-btn {
  display: none;
  width: 46px;
  height: 46px;
  font-size: 17px;
  background-color: var(--color-smoke);
  border-radius: 50%;
}

.s-header__call {
  display: none;
  align-items: center;
  gap: 12px;
  padding-left: 24px;
  border-left: 1px solid #e3e6e4;
}

.s-header__call-icon {
  width: 46px;
  height: 46px;
  font-size: 18px;
  line-height: 46px;
  color: var(--color-white);
  text-align: center;
  background-color: var(--color-primary);
  border-radius: 50%;
  transition: .4s ease;
}

.s-header__call:hover .s-header__call-icon {
  background-color: var(--color-accent);
}

.s-header__call-text {
  font-size: 17px;
  font-weight: 700;
  line-height: 22px;
  color: var(--color-title);
}

.s-header__call-text small {
  display: block;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  color: var(--color-body);
}

.s-header__toggle {
  width: 46px;
  height: 46px;
  color: var(--color-white);
  background-color: var(--color-primary);
  border-radius: 10px;
}

.s-header__toggle:hover {
  color: var(--color-white);
  background-color: var(--color-accent);
}

/* Mobile off-canvas menu */
.s-header__mobile {
  position: fixed;
  inset: 0;
  z-index: 999999;
  visibility: hidden;
  background-color: rgba(0, 0, 0, .6);
  opacity: 0;
  transition: all .8s;
}

.s-header__mobile.is-open {
  visibility: visible;
  opacity: 1;
}

.s-header__mobile-panel {
  position: relative;
  left: -110%;
  width: 100%;
  max-width: 310px;
  height: 100%;
  overflow-y: auto;
  background-color: var(--color-white);
  opacity: 0;
  visibility: hidden;
  transition: all 1s;
}

.s-header__mobile.is-open .s-header__mobile-panel {
  left: 0;
  opacity: 1;
  visibility: visible;
}

.s-header__mobile-close {
  position: absolute;
  top: 25px;
  right: -16.5px;
  z-index: 1;
  width: 33px;
  height: 33px;
  padding: 0;
  font-size: 18px;
  line-height: 33px;
  color: var(--color-white);
  text-align: center;
  background-color: var(--color-primary);
  border: 0;
  border-radius: 50%;
}

.s-header__mobile-close:hover {
  background-color: var(--color-accent);
}

.s-header__mobile-logo {
  padding: 40px 20px 30px;
  text-align: center;
  background-color: var(--color-accent);
}

.s-header__mobile-logo img {
  width: 240px;
}

.s-header__mobile-nav {
  padding: 0 40px 40px;
}

.s-header__mobile-nav li {
  border-bottom: 1px solid #fdedf1;
}

.s-header__mobile-nav a {
  position: relative;
  display: block;
  padding: 12px 0 12px 18px;
  font-size: 16px;
  line-height: 22.4px;
  color: var(--color-title);
  text-transform: capitalize;
}

.s-header__mobile-nav a::before {
  content: "\f105";
  position: absolute;
  top: 12px;
  left: 0;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.s-header__mobile-nav a:hover,
.s-header__mobile-nav .is-active > a {
  color: var(--color-accent);
}

.s-header__mobile-nav .sub-list {
  display: none;
  padding-left: 18px;
}

.s-header__mobile-nav .sub-list li:last-child {
  border-bottom: 0;
}

.s-header__mobile-nav .has-children {
  position: relative;
}

.s-header__expand {
  position: absolute;
  top: 10px;
  right: 0;
  width: 25px;
  height: 25px;
  padding: 0;
  font-size: 12px;
  line-height: 25px;
  color: var(--color-title);
  text-align: center;
  background-color: #f4f4f4;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 0 20px -8px rgba(173, 136, 88, .5);
  transition: .4s;
}

.s-header__expand.is-open {
  color: var(--color-white);
  background-color: var(--color-accent);
  transform: rotate(45deg);
}

/* Search popup */
.s-header__search {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  background-color: rgba(0, 0, 0, .95);
  opacity: 0;
  transition: all .4s ease;
}

.s-header__search.is-open {
  visibility: visible;
  opacity: 1;
}

.s-header__search-close {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 60px;
  height: 60px;
  padding: 0;
  font-size: 22px;
  line-height: 58px;
  color: var(--color-accent);
  background: transparent;
  border: 1px solid var(--color-accent);
  border-radius: 50%;
  transition: .4s;
}

.s-header__search-close:hover {
  color: var(--color-white);
  background-color: var(--color-accent);
  transform: rotate(90deg);
}

.s-header__search-form {
  position: relative;
  width: 100%;
  max-width: 600px;
  padding: 0 20px;
  transform: scale(.8);
  transition: transform .4s ease;
}

.s-header__search.is-open .s-header__search-form {
  transform: scale(1);
}

.s-header__search-form input {
  width: 100%;
  height: 70px;
  padding: 0 70px 0 30px;
  font-size: 18px;
  color: var(--color-white);
  background-color: transparent;
  border: 2px solid var(--color-accent);
  border-radius: 50px;
}

.s-header__search-form input::placeholder {
  color: #ccc;
}

.s-header__search-form button {
  position: absolute;
  top: 0;
  right: 30px;
  width: 70px;
  height: 70px;
  padding: 0;
  font-size: 22px;
  color: var(--color-white);
  background: transparent;
  border: 0;
}

.s-header__mobile-call {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 40px 40px;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-white);
  background-color: var(--color-primary);
  border-radius: var(--radius);
}

.s-header__mobile-call:hover {
  color: var(--color-white);
  background-color: var(--color-accent);
}

@media (min-width: 992px) {
  .s-header__top {
    display: block;
  }
}

@media (min-width: 1200px) {
  .s-header__bar {
    min-height: 90px;
  }

  .s-header__nav {
    display: block;
  }

  .s-header__search-btn {
    display: block;
  }

  .s-header__toggle {
    display: none;
  }
}

@media (min-width: 1400px) {
  .s-header__logo img {
    height: 60px;
  }

  .s-header__nav > ul > li {
    margin: 0 17px;
  }

  .s-header__call {
    display: flex;
  }
}

/* ===== shared/page-hero ===== */
.s-page-hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  background-color: var(--color-primary-dark);
}

.s-page-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url(../images/breadcrumb-bg.jpg);
  background-position: center;
  background-size: cover;
}

.s-page-hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 51, 38, .85) 0%, rgba(15, 51, 38, .7) 55%, rgba(15, 51, 38, .92) 100%);
}

.s-page-hero__content {
  position: relative;
  text-align: center;
}

.s-page-hero__title {
  margin: 0 0 20px;
  font-size: 40px;
  font-weight: 700;
  line-height: 52px;
  color: var(--color-white);
}

.s-page-hero__crumbs {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 22px;
  list-style: none;
  background-color: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 100px;
}

.s-page-hero__crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  line-height: 22px;
  color: var(--color-accent-light);
}

.s-page-hero__crumbs li + li::before {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-size: 11px;
  font-weight: 900;
  color: var(--color-accent-light);
}

.s-page-hero__crumbs a {
  color: var(--color-white);
}

.s-page-hero__crumbs a:hover {
  color: var(--color-accent-light);
}

@media (min-width: 768px) {
  .s-page-hero__title {
    font-size: 56px;
    line-height: 68px;
  }
}

@media (min-width: 992px) {
  .s-page-hero {
    padding: 130px 0 140px;
  }
}

@media (min-width: 1200px) {
  .s-page-hero__title {
    font-size: 64px;
    line-height: 76px;
  }
}

/* ===== shared/scroll-top ===== */
.s-scroll-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 10000;
  display: block;
  width: 50px;
  height: 50px;
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 50px;
  opacity: 1;
  visibility: hidden;
  transform: translateY(45px);
  transition: all .3s linear;
}

.s-scroll-top.is-visible {
  visibility: visible;
  transform: translateY(0);
}

.s-scroll-top::after {
  content: "\f062";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: block;
  width: 50px;
  height: 50px;
  font-family: "Font Awesome 6 Free";
  font-size: 20px;
  font-weight: 900;
  line-height: 46px;
  color: var(--color-primary);
  text-align: center;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
}

.s-scroll-top svg {
  display: block;
  width: 100%;
  height: 100%;
  color: var(--color-primary);
  background: var(--color-white);
  border-radius: 50%;
}

.s-scroll-top path {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 20px;
  box-sizing: border-box;
  transition: stroke-dashoffset 10ms linear;
}

/* ===== shared/testimonials ===== */
.s-testimonials {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  background-color: var(--color-primary);
  background-image: url(../images/bg-footer-main.webp);
  background-position: center;
  background-size: cover;
}

.s-testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-primary);
  opacity: .88;
}

.s-testimonials .container {
  position: relative;
}

.s-testimonials .sub-title {
  background-color: var(--color-accent);
}

.s-testimonials .sec-title {
  color: var(--color-white);
}

.s-testimonials .sec-desc {
  color: rgba(255, 255, 255, .8);
}

.s-testimonials__head {
  margin-bottom: 40px;
}

.s-testimonials__arrows {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.s-testimonials__arrow {
  width: 54px;
  height: 54px;
  padding: 0;
  font-size: 16px;
  color: var(--color-white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 50%;
  transition: .4s ease-in-out;
}

.s-testimonials__arrow:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.s-testimonials__slider {
  margin: 0 -12px;
}

.s-testimonials__slider .slick-track {
  display: flex;
}

.s-testimonials__slider .slick-slide {
  height: auto;
}

.s-testimonials__slider .slick-slide > div {
  height: 100%;
}

.s-testimonials__slide {
  height: 100%;
  padding: 0 12px;
}

.s-testimonials__card {
  position: relative;
  height: 100%;
  padding: 35px 30px 30px;
  background-color: var(--color-white);
  border-radius: 20px;
}

.s-testimonials__quote {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 48px;
  height: auto;
  opacity: .2;
}

.s-testimonials__stars {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 20px;
  color: var(--color-accent-light);
}

.s-testimonials__stars i {
  margin-right: 2px;
}

.s-testimonials__rating {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: var(--color-title);
}

.s-testimonials__text {
  margin: 0 0 25px;
  padding: 0 0 25px;
  font-size: 16px;
  font-style: italic;
  line-height: 28px;
  color: var(--color-body);
  border-bottom: 1px dashed #dcdcdc;
}

.s-testimonials__profile {
  display: flex;
  align-items: center;
  gap: 16px;
}

.s-testimonials__profile img {
  flex: none;
  width: 60px;
  height: 60px;
  object-fit: cover;
  border: 3px solid var(--color-accent-light);
  border-radius: 50%;
}

.s-testimonials__name {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 26px;
  color: var(--color-title);
}

.s-testimonials__desig {
  display: block;
  font-size: 14px;
  line-height: 22px;
  color: var(--color-accent);
}

@media (min-width: 1200px) {
  .s-testimonials {
    padding: 120px 0;
  }

  .s-testimonials__head {
    margin-bottom: 0;
    padding-right: 30px;
  }
}
