/*
  Pizza Happy Family — main.css

  Sections:
  01) Tokens (CSS variables)
  02) Base + Typography
  03) Layout helpers
  04) Navbar + Mobile nav
  05) Hero
  06) Section wrappers
  07) Menu (Products)
  08) Image viewer (Lightbox)
  09) Contact
  10) Buttons
  11) Footer
  12) Responsive
*/

/* #region 01) Tokens */
:root {
  --bg-red-1: #7b0d15;
  --bg-red-2: #c72633;
  --bg-red-3: #e24c59;
  --accent: #c81d2b;
  --text: #141414;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.78);
  --card: rgba(255, 255, 255, 0.14);
  --stroke: rgba(255, 255, 255, 0.18);
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
  --radius: 18px;
  --header-h: 72px;
  --header-h-scrolled: 64px;
  --fs-body: 18px;
  --fs-small: 15px;
  --fs-nav: 16px;
  --fs-btn: 16px;
  --fs-h2: clamp(28px, 2.8vw, 40px);
  --fs-hero-title: clamp(40px, 4.3vw, 58px);
  --font-latin:
    Poppins, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-khmer:
    "Noto Sans Khmer", Poppins, system-ui, -apple-system, Segoe UI, Roboto,
    Arial, sans-serif;
  --font-menu-desc:
    "Noto Sans Khmer", Poppins, system-ui, -apple-system, Segoe UI, Roboto,
    Arial, sans-serif;
}

/* #endregion 01) Tokens */

/* #region 02) Base + Typography */

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-khmer);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--text);
  background: #fff;
}

/* Small Khmer readability tweaks */
:lang(km) body {
  letter-spacing: 0;
}
:lang(km) .brand-title {
  letter-spacing: 0;
}
.khmer {
  font-family: "Noto Sans Khmer", sans-serif;
  font-weight: 500;
}

/* #endregion 02) Base + Typography */

/* #region 03) Layout helpers */

.section-soft {
  background:
    radial-gradient(
      900px 520px at 50% 20%,
      rgba(255, 255, 255, 0.85),
      rgba(255, 255, 255, 0) 65%
    ),
    linear-gradient(180deg, rgba(199, 38, 51, 0.2), rgba(199, 38, 51, 0.08));
}

.container {
  width: min(1100px, calc(100% - 40px));
  margin-inline: auto;
}

#main {
  padding-top: var(--header-h);
}

.hero,
.section {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* #endregion 03) Layout helpers */

/* #region 04) Navbar + Mobile nav */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  /* Before scroll: red navbar only */
  background: linear-gradient(
    180deg,
    rgba(199, 38, 51, 0.7),
    rgba(110, 0, 10, 0.2)
  );
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #ff0000;
  color: #111;
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-140%);
  transition: transform 0.15s ease;
  z-index: 80;
}
.skip-link:focus {
  transform: translateY(0);
}

.site-header.is-scrolled {
  background: rgba(255, 250, 250, 0.88);
  box-shadow: 0 10px 28px rgba(18, 18, 22, 0.12);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.nav-wrap {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: height 0.2s ease;
}

.site-header.is-scrolled .nav-wrap {
  height: var(--header-h-scrolled);
}

.site-header.is-scrolled .brand-badge {
  width: 36px;
  height: 36px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.brand:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.55);
  outline-offset: 4px;
  border-radius: 14px;
}

.brand-badge {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  overflow: hidden;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-weight: 800;
  letter-spacing: 0.2px;
}

.brand-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-khmer);
}

.site-header.is-scrolled .brand {
  color: rgba(18, 18, 22, 0.92);
}

.site-header.is-scrolled .brand-sub {
  color: rgba(18, 18, 22, 0.7);
}

.site-header.is-scrolled .brand-badge {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--fs-nav);
  padding: 10px 10px;
  border-radius: 10px;
  position: relative;
  transition:
    color 0.15s ease,
    opacity 0.15s ease,
    background-color 0.15s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 1.5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: center;
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #fff;
  opacity: 1;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-link:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.55);
  outline-offset: 3px;
}

.site-header.is-scrolled .nav-link {
  color: rgba(18, 18, 22, 0.86);
}

.site-header.is-scrolled .nav-link:hover,
.site-header.is-scrolled .nav-link.is-active {
  color: #0f0f0f;
}

.site-header.is-scrolled .nav-link::after {
  background: rgba(181, 18, 31, 0.7);
}

.nav-cta {
  margin-left: 4px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  filter: brightness(1.05);
}

.site-header.is-scrolled .nav-cta {
  background: linear-gradient(180deg, #d62839, #b5121f);
  color: #fff;
  border-color: transparent;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  width: 44px;
  height: 40px;
  padding: 8px;
  color: #fff;
  position: relative;
  z-index: 55;
}

.nav-toggle:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.55);
  outline-offset: 3px;
}

.site-header.is-scrolled .nav-toggle {
  border-color: rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.92);
}

.site-header.is-scrolled .nav-toggle:focus-visible {
  outline-color: rgba(181, 18, 31, 0.45);
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.site-header.is-scrolled .nav-toggle-bar {
  background: rgba(18, 18, 22, 0.86);
}

/* Mobile nav overlay (used by js/main.js) */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 40;
}

.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

body.is-nav-open {
  overflow: hidden;
}

/* #endregion 04) Navbar + Mobile nav */

/* #region 05) Hero */

/* Hero */
.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      650px 380px at 50% 38%,
      rgba(255, 255, 255, 0.18),
      rgba(255, 255, 255, 0) 60%
    ),
    linear-gradient(180deg, var(--bg-red-2), var(--bg-red-1));
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      520px 320px at 20% 20%,
      rgba(255, 255, 255, 0.1),
      rgba(255, 255, 255, 0) 65%
    ),
    radial-gradient(
      520px 320px at 80% 70%,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0) 70%
    );
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  place-items: center;
  padding: 60px 0;
}
.hero-card {
  width: min(520px, 100%);
  padding: 40px 30px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  text-align: center;
  color: #fff;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hero-title {
  margin: 0 0 10px;
  font-size: var(--fs-hero-title);
  letter-spacing: 0.2px;
  text-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
}
.hero-kh {
  margin: 0 0 6px;
  font-family: var(--font-khmer);
  font-weight: 600;
  font-size: 18px;
}
.hero-sub {
  margin: 0 0 18px;
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.78);
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hero-actions .btn {
  height: 42px;
  padding: 0 14px;
  font-size: 14px;
}

/* #endregion 05) Hero */

/* #region 06) Section wrappers */

/* Sections */
.section {
  padding: 86px 0;
  background: #fff;
}
.section-head {
  margin-bottom: 22px;
}
.section-title {
  margin: 0 0 6px;
  font-size: var(--fs-h2);
}
.section-sub {
  margin: 0;
  color: #5a5a5a;
  font-size: 16px;
  line-height: 1.7;
  max-width: 68ch;
}

/* #endregion 06) Section wrappers */

/* #region 07) Menu (Products) */

/* Products Menu */
.menu-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(20, 20, 20, 0.06);
  border-radius: 22px;
  box-shadow: 0 22px 70px rgba(20, 20, 20, 0.14);
  padding: 28px;
}

.menu-head {
  text-align: center;
  margin-bottom: 14px;
}
.menu-title {
  margin: 0;
  font-size: 34px;
}
.menu-sub {
  margin: 4px 0 0;
  color: #3f3f3f;
  font-family: var(--font-khmer);
  font-weight: 600;
  font-size: 16px;
}

.menu-tabs {
  margin: 14px auto 18px;
  padding: 10px 12px;
  max-width: 860px;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(20, 20, 20, 0.06);
  border-radius: 999px;
  box-shadow: 0 14px 38px rgba(20, 20, 20, 0.1);
}

.menu-tab {
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(20, 20, 20, 0.1);
  background: #fff;
  color: #2b2b2b;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  font-family: var(--font-khmer);
  box-shadow: 0 6px 16px rgba(20, 20, 20, 0.06);
}
.menu-tab:hover {
  border-color: rgba(181, 18, 31, 0.25);
  transform: translateY(-1px);
}
.menu-tab.is-active {
  background: linear-gradient(180deg, #ff3a3a, #c81d2b);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(200, 29, 43, 0.28);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.menu-card {
  position: relative;
  background:
    radial-gradient(
      700px 260px at 30% 0%,
      rgba(255, 58, 58, 0.1),
      rgba(255, 255, 255, 0) 60%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(255, 245, 245, 0.92));
  border: 1px solid rgba(200, 29, 43, 0.18);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(20, 20, 20, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.menu-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #ff3a3a, #c81d2b);
}

.menu-img {
  position: relative;
  padding: 14px 14px 10px;
  background: transparent;
  min-height: 210px;
  display: grid;
  place-items: center;
}

.menu-photo-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  padding: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.menu-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.menu-photo {
  cursor: zoom-in;
}
.menu-photo:focus-visible {
  outline: 3px solid rgba(200, 29, 43, 0.55);
  outline-offset: 6px;
  border-radius: 12px;
}

.menu-size {
  position: absolute;
  right: 16px;
  top: 18px;
  font-weight: 900;
  font-size: 26px;
  color: rgba(199, 38, 51, 0.9);
  letter-spacing: 0.5px;
}

.menu-img-placeholder {
  width: 74%;
  height: 110px;
  border-radius: 14px;
  border: 1px dashed rgba(20, 20, 20, 0.18);
  color: rgba(20, 20, 20, 0.45);
  display: grid;
  place-items: center;
  font-weight: 800;
  -webkit-user-select: none;
  user-select: none;
}

.menu-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.menu-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.menu-name {
  margin: 0;
  font-size: clamp(18px, 2.6vw, 22px);
  font-weight: 800;
  font-family: var(--font-khmer);
  line-height: 1.25;
  padding-right: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.menu-price {
  font-size: 15px;
  font-weight: 900;
  padding: 6px 12px;
  border-radius: 999px;
  color: #c81d2b;
  background: rgba(200, 29, 43, 0.08);
  border: 1px solid rgba(200, 29, 43, 0.22);
  white-space: nowrap;
}
.menu-desc {
  margin: 0 0 12px;
  color: #4a4a4a;
  font-size: 16px;
  line-height: 1.75;
  font-family: var(--font-menu-desc);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.menu-body .khmer {
  margin: 0 0 12px;
  color: #4a4a4a;
  font-size: 16px;
  line-height: 1.75;
  font-family: var(--font-menu-desc);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.menu-actions {
  display: grid;
  gap: 8px;
  margin-top: auto;
}
.menu-actions .btn {
  width: 100%;
  border-radius: 12px;
  height: 42px;
  padding: 0 12px;
  font-size: 14px;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(20, 20, 20, 0.1);
}
.btn-telegram {
  background: linear-gradient(180deg, #1db7ff, #1567ff);
  color: #fff;
}
.btn-facebook {
  background: linear-gradient(180deg, #1db7ff, #1567ff);
  color: #fff;
}
.btn-telegram:hover,
.btn-facebook:hover {
  filter: brightness(1.03);
}

.menu-card.is-hidden {
  display: none;
}

/* #endregion 07) Menu (Products) */

/* #region 08) Image viewer (Lightbox) */

/* Image Viewer */
.image-viewer {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  padding: 22px;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.image-viewer.is-open {
  display: grid;
  place-items: center;
}
.image-viewer__panel {
  position: relative;
  width: min(980px, 100%);
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.3);
  padding: 12px;
}
.image-viewer__img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  display: block;
}
.image-viewer__caption {
  margin: 10px 6px 2px;
  text-align: center;
  color: #2a2a2a;
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font-khmer);
}
.image-viewer__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(20, 20, 20, 0.1);
  background: #fff;
  color: #1b1b1b;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
}
.image-viewer__close:hover {
  filter: brightness(0.98);
}

body.is-modal-open {
  overflow: hidden;
}

/* #endregion 08) Image viewer (Lightbox) */

/* #region 09) Contact */

/* Contact */
.contact-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(20, 20, 20, 0.06);
  border-radius: 22px;
  box-shadow: 0 22px 70px rgba(20, 20, 20, 0.14);
  padding: 28px;
}

.contact-head {
  text-align: center;
  margin-bottom: 18px;
}
.contact-title {
  margin: 0;
  font-size: 36px;
}
.contact-kh {
  margin: 4px 0 0;
  color: #3f3f3f;
  font-family: var(--font-khmer);
  font-weight: 600;
}
.contact-note {
  margin: 10px 0 0;
  color: #6a6a6a;
  font-size: 14px;
}

/* Contact (new layout) */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 12px;
}

.contact-box {
  background: #fff;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(20, 20, 20, 0.06);
  padding: 16px;
}

.contact-box-title {
  margin: 0 0 12px;
  font-size: 15px;
  color: #2a2a2a;
  font-family: var(--font-khmer);
}

.contact-buttons {
  display: grid;
  gap: 10px;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  color: #1b1b1b;
  border: 1px solid rgba(20, 20, 20, 0.08);
  background: #fff;
  transition:
    transform 0.15s ease,
    filter 0.15s ease,
    background-color 0.15s ease,
    border-color 0.15s ease;
}

.contact-btn img {
  width: 20px;
  height: 20px;
  display: block;
}

.contact-btn.telegram {
  background: rgba(29, 161, 255, 0.1);
  border-color: rgba(29, 161, 255, 0.22);
}
.contact-btn.facebook {
  background: rgba(27, 79, 214, 0.1);
  border-color: rgba(27, 79, 214, 0.22);
}
.contact-btn.tiktok {
  background: rgba(20, 20, 20, 0.06);
  border-color: rgba(20, 20, 20, 0.14);
}
.contact-btn.Gmail {
  background: rgba(214, 64, 64, 0.08);
  border-color: rgba(214, 64, 64, 0.18);
}

.contact-btn:hover {
  filter: brightness(0.99);
  transform: translateY(-1px);
}
.contact-btn:focus-visible {
  outline: 3px solid rgba(200, 29, 43, 0.45);
  outline-offset: 3px;
}

.contact-list {
  display: grid;
  gap: 8px;
}
.contact-item {
  margin: 0;
  color: #2f2f2f;
  font-size: 15px;
}
.contact-item.text-kh {
  font-family: var(--font-khmer);
  font-weight: 600;
  color: #3f3f3f;
}
.contact-item.contact-muted {
  color: #7a7a7a;
  font-size: 14px;
}

.map-block {
  margin-top: 16px;
  background: #fff;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(20, 20, 20, 0.06);
  padding: 14px;
}
.map-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
}
.map-title {
  margin: 0;
  font-size: 15px;
  color: #2a2a2a;
  font-weight: 800;
}
.map-link {
  font-size: 14px;
  color: #6a6a6a;
  text-decoration: none;
  font-weight: 700;
}
.map-link:hover {
  text-decoration: underline;
}

.map-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(20, 20, 20, 0.08);
  background: #fff;
}
.map-iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

.map-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

/* #endregion 09) Contact */

/* #region 10) Buttons */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: var(--fs-btn);
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-light {
  background: #fff;
  color: #b5121f;
  border-color: rgba(255, 255, 255, 0.2);
}
.btn-light:hover {
  filter: brightness(0.98);
}
.btn-primary {
  background: linear-gradient(180deg, #d62839, #b5121f);
  color: #fff;
}
.btn-primary:hover {
  filter: brightness(1.02);
}
.btn-outline {
  background: transparent;
  border-color: rgba(181, 18, 31, 0.35);
  color: #b5121f;
}
.btn-outline:hover {
  background: rgba(181, 18, 31, 0.06);
}
.btn-muted {
  background: #fff;
  border-color: rgba(20, 20, 20, 0.14);
  color: #2a2a2a;
}
.btn-muted:hover {
  background: rgba(20, 20, 20, 0.04);
}

/* Floating quick actions */
.float-actions {
  position: fixed;
  right: 14px;
  bottom: 120px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 85;
}

.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.float-btn img {
  width: 26px;
  height: 26px;
  display: block;
}

.float-btn--tg {
  background: rgba(29, 161, 255, 0.16);
  border-color: rgba(29, 161, 255, 0.3);
}

.float-btn--fb {
  background: rgba(25, 103, 255, 0.14);
  border-color: rgba(25, 103, 255, 0.28);
}

.float-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.float-btn:focus-visible {
  outline: 3px solid rgba(200, 29, 43, 0.4);
  outline-offset: 3px;
}

@media (min-width: 900px) {
  .float-actions {
    right: 18px;
    bottom: 26px;
  }
}

/* #endregion 10) Buttons */

/* #region 11) Footer */

footer {
  background: rgba(255, 255, 255, 0.78);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 50px 20px 18px;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
}

.footer h2 span {
  color: var(--accent);
}

.footer a {
  color: rgba(18, 18, 22, 0.86);
  text-decoration: none;
}

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

.footer-bottom {
  max-width: 1100px;
  margin: 22px auto 0;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
  color: rgba(18, 18, 22, 0.72);
}

/* #endregion 11) Footer */

/* #region 12) Responsive */

/* Mobile navigation */
@media (max-width: 899px) {
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    background: rgba(255, 250, 250, 0.98);
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    padding: 90px 24px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav-link {
    color: rgba(18, 18, 22, 0.86);
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 17px;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover,
  .nav-link.is-active {
    color: var(--accent);
    background: rgba(200, 29, 43, 0.08);
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 10px;
    background: linear-gradient(180deg, #d62839, #b5121f);
    color: #fff;
    border-color: transparent;
    justify-content: center;
  }

  .brand-title {
    font-size: 16px;
  }

  .brand-sub {
    font-size: 14px;
  }
}

/* Mobile: 1 column */
@media (max-width: 599px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }

  .menu-panel {
    padding: 20px 16px;
  }

  .menu-tabs {
    padding: 8px;
    border-radius: 16px;
    flex-direction: column;
    gap: 6px;
    background: rgba(255, 255, 255, 0.98);
  }

  .menu-tab {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    font-size: 15px;
    border-radius: 12px;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .section {
    padding: 50px 0;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  /* Contact section mobile */
  .contact-panel {
    padding: 20px 16px;
  }

  .contact-title {
    font-size: 28px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-box {
    padding: 14px;
  }

  .contact-btn {
    min-height: 52px;
    font-size: 14px;
  }

  .map-block {
    padding: 12px;
  }

  .map-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .map-iframe {
    height: 280px;
  }

  .hero-card {
    padding: 30px 20px;
  }

  .hero-title {
    font-size: clamp(32px, 8vw, 40px);
  }
}

/* Tablet: 2 columns */
@media (min-width: 600px) and (max-width: 899px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Desktop: 3 columns (default already set) */

