*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --sidebar-w: 190px;
  --top-bar-h: 34px;
  --brown-dark: #4a2e10;
  --brown-mid: #8b5e3c;
  --brown-soft: #9d7352;
  --brown-lt: #e9d99e;
  --cream: #fff;
  --cream-deep: #fff;
  --paper: #fff;
  --text: #2a1e12;
  --text-soft: #8f674b;
  --line: rgba(139, 94, 60, 0.16);
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Be Vietnam Pro', sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.top-bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1100;
  height: var(--top-bar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  background: #8b735d;
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.top-bar__center {
  width: 100%;
  text-align: center;
}

.mobile-header {
  display: none;
}

.sidebar {
  position: fixed;
  top: var(--top-bar-h);
  left: 0;
  z-index: 1000;
  width: var(--sidebar-w);
  height: calc(100vh - var(--top-bar-h));
  padding: 0 16px 20px 18px;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  transition: transform 0.4s var(--ease);
}

.sidebar::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(139, 94, 60, 0.18) 20%, rgba(139, 94, 60, 0.18) 80%, transparent);
}

.sidebar__phone {
  width: 100%;
  margin-bottom: 30px;
  padding: 18px 0 16px;
  border-bottom: 1px solid rgba(139, 94, 60, 0.12);
}

.sidebar__phone-link {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--brown-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.sidebar__wa-icon {
  width: 18px;
  height: 18px;
  fill: #25d366;
  flex-shrink: 0;
}

.sidebar__logo {
  width: 100%;
  margin-bottom: 42px;
}

.sidebar__logo a {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}

.sidebar__logo-label {
  display: block;
  width: 112px;
  height: 112px;
  margin-bottom: 16px;
  font-size: 0;
  color: transparent;
  background: url('assets/logo-creator.png') center/contain no-repeat;
  filter: drop-shadow(0 10px 22px rgba(74, 46, 16, 0.12));
}

.sidebar__logo-text {
  display: block;
  color: var(--brown-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.34em;
  line-height: 1.5;
  text-transform: uppercase;
}

.sidebar__nav {
  width: 100%;
  margin-bottom: 30px;
}

.sidebar__nav ul {
  display: flex;
  flex-direction: column;
}

.sidebar__nav a {
  position: relative;
  display: block;
  padding: 12px 0;
  color: #7a6652;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.25s, padding-left 0.25s;
}

.sidebar__nav a::before {
  content: '';
  position: absolute;
  left: -18px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--brown-dark);
  transition: height 0.25s var(--ease);
}

.sidebar__nav a:hover,
.sidebar__nav a.active {
  color: var(--brown-dark);
  padding-left: 4px;
}

.sidebar__nav a.active::before {
  height: 16px;
}

.sidebar__social {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 26px);
  justify-content: start;
  gap: 18px;
  margin-bottom: 24px;
}

.sidebar__social a {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7a6652;
  transition: color 0.2s, transform 0.2s;
}

.sidebar__social a:hover {
  color: var(--brown-dark);
  transform: translateY(-2px);
}

.sidebar__social svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.sidebar__highlight {
  border-top: 1px solid rgba(139, 94, 60, 0.15);
  padding-top: 20px;
  font-size: 9.5px;
  line-height: 1.9;
  color: #7a6652;
}

.sidebar-overlay {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 950;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.sidebar-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.hamburger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
}

.main-content {
  margin-top: var(--top-bar-h);
  margin-left: var(--sidebar-w);
}

.contact-page {
  background: #fff;
  padding: 14px 36px 0;
}

.contact-hero {
  text-align: center;
  padding: 4px 18px 0;
}

.contact-hero__topline {
  height: 1px;
  margin-bottom: 16px;
  background: linear-gradient(to right, transparent, rgba(139, 94, 60, 0.72), transparent);
}

.contact-hero__eyebrow {
  color: var(--brown-mid) !important;
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 4.2vw, 56px);
  font-weight: 700;
  line-height: 1.05;
}

.contact-hero__title {
  margin-top: 10px;
  color: var(--brown-soft);
  font-size: clamp(18px, 1.55vw, 28px);
  font-weight: 500;
  line-height: 1.35;
}

.contact-hero__subtitle {
  max-width: 720px;
  margin: 4px auto 0;
  color: var(--brown-soft);
  font-size: 15px;
  line-height: 1.55;
}

.contact-banner {
  margin-top: 16px;
  border-top: 1px solid rgba(139, 94, 60, 0.4);
  border-bottom: 1px solid rgba(139, 94, 60, 0.4);
}

.contact-banner__image {
  height: 260px;
  padding: 14px 0;
}

.contact-banner__media {
  width: 100%;
  height: 100%;
}

.contact-banner__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
  border: 1px solid rgba(233, 217, 158, 0.7);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.contact-card {
  min-height: 424px;
  background: #fff;
  border: 2px solid rgba(233, 217, 158, 0.85);
  padding: 20px 22px 24px;
}

.contact-card h2,
.contact-form-section__header h2 {
  color: #84563C;
  font-family: "Britannic Bold", Broadway, "Arial Black", "Trebuchet MS", sans-serif;
  font-size: clamp(24px, 2.15vw, 38px);
  font-weight: 700;
  line-height: 1.04;
}

.contact-card > p {
  margin-top: 18px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.75;
}

.contact-details {
  margin-top: 38px;
}

.contact-details h3,
.faq-item h3 {
  margin-bottom: 10px;
  color: #84563C;
  font-family: "Britannic Bold", Broadway, "Arial Black", "Trebuchet MS", sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.12;
}

.contact-details__company {
  color: #84563C;
  font-family: "Britannic Bold", Broadway, "Arial Black", "Trebuchet MS", sans-serif;
  font-size: 26px;
  line-height: 1.18;
  margin-bottom: 12px;
}

.contact-details p,
.faq-item p {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.7;
}

.faq-list {
  margin-top: 28px;
  display: grid;
  gap: 22px;
}

.contact-form-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 12px 28px;
}

.contact-form-section__header p {
  margin-top: 4px;
  color: #9c8b7a;
  font-size: 11px;
  line-height: 1.4;
}

.contact-form {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.contact-form__field--wide {
  grid-column: 1 / -1;
}

.contact-form label {
  color: var(--brown-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #eadfcd;
  border-radius: 6px;
  background: #fff;
  min-height: 40px;
  padding: 10px 13px;
  color: #7e6854;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(139, 94, 60, 0.5);
  box-shadow: 0 0 0 3px rgba(139, 94, 60, 0.08);
}

.contact-form__submit {
  grid-column: 1 / -1;
  position: relative;
  border: 0;
  border-radius: 4px;
  background: #8c5a33;
  color: #fff;
  padding: 11px 18px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.contact-form__submit:hover {
  background: #754927;
  transform: translateY(-1px);
}

.contact-media-strip {
  width: 100%;
  margin: 24px auto 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  box-sizing: border-box;
}

.contact-media-strip__item {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
}

.contact-media-strip__item img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #fff;
}

.footer {
  background: #603b13;
  color: #fff;
  padding: 56px 60px 0;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}

.footer__get-to-know {
  margin-bottom: 14px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
}

.footer__social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer__social a {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  opacity: 0.65;
}

.footer__social svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.footer__center {
  text-align: center;
}

.footer__logo {
  width: 132px;
  display: block;
  margin: 0 auto 18px;
}

.footer__bio {
  max-width: 360px;
  margin: 0 auto;
  font-size: 12.5px;
  line-height: 1.78;
  opacity: 0.72;
}

.footer__right h4 {
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}

.footer__right p {
  font-size: 12.5px;
  line-height: 1.9;
  opacity: 0.58;
}

.footer__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.footer__tagline {
  padding: 26px 0 8px;
  text-align: center;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.45;
}

.footer__nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 18px 0 34px;
}

.footer__nav a {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.55;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.72s var(--ease), transform 0.72s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  top: var(--top-bar-h);
  left: var(--sidebar-w);
  right: 0;
  z-index: 1099;
  height: 2px;
}

.scroll-progress__bar {
  height: 100%;
  width: 0;
  background: linear-gradient(to right, var(--brown-mid), #d2ae7b);
}

.floating-actions {
  position: fixed;
  right: 0;
  bottom: 34px;
  z-index: 1085;
}

.floating-top {
  width: 52px;
  height: 64px;
  border: 0;
  background: transparent;
  color: rgba(42, 30, 18, 0.88);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, color 0.2s ease;
  pointer-events: none;
}

.floating-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-top__line {
  width: 36px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.floating-top svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 960px) {
  .mobile-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 74px;
    margin-top: var(--top-bar-h);
    padding: 0 20px;
    background: #fff;
    border-bottom: 1px solid rgba(139, 94, 60, 0.14);
  }

  .mobile-header__brand {
    color: var(--brown-dark);
    font-family: 'Playfair Display', serif;
    font-size: clamp(30px, 8vw, 46px);
    font-style: italic;
    font-weight: 700;
    letter-spacing: -0.04em;
  }

  .hamburger {
    position: absolute;
    top: 50%;
    left: 22px;
    transform: translateY(-50%);
    z-index: 2;
    width: 34px;
    height: 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }

  .hamburger span {
    width: 18px;
    height: 2px;
    background: var(--brown-dark);
    transition: transform 0.3s, opacity 0.3s;
  }

  .hamburger.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .sidebar {
    top: var(--top-bar-h);
    width: min(88vw, 420px);
    height: calc(100vh - var(--top-bar-h));
    background: #fff;
    padding: 20px 28px 28px;
    transform: translateX(-100%);
    box-shadow: 0 24px 50px rgba(74, 46, 16, 0.18);
    overflow-y: auto;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar::after,
  .sidebar__phone,
  .sidebar__social,
  .sidebar__highlight {
    display: none;
  }

  .sidebar__logo {
    margin: 0 0 22px;
  }

  .sidebar__logo a {
    width: 100%;
    align-items: center;
  }

  .sidebar__logo-label {
    display: none;
  }

  .sidebar__logo-text {
    color: var(--brown-dark);
    font-family: 'Playfair Display', serif;
    font-size: clamp(30px, 8vw, 46px);
    font-style: italic;
    font-weight: 700;
    letter-spacing: -0.04em;
    text-transform: none;
  }

  .sidebar__nav {
    margin-bottom: 0;
  }

  .sidebar__nav a {
    padding: 16px 28px 16px 0;
    border-bottom: 1px solid rgba(139, 94, 60, 0.14);
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
  }

  .sidebar__nav a::before {
    display: none;
  }

  .sidebar-overlay {
    display: block;
  }

  .main-content {
    margin-top: 0;
    margin-left: 0;
  }

  .scroll-progress {
    left: 0;
  }

  .contact-page {
    padding: 18px 16px 0;
  }

  .contact-hero {
    padding: 4px 6px 0;
  }

  .contact-banner__image {
    height: 180px;
    padding: 10px 0;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    min-height: auto;
    padding: 20px 18px 22px;
  }

  .contact-card > p,
  .contact-details p,
  .faq-item p {
    font-size: 14px;
  }

  .contact-details {
    margin-top: 28px;
  }

  .contact-form-section {
    padding: 18px 0 24px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-media-strip {
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 22px auto 4px;
  }

  .contact-form__field--wide,
  .contact-form__submit {
    grid-column: auto;
  }

  .footer {
    padding: 40px 24px 0;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .footer__social {
    justify-content: center;
  }

  .footer__right {
    text-align: center;
  }
}

@media (max-width: 540px) {
  .contact-hero__eyebrow,
  .contact-card h2,
  .contact-form-section__header h2 {
    font-size: 24px;
  }

  .contact-hero__title {
    font-size: 17px;
  }

  .contact-hero__subtitle,
  .contact-card > p,
  .contact-details p,
  .faq-item p {
    font-size: 13px;
  }

  .contact-form-section {
    padding-bottom: 18px;
  }
}

/* ===== FIX MOBILE TOP BAR ===== */
@media (max-width: 960px) {
  :root {
    --top-bar-h: 54px;
  }

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body .top-bar {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: none !important;
    height: var(--top-bar-h) !important;
    min-height: var(--top-bar-h) !important;
    padding: 0 16px !important;
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) 34px !important;
    grid-template-rows: var(--top-bar-h) !important;
    align-items: center !important;
    justify-content: stretch !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  body .top-bar__center {
    position: static !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    transform: none !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 9px !important;
    line-height: 1 !important;
    letter-spacing: 0.08em !important;
  }

  body .top-bar__actions {
    display: contents !important;
  }

  body .top-bar__whatsapp {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  body .top-bar__whatsapp span {
    display: none !important;
  }

  body .top-bar__wa-icon {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    flex: 0 0 18px !important;
  }

  body .top-bar__cart {
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body .top-bar__cart svg {
    width: 20px !important;
    height: 20px !important;
  }

  body .mobile-header {
    margin-top: 0 !important;
  }

  body .main-content {
    margin-top: 0 !important;
  }

  body .scroll-progress {
    top: 0 !important;
  }
}

@media (max-width: 380px) {
  body .top-bar {
    padding-left: 12px !important;
    padding-right: 12px !important;
    grid-template-columns: 30px minmax(0, 1fr) 30px !important;
  }

  body .top-bar__center {
    font-size: 8px !important;
    letter-spacing: 0.05em !important;
  }
}

html,
body,
.main-content,
.contact-page,
.contact-info-grid,
.contact-card,
.contact-media-strip,
.contact-form-section {
  background: #fff !important;
}
/* Nền trắng tuyệt đối */
html,
body,
.sidebar,
.main-content,
.contact-page,
.contact-info-grid,
.contact-card,
.contact-media-strip,
.contact-form-section {
  background-color: rgb(255, 255, 255) !important;
  background-image: none !important;
  filter: none !important;
}

/* Bỏ cảm giác ám vàng từ viền */
.contact-card {
  border: 1px solid #dedede !important;
}

/* Chữ nội dung không dùng nâu vàng */
.contact-card > p,
.contact-details p,
.faq-item p,
.sidebar__highlight {
  color: #555555 !important;
}

/* Bỏ đường viền nâu bên sidebar */
.sidebar::after {
  background: #eeeeee !important;
}
