/* ============================================================
   CNX HAIRCUTZ — Modern UI/UX Theme
   Dark-luxury barbershop redesign on top of the Barbercrop base.
   Load AFTER the page stylesheet so overrides win the cascade.
   ============================================================ */

/* ---------- Fonts: Kanit (display) + Sarabun (body) — Thai + Latin ---------- */
@font-face {
  font-family: "Kanit";
  src: local("Kanit Regular"), url("../fonts/Kanit-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kanit";
  src: local("Kanit Regular"), url("../fonts/Kanit-Regular-thai.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0E01-0E5B;
}
@font-face {
  font-family: "Kanit";
  src: local("Kanit Medium"), url("../fonts/Kanit-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kanit";
  src: local("Kanit Medium"), url("../fonts/Kanit-Medium-thai.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0E01-0E5B;
}
@font-face {
  font-family: "Kanit";
  src: local("Kanit SemiBold"), url("../fonts/Kanit-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kanit";
  src: local("Kanit SemiBold"), url("../fonts/Kanit-SemiBold-thai.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0E01-0E5B;
}
@font-face {
  font-family: "Kanit";
  src: local("Kanit Bold"), url("../fonts/Kanit-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kanit";
  src: local("Kanit Bold"), url("../fonts/Kanit-Bold-thai.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0E01-0E5B;
}

@font-face {
  font-family: "Sarabun";
  src: local("Sarabun Regular"), url("../fonts/Sarabun-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sarabun";
  src: local("Sarabun Regular"), url("../fonts/Sarabun-Regular-thai.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0E01-0E5B;
}
@font-face {
  font-family: "Sarabun";
  src: local("Sarabun Medium"), url("../fonts/Sarabun-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sarabun";
  src: local("Sarabun Medium"), url("../fonts/Sarabun-Medium-thai.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0E01-0E5B;
}
@font-face {
  font-family: "Sarabun";
  src: local("Sarabun SemiBold"), url("../fonts/Sarabun-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sarabun";
  src: local("Sarabun SemiBold"), url("../fonts/Sarabun-SemiBold-thai.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0E01-0E5B;
}
@font-face {
  font-family: "Sarabun";
  src: local("Sarabun Bold"), url("../fonts/Sarabun-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sarabun";
  src: local("Sarabun Bold"), url("../fonts/Sarabun-Bold-thai.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0E01-0E5B;
}

/* ---------- Design tokens ---------- */
:root {
  --ink-950: #08080a;
  --ink-900: #0c0c0f;
  --ink-800: #141419;
  --ink-700: #1d1d24;
  --ink-600: #2a2a33;
  --paper: #0e0e12;
  --paper-2: #17171d;
  --paper-3: #1e1e26;
  --text: #ece9e2;
  --text-2: rgba(236, 233, 226, 0.78);
  --accent: #eb1616;
  --accent-hi: #ff2d2d;
  --accent-deep: #b30f0f;
  --gold: #e5b55c;
  --muted: #9b9ba6;
  --line: rgba(255, 255, 255, 0.1);
  --line-light: rgba(255, 255, 255, 0.16);
  --font-display: "Kanit", "Oswald", sans-serif;
  --font-body: "Sarabun", "Roboto", sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 18px 44px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 10px 28px rgba(0, 0, 0, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text);
  background: radial-gradient(
      1100px 520px at 88% -6%,
      rgba(235, 22, 22, 0.09) 0%,
      transparent 62%
    ),
    var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6,
.brand-logo_name,
.section_header-title,
.section_header-subtitle,
.nav-link,
.btn,
.header_btn,
.team_header,
.about_info-fact_title,
.schedule_content-header,
.schedule_hours-header,
.footer_newsletter-header,
.error_message-title {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}

a {
  transition: color 0.25s var(--ease);
}

::selection {
  background: var(--accent);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--ink-900);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  border-radius: 8px;
  border: 2px solid var(--ink-900);
}

/* ---------- Buttons ---------- */
.btn {
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.theme-element {
  font-family: var(--font-display);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(235, 22, 22, 0.32);
}

.theme-element:hover {
  color: #fff !important;
  background: linear-gradient(135deg, var(--accent-hi) 0%, var(--accent) 100%);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(235, 22, 22, 0.4);
}

.theme-element:active {
  transform: translateY(-1px);
}

/* Ghost / outline button (franchise, shop) */
.btn-outline,
.btn-ghost,
.btn.secondary {
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  backdrop-filter: blur(6px);
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.05em;
}
.btn-outline:hover,
.btn-ghost:hover,
.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- Section headers (modern kicker + big display title) ---------- */
.section_header {
  display: flex;
  flex-direction: column-reverse;
  margin-bottom: 2.5rem;
}

.section_header-subtitle {
  order: -1;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.28em !important;
  color: var(--accent) !important;
  line-height: 1.2 !important;
  margin: 0 0 0.85rem !important;
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
  width: auto !important;
  text-shadow: none !important;
}

.section_header-subtitle::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
  display: inline-block;
}

.section_header-title {
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
  margin: 0;
  color: #fff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
}

.section_header-title .linebreak {
  display: block;
}

.section--nopb .section_header {
  margin-bottom: 1.5rem;
}

/* On dark sections the light text variant is applied via the section rule */

/* ---------- Header ---------- */
.header {
  padding: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(12, 12, 15, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: transform 0.5s var(--ease), background-color 0.4s ease;
}

.header--pinned {
  transform: translateY(0);
}

.header .container-fluid {
  padding: 0 1.25rem;
}

.header_logo {
  gap: 12px;
}

.brand-logo_icon {
  width: 42px;
  height: 36px;
  border-radius: 8px;
}

.brand-logo_name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  color: #fff;
  text-transform: uppercase;
}

.header_nav-list_item {
  font-family: var(--font-display);
}

.header_nav-list .nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.82);
  position: relative;
  transition: color 0.25s ease;
}

.header_nav-list .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.header_nav-list .nav-link:hover {
  color: #fff;
}
.header_nav-list .nav-link:hover::after,
.header_nav-list .nav-item.active .nav-link::after {
  transform: scaleX(1);
}

/* active page: red pill */
.header_nav-list .dropdown-toggle.active,
.header_nav-list .nav-item.active {
  background: transparent !important;
}

.header_nav-list .nav-item.active .nav-link {
  color: #fff;
  font-weight: 600;
}

.header_nav-list .dropdown-toggle::after {
  display: none;
}

.header_nav-list .dropdown-menu {
  background: var(--ink-800);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-sm);
  padding: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.header_nav-list .dropdown-menu .nav-link,
.header_nav-list .dropdown-menu .dropdown-item {
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 8px;
  padding: 10px 14px;
}

.header_nav-list .dropdown-menu .nav-link:hover,
.header_nav-list .dropdown-menu .dropdown-item:hover {
  background: var(--accent);
  color: #fff;
}

/* ---------- Language switcher ---------- */
.lang-switcher {
  display: inline-flex;
  gap: 2px;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 3px;
}

.btn-lang {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.08em;
  transition: all 0.25s var(--ease);
}

.btn-lang:hover {
  color: #fff;
}

.btn-lang.is-active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(235, 22, 22, 0.45);
}

/* ---------- Mobile menu (full-screen drawer) ---------- */
@media (max-width: 991.98px) {
  .header_nav {
    position: fixed !important;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    min-width: 100vw !important;
    max-height: 0 !important;
    overflow: hidden;
    background: rgba(10, 10, 13, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 0 1.5rem;
    transition: max-height 0.45s var(--ease), padding 0.4s ease;
    z-index: 9999;
  }

  .header_nav.active {
    max-height: 100vh !important;
    overflow-y: auto;
    padding-top: 2rem;
    padding-bottom: 6.5rem;
  }

  .header_nav-list {
    width: 100%;
    max-width: 420px;
    text-align: center;
    margin: 0;
  }

  .header_nav-list_item,
  .header_nav-list .nav-item {
    padding: 0 !important;
    margin-bottom: 0.25rem;
  }

  .header_nav-list .nav-link {
    display: block;
    font-size: 1.35rem;
    font-weight: 600;
    padding: 0.85rem 0.5rem;
    color: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .header_nav-list .nav-link::after {
    bottom: 0.4rem;
  }

  .header_nav-list .dropdown-menu {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    max-height: 0;
  }

  .header_nav-list .dropdown-menu.active {
    max-height: 500px;
    padding-bottom: 0.5rem;
  }

  .header_nav-list .dropdown-menu .nav-link {
    font-size: 1.05rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
    padding: 0.6rem 0.5rem;
    border-bottom: 0;
  }

  .header_nav-list .dropdown-menu .nav-link:hover {
    color: var(--accent-hi);
    background: transparent;
  }

  /* Hamburger: 3-line button with a large touch target */
  .header_trigger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 12px;
    margin-right: 0;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.07);
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease,
      transform 0.3s var(--ease);
    -webkit-tap-highlight-color: transparent;
  }

  .header_trigger:active {
    transform: scale(0.9);
  }

  /* neutralize the template's whole-trigger rotation; only the lines animate */
  .header_trigger.active {
    transform: none;
  }

  .header_trigger .line {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform 0.3s var(--ease), opacity 0.3s ease;
  }

  .header_trigger.active .line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .header_trigger.active .line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.2);
  }
  .header_trigger.active .line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* CTA injected into the mobile menu by i18n.js */
  .header_nav .cnx-menu-extra {
    margin-top: 1.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    width: 100%;
    max-width: 420px;
  }

  .header_nav .cnx-menu-extra .btn {
    width: 100%;
    padding: 15px 24px;
  }

  .header_nav .cnx-menu-extra .cnx-menu-phone {
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-body);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
}

/* Menu CTA injected by i18n.js — hidden on desktop */
.cnx-menu-extra {
  display: none;
}

/* ---------- Mobile bottom action bar ---------- */
.cnx-mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9998;
  background: rgba(12, 12, 15, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top: 0;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  justify-content: center;
  gap: 10px;
}

.cnx-mobile-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: repeating-linear-gradient(
    45deg,
    var(--accent) 0 14px,
    rgba(255, 255, 255, 0.85) 14px 28px
  );
}

.cnx-mobile-bar a {
  flex: 1;
  max-width: 340px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 12px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.cnx-mobile-bar .cnx-bar-book {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: 0 8px 22px rgba(235, 22, 22, 0.4);
}

.cnx-mobile-bar .cnx-bar-line,
.cnx-mobile-bar .cnx-bar-call {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line-light);
  color: #fff;
}

@media (max-width: 991.98px) {
  .cnx-mobile-bar {
    display: flex;
  }
  body {
    padding-bottom: 74px;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  align-items: center;
  overflow: hidden;
}

/* diagonal razor stripes at the bottom of the hero */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  z-index: 3;
  background: repeating-linear-gradient(
    45deg,
    var(--accent) 0 14px,
    rgba(255, 255, 255, 0.85) 14px 28px,
    var(--ink-600) 28px 42px
  );
}

.hero_overlay {
  background: linear-gradient(
    100deg,
    rgba(8, 8, 10, 0.86) 0%,
    rgba(8, 8, 10, 0.52) 45%,
    rgba(8, 8, 10, 0.2) 100%
  );
}

.hero_content {
  position: relative;
  z-index: 2;
}

.hero_box {
  position: relative;
  background: rgba(8, 8, 10, 0.34);
  -webkit-backdrop-filter: blur(6px) saturate(1.35);
  backdrop-filter: blur(6px) saturate(1.35);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 20px;
  padding: clamp(18px, 2.8vw, 36px);
  padding-left: clamp(32px, 4.2vw, 52px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.4);
}

/* classic barber pole on the hero card edge */
.hero_box::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 14px;
  bottom: 14px;
  width: 12px;
  border-radius: 999px;
  background: repeating-linear-gradient(
    135deg,
    #f5f2ec 0 5px,
    var(--accent) 5px 10px,
    var(--ink-600) 10px 15px
  );
  box-shadow: 0 0 0 2px rgba(12, 12, 15, 0.6),
    inset 0 0 10px rgba(0, 0, 0, 0.4), 0 0 20px rgba(235, 22, 22, 0.35);
  animation: barber-pole-spin 12s linear infinite;
}

@keyframes barber-pole-spin {
  to {
    background-position: 0 60px;
  }
}

.hero_content-header {
  font-weight: 700;
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
  margin-bottom: 0.85rem;
}

.hero_content-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin: 0.9rem 0 1.05rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.hero_content-tel .icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--accent-hi);
  margin-right: 10px;
  font-size: 18px;
  transition: background 0.3s ease, transform 0.3s var(--ease);
}

.hero_content-tel:hover .icon {
  background: var(--accent);
  color: #fff;
  transform: scale(1.06);
}

.hero_content-tel .link {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.hero_box-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.15rem;
}

.hero_box-actions .btn {
  padding: 11px 22px;
  font-size: 0.88rem;
}

.hero_box-actions .btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid var(--line-light);
  color: #fff;
}
.hero_box-actions .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  transform: translateY(-3px);
}

.hero_slider-control {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(22, 22, 28, 0.6), rgba(8, 8, 10, 0.72));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  color: #fff;
  font-size: 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: all 0.35s var(--ease);
}

.hero_slider-control:hover {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  border-color: var(--accent-hi);
  color: #fff;
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 12px 30px rgba(235, 22, 22, 0.45);
}

.hero_slider-control:active {
  transform: translateY(0) scale(0.94);
}

.hero_slider-control:focus-visible {
  outline: 2px solid var(--accent-hi);
  outline-offset: 3px;
}

.hero_slider-pagination .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
  transition: all 0.3s ease;
}

.hero_slider-pagination .swiper-pagination-bullet-active {
  background: var(--accent);
  width: 28px;
  border-radius: 8px;
}

/* ---------- About section ---------- */
.about .about_info-fact {
  border-left: 3px solid var(--accent);
  padding-left: 1.1rem;
}

.about_info-fact_title {
  font-size: 1.7rem;
  font-weight: 600;
  color: #fff;
}

.about_info-fact_description {
  color: var(--muted);
}

.about_info-text {
  color: var(--text-2);
}

/* ---------- Services cards ---------- */
.services_list-item .services_list-item_wrapper {
  background: var(--paper-2);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s ease;
}

.services_list-item .services_list-item_wrapper:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
  border-color: rgba(235, 22, 22, 0.55);
}

.services_list-item .icon {
  flex-shrink: 0;
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(235, 22, 22, 0.12);
  border: 1px solid rgba(235, 22, 22, 0.4);
  box-shadow: inset 0 0 14px rgba(235, 22, 22, 0.12);
  margin-right: 18px;
  margin-bottom: 6px;
  transition: background 0.3s ease;
}

.services_list-item .services-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: block;
}

.services_list-item .services_list-item_wrapper:hover .icon {
  background: rgba(235, 22, 22, 0.2);
}

.services_list-item .main .title {
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
}

.services_list-item .main .description {
  color: var(--text-2);
  font-size: 0.98rem;
}

.services_list-item .highlight {
  color: var(--gold);
  font-family: var(--font-body);
  letter-spacing: 0.15em;
}

/* ---------- Brands strip ---------- */
.brands .brands_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 34px;
}

.brands .brands_list-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-2);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  padding: 18px 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.brands .brands_list-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(12, 12, 15, 0.12);
}

/* ---------- Schedule (dark) ---------- */
.schedule {
  background: var(--ink-900) !important;
  color: #fff;
  position: relative;
}

.schedule .overlay {
  background: radial-gradient(80% 120% at 20% 0%, rgba(235, 22, 22, 0.16) 0%, transparent 55%),
    linear-gradient(180deg, rgba(8, 8, 10, 0.96), rgba(8, 8, 10, 0.88));
}

.schedule_content-header {
  color: #fff;
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.15;
  text-transform: uppercase;
}

.schedule_content-text {
  color: rgba(255, 255, 255, 0.72);
}

.schedule_hours-header {
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.schedule_hours-list {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.schedule_hours-list .list-item {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.02rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  padding-bottom: 8px;
}

.schedule_hours-list .list-item:last-child {
  border-bottom: 0;
}

.schedule_hours-list .list-item .weekday {
  color: var(--accent-hi);
  font-weight: 600;
}

.schedule_wrapper {
  margin-top: 2.2rem;
}

.schedule .btn {
  padding: 15px 40px;
  font-size: 1rem;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  background: var(--ink-950);
  border-top: 0;
  padding-top: 66px;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    45deg,
    #fff 0 12px,
    var(--accent) 12px 24px,
    var(--ink-600) 24px 36px
  );
  opacity: 0.9;
}

.footer .footer_logo .brand-logo_name {
  color: #fff;
}

.footer .footer_contacts {
  color: rgba(255, 255, 255, 0.75);
}

.footer .footer_contacts .icon {
  color: var(--accent);
}

.footer .footer_contacts a,
.footer .footer_contacts-address {
  color: rgba(255, 255, 255, 0.75);
}

.footer .footer_contacts a:hover {
  color: var(--accent-hi);
}

.footer .footer_contacts-socials .link {
  color: rgba(255, 255, 255, 0.7);
}

.footer .footer_contacts-socials .link:hover {
  color: var(--accent-hi);
}

.footer_newsletter-header {
  color: #fff;
  font-weight: 600;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer_newsletter-text {
  color: rgba(255, 255, 255, 0.62);
}

.footer_copyright {
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  text-align: center;
  width: 100%;
}

/* ---------- About page extras ---------- */
.about_heading {
  font-size: 1.45rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  position: relative;
  padding-left: 18px;
}

.about_heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  bottom: 0.35em;
  width: 4px;
  border-radius: 4px;
  background: var(--accent);
}

.about_note {
  background: rgba(235, 22, 22, 0.12);
  border: 1px solid rgba(235, 22, 22, 0.35);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  color: var(--text-2);
}

.team_header {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}

.team_list-item .team_list-item_wrapper {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.team_list-item .team_list-item_wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(12, 12, 15, 0.14);
}

.team_list-item .speciality {
  color: var(--accent);
  font-weight: 600;
}

/* ---------- Gallery (about + blog) ---------- */
.gallery_list-item_trigger,
.gallery_content-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.gallery_content-filters_filter {
  border-radius: 999px;
  padding: 8px 20px;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  border: 1px solid var(--line-light);
  color: var(--text);
  background: var(--paper-2);
  transition: all 0.3s var(--ease);
}

.gallery_content-filters_filter.current,
.gallery_content-filters_filter:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ---------- Contacts ---------- */
.contacts_main-data_item {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-card);
  margin-bottom: 1.25rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.contacts_main-data_item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(12, 12, 15, 0.12);
}

.contacts_main-data_item .title {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.map-directions.btn {
  border-radius: 999px;
}

/* ---------- Blog ---------- */
.gallery_content-media {
  position: relative;
}

.aspect_inner img {
  transition: transform 0.5s var(--ease);
}

.gallery_content-media:hover .aspect_inner img {
  transform: scale(1.05);
}

/* ---------- Forms ---------- */
.field {
  border-color: var(--line-light) !important;
  background: transparent;
}

.field input,
.field textarea,
.field select,
.contacts_main-form input,
.contacts_main-form textarea {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-light);
  background: var(--ink-800);
  color: var(--text);
  padding: 13px 16px;
  font-family: var(--font-body);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.field input::placeholder,
.field textarea::placeholder,
.contacts_main-form input::placeholder,
.contacts_main-form textarea::placeholder {
  color: rgba(236, 233, 226, 0.4);
}

.field input:focus,
.field textarea:focus,
.field select:focus,
.contacts_main-form input:focus,
.contacts_main-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(235, 22, 22, 0.14);
}

/* ---------- Shop ---------- */
.shop {
  background: var(--paper);
}

.shop-hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(120deg, var(--ink-900), var(--ink-700));
  border: 1px solid var(--line-light);
}

.shop .card {
  background: var(--paper-2);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.shop .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(12, 12, 15, 0.14);
}

.shop .btn.inbox {
  border-radius: 999px;
}

/* ---------- Franchise ---------- */
.badge {
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.12em;
}

.btn-primary {
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.hero-card,
.feature-card {
  background: var(--ink-800);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.feature-card {
  background: var(--paper-2);
  border-color: var(--line-light);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(12, 12, 15, 0.14);
}

.faq-item {
  border: 1px solid var(--line-light);
  border-radius: var(--radius-sm);
  background: var(--paper-2);
}

/* ---------- 404 ---------- */
.error {
  background: radial-gradient(70% 90% at 50% 0%, rgba(235, 22, 22, 0.14) 0%, transparent 60%),
    var(--ink-900);
  min-height: 60vh;
}

.error_message-title {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
}

.error_message-text {
  color: rgba(255, 255, 255, 0.7);
}

.error_code-code {
  color: var(--accent);
}

/* ---------- AOS polish ---------- */
[data-aos] {
  will-change: transform, opacity;
}

/* ---------- Thai rendering tweaks ---------- */
html[lang="th"] body {
  font-size: 17px;
  line-height: 1.85;
}

html[lang="th"] .section_header-title,
html[lang="th"] h1, html[lang="th"] h2, html[lang="th"] h3 {
  line-height: 1.35;
}

html[lang="th"] .hero_content-header {
  line-height: 1.25;
  letter-spacing: 0.005em;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Small screens ---------- */
@media (max-width: 575.98px) {
  .header .container-fluid {
    padding: 0 0.9rem;
  }

  .brand-logo_icon {
    width: 36px;
    height: 31px;
  }

  .brand-logo_name {
    font-size: 0.92rem;
    letter-spacing: 0.1em;
  }

  .btn-lang {
    padding: 5px 9px;
    font-size: 11px;
  }

  .hero_box {
    padding: 16px 14px 16px 38px;
  }

  .hero_box-actions .btn {
    width: 100%;
  }

  .services_list-item .services_list-item_wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .services_list-item .icon {
    margin-bottom: 12px;
  }
}
