/* ═══════════════════════════════════════════════
   DESIGN SYSTEM — Apple Precision × Starbucks Warmth
   Cơm Đốt Thố Hội An — Brand & Franchise
   ═══════════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Brand palette */
  --espresso:       #181310;
  --dark-roast:     #231b16;
  --mocha:          #34261e;
  --walnut:         #4d372b;
  --caramel:        #c68b59;
  --gold:           #d9a756;
  --gold-light:     #f4e4c1;
  --cream:          #faf6f0;
  --latte:          #f2e8dc;
  --latte-subtle:   #f8f2ea;
  --white:          #ffffff;
  --warm-gray:      #87766a;
  --border-warm:    rgba(52, 38, 30, 0.08);
  --border-gold:    rgba(217, 167, 86, 0.35);

  --text-main:      #1c1714;
  --text-muted:     #6e5e52;
  --text-light:     rgba(250, 246, 240, 0.78);

  /* Typography */
  --font-display:   'SF Pro Display', 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-brand:     'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-nav:       'SF Pro Display', 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body:       'SF Pro Display', 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --text-xs:        0.75rem;
  --text-sm:        0.875rem;
  --text-base:      1rem;
  --text-lg:        1.125rem;
  --text-xl:        1.25rem;
  --text-2xl:       1.5rem;
  --text-3xl:       2rem;
  --text-4xl:       2.75rem;
  --text-5xl:       3.5rem;
  --text-hero:      clamp(2.75rem, 5.5vw, 5rem);

  /* Spacing */
  --space-xs:       0.5rem;
  --space-sm:       1rem;
  --space-md:       1.5rem;
  --space-lg:       2.5rem;
  --space-xl:       4rem;
  --space-2xl:      6rem;
  --space-3xl:      8rem;

  --radius-sm:      8px;
  --radius-md:      14px;
  --radius-lg:      22px;
  --radius-xl:      32px;
  --radius-full:    9999px;

  --transition-base: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}

/* Custom thin scrollbar */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--espresso); }
::-webkit-scrollbar-thumb { background: var(--caramel); border-radius: 4px; }
* { scrollbar-width: thin; scrollbar-color: var(--caramel) var(--espresso); }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ═══════════════════════════════════════════════
   NAVIGATION — thanh đen, chữ serif in hoa giãn chữ, nút vàng
   ═══════════════════════════════════════════════ */
:root { --font-serif-nav: 'SF Pro Display', 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif; --nav-gold: #f5b82e; --logo-cream: #f7e9a6; }

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(12, 12, 12, 0.8);
  backdrop-filter: saturate(120%) blur(10px);
  -webkit-backdrop-filter: saturate(120%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 60px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Logo vừa thanh menu + tên thương hiệu 2 dòng bên cạnh */
.nav__logo { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.nav__logo img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.nav__brand {
  display: inline-flex; flex-direction: column; align-items: center;
  font-family: var(--font-serif-nav);
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.08;
  white-space: nowrap;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}
/* tỷ lệ cỡ chữ dòng trên : dòng dưới = 9 : 11 */
.nav__brand-l1 { font-size: 0.9rem; letter-spacing: 0; line-height: 1; }
/* chừa khoảng trống để dấu mũ của chữ "HỘI" không chạm dòng trên */
.nav__brand-l2 { font-size: 1.1rem; letter-spacing: 0.02em; line-height: 1.12; margin-top: 0.16em; }

.nav__links { display: flex; align-items: center; justify-content: flex-end; gap: 1.6rem; flex: 1; list-style: none; }
.nav__links a {
  font-family: var(--font-serif-nav);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #f4efe6;
  white-space: nowrap;
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.25s;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--nav-gold);
  transition: width 0.3s;
}
.nav__links a:hover { color: var(--nav-gold); }
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }
.nav__links a.active { color: var(--nav-gold); }

.nav__actions { display: flex; align-items: center; }

.nav__btn-franchise {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.1rem;
  background: var(--nav-gold);
  color: #111 !important;
  font-family: var(--font-serif-nav);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  border-radius: 6px;
  transition: background 0.25s;
}
.nav__btn-franchise:hover { background: #ffc94d; }

.nav__menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}
.nav__menu-btn span { display: block; width: 24px; height: 1.5px; background: #f4efe6; }

/* ═══════════════════════════════════════════════
   HERO — Cinematic Brand Keynote Style
   ═══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--espresso);
  padding-top: 80px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
  transform: scale(1.04);
  animation: heroPan 24s ease-in-out infinite alternate;
}

@keyframes heroPan {
  0% { transform: scale(1.04) translateY(0); }
  100% { transform: scale(1.12) translateY(-1.5%); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(24, 19, 16, 0.65) 0%,
    rgba(24, 19, 16, 0.38) 32%,
    rgba(24, 19, 16, 0.72) 75%,
    rgba(24, 19, 16, 0.96) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--cream);
  padding: var(--space-2xl) var(--space-md);
  max-width: 1040px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.4rem;
  background: rgba(217, 167, 86, 0.14);
  border: 1px solid rgba(217, 167, 86, 0.35);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gold);
  margin-bottom: var(--space-md);
  backdrop-filter: blur(12px);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.hero__title em {
  font-style: normal;
  color: var(--gold);
  font-weight: 400;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 300;
  color: var(--text-light);
  max-width: 680px;
  margin: 0 auto var(--space-xl);
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 2.2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-nav);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  transition: var(--transition-base);
  border: none;
}

.btn--primary {
  background: var(--gold);
  color: var(--espresso);
  box-shadow: 0 10px 30px rgba(217, 167, 86, 0.35);
}

.btn--primary:hover {
  background: #e4b262;
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(217, 167, 86, 0.45);
}

.btn--ghost {
  background: rgba(250, 246, 240, 0.08);
  color: var(--cream);
  border: 1px solid rgba(250, 246, 240, 0.28);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  background: rgba(250, 246, 240, 0.16);
  border-color: rgba(250, 246, 240, 0.5);
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--espresso);
  color: var(--cream);
}

.btn--dark:hover {
  background: var(--mocha);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════
   METRICS BAR — Apple Keynote Numbers
   ═══════════════════════════════════════════════ */
.metrics-bar {
  position: relative;
  z-index: 10;
  background: rgba(35, 27, 22, 0.88);
  backdrop-filter: blur(24px);
  border-top: 1px solid rgba(217, 167, 86, 0.2);
  border-bottom: 1px solid rgba(217, 167, 86, 0.2);
  padding: 0.9rem 0;
  margin-top: -1.6rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
  text-align: center;
}

.metric-item {
  padding: 0 var(--space-sm);
  border-right: 1px solid rgba(250, 246, 240, 0.1);
}

.metric-item:last-child {
  border-right: none;
}

.metric-number {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1.15;
  margin-bottom: 0.1rem;
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 400;
  letter-spacing: 0;
}

/* ═══════════════════════════════════════════════
   COMMON SECTION PATTERNS
   ═══════════════════════════════════════════════ */
.section {
  padding: 4.5rem 0;
}

.section--dark {
  background: var(--espresso);
  color: var(--cream);
}

.section--mocha {
  background: var(--mocha);
  color: var(--cream);
}

.section--latte {
  background: var(--latte);
}

.section--subtle {
  background: var(--latte-subtle);
}

.section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-nav);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #a86a0c;
  margin-bottom: var(--space-sm);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-sm);
  color: var(--espresso);
}

.section--dark .section__title,
.section--mocha .section__title {
  color: var(--cream);
}

.section__desc {
  font-size: var(--text-lg);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
}

.section--dark .section__desc,
.section--mocha .section__desc {
  color: var(--text-light);
}

/* ═══════════════════════════════════════════════
   BRAND HERITAGE — Apple Split Story
   ═══════════════════════════════════════════════ */
.brand-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 480px;
  align-items: stretch;
}

.brand-story__media {
  position: relative;
  overflow: hidden;
  min-height: 480px;
}

.brand-story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--transition-smooth);
}

.brand-story:hover .brand-story__media img {
  transform: scale(1.05);
}

.brand-story__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem clamp(2rem, 5vw, 5rem);
}

.brand-story__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  color: var(--espresso);
}

.brand-story--dark .brand-story__title {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  color: var(--cream);
}

.brand-story__text {
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: var(--space-lg);
}

.brand-story--dark .brand-story__text {
  color: rgba(250, 246, 240, 0.72);
}

.brand-story--reverse .brand-story__media { order: 2; }
.brand-story--reverse .brand-story__content { order: 1; }

.brand-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

.pillar-item {
  border-left: 2px solid var(--gold);
  padding-left: var(--space-sm);
}

.pillar-title {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--espresso);
  margin-bottom: 0.25rem;
}

.brand-story--dark .pillar-title {
  color: var(--gold);
}

.pillar-desc {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.5;
}

.brand-story--dark .pillar-desc {
  color: rgba(250, 246, 240, 0.6);
}

/* ═══════════════════════════════════════════════
   STORE LOCATIONS (HỆ THỐNG CỬA HÀNG)
   ═══════════════════════════════════════════════ */
.stores-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.stores-tab {
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1px solid var(--border-warm);
  color: var(--text-muted);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-base);
}

.stores-tab.active,
.stores-tab:hover {
  background: var(--espresso);
  color: var(--cream);
  border-color: var(--espresso);
}

.stores__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.store-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(28, 23, 20, 0.04);
  border: 1px solid var(--border-warm);
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
}

.store-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(28, 23, 20, 0.09);
  border-color: rgba(217, 167, 86, 0.4);
}

.store-card__img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.store-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition-smooth);
}

.store-card:hover .store-card__img img {
  transform: scale(1.08);
}

.store-card__badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  padding: 0.35rem 0.85rem;
  background: var(--espresso);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.store-card__status {
  position: absolute;
  bottom: var(--space-sm);
  right: var(--space-sm);
  padding: 0.3rem 0.75rem;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  color: #1e7041;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.store-card__status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
}

.store-card__body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.store-card__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--espresso);
  margin-bottom: 0.75rem;
}

.store-card__meta {
  list-style: none;
  font-size: var(--text-sm);
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.store-card__meta li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.5;
}

.store-card__meta-icon {
  font-size: 1rem;
  line-height: 1.3;
  flex-shrink: 0;
}

.store-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border-warm);
}

.btn-store-sub {
  text-align: center;
  padding: 0.55rem;
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  background: var(--latte);
  color: var(--espresso);
  transition: background 0.2s;
}

.btn-store-sub:hover {
  background: var(--gold-light);
}

.btn-store-call {
  text-align: center;
  padding: 0.55rem;
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  background: var(--espresso);
  color: var(--cream);
  transition: background 0.2s;
}

.btn-store-call:hover {
  background: var(--mocha);
}

/* ═══════════════════════════════════════════════
   FRANCHISE MODEL — Apple Keynote Bento Grid
   ═══════════════════════════════════════════════ */
.franchise-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.bento-card {
  background: rgba(35, 27, 22, 0.7);
  border: 1px solid rgba(217, 167, 86, 0.22);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-lg);
  backdrop-filter: blur(16px);
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  border-color: rgba(217, 167, 86, 0.5);
  transform: translateY(-4px);
  background: rgba(45, 34, 27, 0.85);
}

.bento-card--large {
  grid-column: span 7;
}

.bento-card--medium {
  grid-column: span 5;
}

.bento-card--full {
  grid-column: span 12;
}

.bento-card--third {
  grid-column: span 4;
}

.bento-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.bento-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--cream);
  margin-bottom: var(--space-sm);
}

.bento-desc {
  font-size: var(--text-sm);
  color: rgba(250, 246, 240, 0.7);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.bento-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.bento-list li {
  font-size: var(--text-sm);
  color: rgba(250, 246, 240, 0.82);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.bento-list li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--espresso);
  font-size: 0.7rem;
  font-weight: 700;
}

/* Timeline Process Steps */
.franchise-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  position: relative;
}

.step-item {
  background: var(--white);
  padding: var(--space-lg) var(--space-md);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-warm);
  position: relative;
  transition: var(--transition-base);
}

.step-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(28, 23, 20, 0.08);
  border-color: var(--gold);
}

.step-num {
  width: 42px;
  height: 42px;
  background: var(--espresso);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
}

.step-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--espresso);
  margin-bottom: 0.35rem;
}

.step-desc {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   FRANCHISE INQUIRY FORM — Modern Apple Form
   ═══════════════════════════════════════════════ */
.franchise-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 4rem);
  box-shadow: 0 24px 70px rgba(28, 23, 20, 0.08);
  border: 1px solid var(--border-warm);
  max-width: 960px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group--full {
  grid-column: span 2;
}

.form-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--espresso);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(28, 23, 20, 0.16);
  background: #fff;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--espresso);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(217, 167, 86, 0.2);
}

/* ═══════════════════════════════════════════════
   MENU / CULINARY STANDARDS
   ═══════════════════════════════════════════════ */
.dishes { position: relative; }

.dishes__grid {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 14px 4px 32px;
  margin: -14px -4px -32px;
}
.dishes__grid::-webkit-scrollbar { display: none; }

.dishes__grid .dish-card {
  flex: 0 0 calc((100% - 2 * var(--space-md)) / 3);
  scroll-snap-align: start;
}

.dishes__arrow {
  position: absolute;
  top: 38%;
  z-index: 5;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(20, 16, 13, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--cream);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: var(--transition-base);
}
.dishes__arrow:hover { background: var(--gold); color: var(--espresso); }
.dishes__arrow:disabled { opacity: 0; pointer-events: none; }
.dishes__arrow--prev { left: -14px; }
.dishes__arrow--next { right: -14px; }

.dishes__dots { display: flex; justify-content: center; gap: 8px; margin-top: var(--space-lg); }
.dishes__dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(28, 23, 20, 0.2); cursor: pointer; transition: var(--transition-base);
}
.dishes__dots button.active { background: var(--caramel); width: 22px; border-radius: 8px; }

.dish-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  transition: var(--transition-base);
  box-shadow: 0 10px 30px rgba(28, 23, 20, 0.05);
  border: 1px solid var(--border-warm);
}

.dish-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(28, 23, 20, 0.12);
}

.dish-card__img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.dish-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--transition-smooth);
}

.dish-card:hover .dish-card__img img {
  transform: scale(1.08);
}

.dish-card__tag {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  padding: 0.35rem 0.85rem;
  background: var(--gold);
  color: var(--espresso);
  font-size: var(--text-xs);
  font-weight: 700;
  border-radius: var(--radius-full);
  letter-spacing: 0;
}

.dish-card__body {
  padding: var(--space-md);
}

.dish-card__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--espresso);
  margin-bottom: 0.35rem;
}

.dish-card__desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   GALLERY — Apple Mosaic Photos
   ═══════════════════════════════════════════════ */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 270px);
  gap: var(--space-xs);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--transition-smooth);
}

.gallery__item:hover img {
  transform: scale(1.06);
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__item--tall {
  grid-row: span 2;
}

.gallery__caption {
  position: absolute;
  bottom: var(--space-sm);
  left: var(--space-sm);
  z-index: 2;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--cream);
  background: rgba(24, 19, 16, 0.7);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.35s ease;
}

.gallery__item:hover .gallery__caption {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════
   TESTIMONIAL
   ═══════════════════════════════════════════════ */
.testimonial {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-md);
}

.testimonial__quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
  color: var(--cream);
  margin-bottom: var(--space-md);
}

.testimonial__quote::before {
  content: '"';
  display: block;
  font-size: 4rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.testimonial__author {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0;
}

.testimonial__role {
  font-size: var(--text-xs);
  color: rgba(250, 246, 240, 0.55);
  margin-top: 0.25rem;
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.footer {
  background: var(--espresso);
  color: rgba(250, 246, 240, 0.6);
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 1px solid rgba(250, 246, 240, 0.08);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.footer__brand-title {
  font-family: var(--font-brand);
  font-size: var(--text-xl);
  color: var(--cream);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__brand-title img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.footer__brand-desc {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: rgba(250, 246, 240, 0.65);
  margin-bottom: var(--space-md);
}

.footer__col-title {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: var(--gold);
  margin-bottom: var(--space-md);
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer__links a {
  font-size: var(--text-sm);
  color: rgba(250, 246, 240, 0.7);
  transition: color 0.25s;
}

.footer__links a:hover {
  color: var(--gold);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(250, 246, 240, 0.08);
  font-size: var(--text-xs);
}

/* ═══════════════════════════════════════════════
   ANIMATIONS & REVEAL
   ═══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ═══════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .brand-story { grid-template-columns: 1fr; min-height: auto; }
  .brand-story__media { aspect-ratio: 16/10; min-height: auto; }
  .brand-story--reverse .brand-story__media { order: 0; }
  .brand-story--reverse .brand-story__content { order: 0; }
  .stores__grid { grid-template-columns: repeat(2, 1fr); }
  .franchise-bento { grid-template-columns: 1fr; }
  .bento-card--large, .bento-card--medium, .bento-card--full, .bento-card--third { grid-column: span 1; }
  .franchise-steps { grid-template-columns: repeat(2, 1fr); }
  .metrics__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }
  .metric-item:nth-child(2) { border-right: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav__inner { padding: 0 1rem; }
  .nav__logo { gap: 0.55rem; }
  .nav__logo img { width: 40px; height: 40px; }
  .nav__brand-l1 { font-size: 0.81rem; }
  .nav__brand-l2 { font-size: 0.99rem; margin-top: 0.3em; }
}
@media (max-width: 1240px) {
  .nav__links { display: none; }
  .nav__links.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(12, 12, 12, 0.92); padding: 1.5rem; gap: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav__menu-btn { display: flex; }
  .nav__actions { margin-left: auto; }
}
@media (max-width: 768px) {
  :root {
    --space-2xl: 3.5rem;
    --space-3xl: 5rem;
  }
  .stores__grid { grid-template-columns: 1fr; }
  .dishes__grid .dish-card { flex-basis: 82%; }
  .dishes__arrow { width: 40px; height: 40px; }
  .dishes__arrow--prev { left: 4px; }
  .dishes__arrow--next { right: 4px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group--full { grid-column: span 1; }
  .franchise-steps { grid-template-columns: 1fr; }
  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, 180px);
  }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 1; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: var(--space-sm); text-align: center; }
}

/* Nhãn nhỏ: vàng sẫm trên nền sáng, vàng sáng trên nền tối */
.section--dark .section__label,
.section--mocha .section__label,
.brand-story--dark .section__label,
.hero .section__label,
.fr-pagehead .section__label,
.fr-hero .section__label { color: var(--gold); }

.hero__title { font-weight: 600; letter-spacing: -0.035em; }
.section__label { font-size: 0.95rem; font-weight: 600; }

@media (min-width: 769px) and (max-width: 1180px) {
  .dishes__grid .dish-card { flex-basis: calc((100% - var(--space-md)) / 2); }
}

@media (max-width: 768px) {
  .section { padding: 3rem 0; }
  .section__header { margin-bottom: 1.75rem; }
}

/* Nút hero: đặt sát đáy section, mảnh */
.hero__actions {
  position: absolute;
  left: 0; right: 0;
  bottom: 3.25rem;
  z-index: 2;
  margin-bottom: 0;
  gap: 0.75rem;
}
.hero__actions .btn {
  padding: 0.55rem 1.7rem;
  font-size: 0.9rem;
  font-weight: 500;
}
