html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  min-height: 100%;
  background: #fffaf8;
  font-family: var(--font-sans);
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

:root {
  --rose-900: #3a1f22;
  --rose-800: #5a2c2b;
  --rose-700: #7b3b37;
  --rose-600: #9a4b46;
  --rose-500: #b8625a;
  --rose-400: #cf7a71;
  --rose-300: #e2a197;
  --rose-200: #f1c5bc;
  --rose-100: #fbe7e2;
  --card-radius: 18px;
  --font-sans: "Mulish", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

.btn-primary {
  --bs-btn-bg: var(--rose-600);
  --bs-btn-border-color: var(--rose-600);
  --bs-btn-hover-bg: var(--rose-700);
  --bs-btn-hover-border-color: var(--rose-700);
  --bs-btn-active-bg: var(--rose-800);
  --bs-btn-active-border-color: var(--rose-800);
}

.topbar {
  background: linear-gradient(90deg, #fff, var(--rose-100));
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.topbar-link {
  color: var(--rose-800);
  text-decoration: none;
  font-weight: 600;
}

.topbar-text {
  color: rgba(0, 0, 0, 0.62);
}

.nav-rose {
  background: linear-gradient(90deg, var(--rose-900), var(--rose-700));
}

.brand-wordmark {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.nav-link-rose {
  color: rgba(255, 255, 255, 0.9) !important;
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.92rem;
}

.navbar .nav-link:hover {
  color: #fff;
}

.main-wrap {
  min-height: calc(100vh - 160px);
}

.hero {
  background-size: cover;
  background-position: center;
}

.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
  min-height: 560px;
}

.hero-carousel .carousel-item .hero {
  min-height: inherit;
  height: 100%;
}

.hero-carousel .carousel-item .hero-overlay {
  min-height: inherit;
  height: 100%;
  display: flex;
  align-items: center;
}

@media (max-width: 576px) {
  .hero-carousel .carousel-inner,
  .hero-carousel .carousel-item {
    min-height: 640px;
  }
}

@media (min-width: 992px) {
  .hero-carousel .carousel-inner,
  .hero-carousel .carousel-item {
    min-height: 620px;
  }
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(58, 31, 34, 0.78), rgba(58, 31, 34, 0.25));
}

.hero-card {
  border-radius: var(--card-radius);
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.20);
  color: #fff;
}

.hero-title {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-subtitle {
  margin-top: 10px;
  font-size: 16px;
  opacity: 0.92;
}

.hero-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 768px) {
  .hero-meta {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hero-meta-item {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-meta-label {
  font-size: 12px;
  opacity: 0.8;
}

.hero-meta-value {
  font-weight: 600;
}

.section-kicker {
  color: var(--rose-600);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}

.service-card {
  border-radius: var(--card-radius);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-title {
  font-weight: 700;
  color: var(--rose-800);
  margin-bottom: 6px;
}

.footer {
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-link {
  color: var(--rose-700);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}

.footer-link:hover {
  text-decoration: underline;
}

.hero-preview {
  border-radius: var(--card-radius);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  min-height: 240px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.hero-preview-overlay {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, rgba(58, 31, 34, 0.78), rgba(58, 31, 34, 0.18));
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.hero-preview-title {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-preview-subtitle {
  color: rgba(255, 255, 255, 0.92);
  margin-top: 6px;
}

.featured-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 576px) {
  .featured-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
  }
}

.featured-tab {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.72);
}

.featured-tab.is-active {
  background: var(--rose-700);
  border-color: var(--rose-700);
  color: #fff;
}

.featured-service-card {
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.featured-service-card:hover {
  border-color: rgba(154, 75, 70, 0.30);
  transform: translateY(-2px);
  transition: transform 140ms ease, border-color 140ms ease;
}

.featured-service-media {
  background: var(--rose-100);
}

.featured-service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-service-media-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose-700);
  font-size: 30px;
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--rose-100);
  color: var(--rose-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  overflow: hidden;
}

.service-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-price {
  font-size: 12px;
  font-weight: 800;
  color: var(--rose-700);
  letter-spacing: 0.04em;
}

.service-name {
  font-weight: 800;
  color: rgba(0, 0, 0, 0.82);
  line-height: 1.2;
}

.service-desc {
  margin-top: 8px;
  color: rgba(0, 0, 0, 0.60);
}

.footer {
  background: #1f1b1c;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
}

.footer-brand {
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-title {
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 10px;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}

.footer-link:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-meta {
  display: grid;
  gap: 8px;
  font-size: 13px;
}

.footer-meta-item {
  color: rgba(255, 255, 255, 0.72);
}

.footer-sep {
  border-color: rgba(255, 255, 255, 0.10);
  margin: 22px 0;
}

.footer-social {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.86);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.footer-social:hover {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.side-actions {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1040;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.10);
  border: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(6px);
}

.side-action {
  min-width: 64px;
  height: 56px;
  padding: 0 16px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.02em;
  border: 2px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.side-action i {
  font-size: 18px;
  color: #fff;
}

.side-action-text {
  color: #fff;
}

.side-action:hover {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.side-action-call {
  background: linear-gradient(180deg, var(--rose-700), var(--rose-900));
}

.side-action-zalo {
  background: linear-gradient(180deg, #2f80ed, #1f5fb7);
}

.zalo-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: inline-block;
  border-radius: 6px;
}

.side-action .zalo-logo {
  width: 22px;
  height: 22px;
}

.footer-social .zalo-logo {
  width: 18px;
  height: 18px;
}

@media (max-width: 576px) {
  .side-actions {
    display: none;
  }
}
