*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Refined, warm "natural luxury" palette */
  --color-ink: #1C1815;
  --color-ink-soft: #25201B;
  --color-honey: #E0A33A;
  --color-honey-deep: #C2821B;
  --color-honey-soft: rgba(224, 163, 58, 0.12);
  --color-amber: #B07A1E;
  --color-cream: #FBF8F2;
  --color-cream-2: #F2EBDF;
  --color-text: #3A332C;
  --color-muted: #8A7F71;
  --color-line: #E7DECE;
  --color-white: #FFFFFF;

  /* Keep the JS toast working */
  --color-dark: var(--color-ink);

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width: 1180px;
  --nav-height: 76px;
  --shadow-sm: 0 2px 18px rgba(28, 24, 21, 0.06);
  --shadow-md: 0 24px 60px rgba(28, 24, 21, 0.14);
  --radius: 18px;
  --radius-sm: 12px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--color-honey);
  color: var(--color-ink);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--color-ink);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 0.6rem; }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.55rem); }
p { margin-bottom: 1rem; color: var(--color-muted); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

:focus-visible {
  outline: 2px solid var(--color-honey);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

/* ============ EYEBROW LABEL ============ */

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-honey-deep);
  margin-bottom: 14px;
}

.eyebrow-light {
  color: var(--color-honey);
}

/* ============ NAV ============ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(28, 24, 21, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(224, 163, 58, 0.18);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.nav .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

body.home .nav {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  background-image: linear-gradient(180deg, rgba(20, 17, 14, 0.6) 0%, rgba(20, 17, 14, 0) 100%);
}

body.home .nav.solid {
  background: rgba(28, 24, 21, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(224, 163, 58, 0.18);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
  background-image: none;
}

.nav-logo {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transform: translateY(40px);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-honey);
  text-decoration: none;
  letter-spacing: -0.01em;
  line-height: 1;
}

.nav-logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-icon.logo-has-image {
  width: auto;
  height: auto;
  background: none;
  clip-path: none;
  box-shadow: none;
}

.nav-logo-img {
  height: 120px;
  width: auto;
  max-width: 680px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(224, 163, 58, 0.35));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.nav-logo:hover .nav-logo-img {
  transform: translateY(-1px);
  filter: drop-shadow(0 4px 14px rgba(224, 163, 58, 0.6));
}

.nav-logo-text {
  display: none;
}

.nav-links {
  justify-self: center;
  display: flex;
  gap: 34px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.3s;
  position: relative;
  padding: 6px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-honey);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-honey);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
}

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

.nav-auth-link {
  white-space: nowrap;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--color-amber, #e0a33a);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
  pointer-events: none;
  z-index: 2;
}

.nav-toggle {
  justify-self: end;
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-honey);
  margin: 5px 0;
  transition: all 0.3s;
  border-radius: 2px;
}

.main {
  padding-top: var(--nav-height);
}

body.home .main {
  padding-top: 0;
}

/* ============ BUTTONS ============ */

.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1.3;
}

.btn-primary {
  background: var(--color-honey);
  color: var(--color-ink);
  box-shadow: 0 10px 30px rgba(224, 163, 58, 0.3);
}

.btn-primary:hover {
  background: var(--color-honey-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(194, 130, 27, 0.42);
}

.btn-outline {
  background: transparent;
  color: var(--color-honey);
  border: 1.5px solid var(--color-honey);
}

.btn-outline:hover {
  background: var(--color-honey);
  color: var(--color-ink);
  transform: translateY(-2px);
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

.btn-block + .btn-block {
  margin-top: 12px;
}

/* ============ HERO SLIDER ============ */

.hero-slider {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.slider {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out, transform 7s ease-out;
  transform: scale(1.08);
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 18%, rgba(20, 17, 14, 0.2) 0%, rgba(20, 17, 14, 0.45) 55%, rgba(20, 17, 14, 0.82) 100%);
}

.hero-slider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 17, 14, 0.25) 0%, transparent 22%, transparent 70%, rgba(20, 17, 14, 0.55) 100%);
  pointer-events: none;
}

.slider-dots {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.dot.active, .dot:hover {
  background: var(--color-honey);
  transform: scale(1.25);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(28, 24, 21, 0.35);
  border: 1.5px solid rgba(224, 163, 58, 0.55);
  color: var(--color-honey);
  font-size: 1.3rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}

.slider-arrow:hover {
  background: var(--color-honey);
  color: var(--color-ink);
  transform: translateY(-50%) scale(1.08);
}

.slider-prev { left: 28px; }
.slider-next { right: 28px; }

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 820px;
  margin: 0 auto;
  padding: var(--nav-height) 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(28, 24, 21, 0.5);
  border: 1px solid rgba(224, 163, 58, 0.5);
  color: var(--color-honey);
  padding: 9px 22px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  margin-bottom: 26px;
}

.hero-content h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  color: var(--color-white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
}

.hero-content h1::after {
  content: '';
  display: block;
  width: 56px;
  height: 2px;
  margin: 22px auto 0;
  background: var(--color-honey);
  border-radius: 2px;
}

.hero-content .tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.hero-content .location {
  font-size: 0.85rem;
  color: var(--color-honey);
  margin-bottom: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-content .btn {
  font-size: 1rem;
  padding: 16px 46px;
}

/* ============ MARQUEE ============ */

.marquee-section {
  background: var(--color-ink);
  padding: 38px 0 42px;
  border-top: 1px solid rgba(224, 163, 58, 0.25);
  border-bottom: 1px solid rgba(224, 163, 58, 0.12);
  position: relative;
  overflow: hidden;
}

.marquee-label {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 34s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 64px;
  padding-right: 64px;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-display);
  font-size: 1.15rem;
  white-space: nowrap;
  transition: color 0.3s ease;
  cursor: default;
}

.marquee-item:hover {
  color: var(--color-honey);
}

.marquee-item .m-icon {
  font-size: 1.3rem;
}

.marquee-item .m-icon.m-img {
  height: 1.5em;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.85);
}

.marquee-sep {
  width: 5px;
  height: 5px;
  background: var(--color-honey);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.6;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ SECTIONS ============ */

.section {
  padding: 110px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 56px;
}

.section-sub {
  max-width: 560px;
  margin: 12px auto 0;
  font-size: 1.05rem;
}

/* ============ ACCOUNT ============ */

.account-main .section {
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(224, 163, 58, 0.08), transparent 58%),
    var(--color-cream);
}

.acct-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 30px;
  max-width: 1040px;
  margin: 0 auto;
  align-items: start;
}

.acct-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 36px;
}

.acct-profile-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--color-line);
}

.acct-avatar {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: var(--color-honey-deep);
  background: linear-gradient(145deg, var(--color-honey-soft), rgba(224, 163, 58, 0.24));
  border: 1px solid rgba(224, 163, 58, 0.35);
}

.acct-eyebrow {
  margin: 0 0 7px;
  color: var(--color-honey-deep);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}

.acct-profile-heading h3,
.acct-card-heading h3 {
  margin-bottom: 8px;
}

.acct-profile-heading > p:last-child,
.acct-card-heading > p:last-child,
.acct-security-heading > p:last-child {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.acct-fields {
  padding-top: 28px;
}

.account-main .form-group {
  margin-bottom: 20px;
}

.account-main .form-group label,
.acct-field-label {
  display: block;
  margin-bottom: 8px;
  color: var(--color-ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-main .form-group label span {
  color: var(--color-muted);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.account-main .form-group input {
  width: 100%;
  padding: 13px 16px;
  color: var(--color-text);
  background: var(--color-cream);
  border: 1.5px solid var(--color-line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.account-main .form-group input::placeholder {
  color: rgba(138, 127, 113, 0.62);
}

.account-main .form-group input:focus {
  outline: none;
  background: var(--color-white);
  border-color: var(--color-honey);
  box-shadow: 0 0 0 4px var(--color-honey-soft);
}

.acct-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.acct-label-row .acct-field-label {
  margin-bottom: 8px;
}

.acct-verified {
  margin-bottom: 8px;
  padding: 4px 9px;
  color: #557642;
  background: rgba(102, 145, 76, 0.1);
  border: 1px solid rgba(102, 145, 76, 0.2);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.acct-email {
  margin: 0;
  padding: 13px 16px;
  overflow-wrap: anywhere;
  color: var(--color-ink);
  background: var(--color-cream-2);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
}

.acct-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 4px;
}

.acct-actions .btn {
  flex: 0 0 auto;
}

.acct-action-note {
  max-width: 250px;
  margin: 0;
  color: var(--color-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.acct-security-panel {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--color-line);
}

.acct-security-heading {
  margin-bottom: 22px;
}

.acct-security-panel .form-group {
  margin-bottom: 16px;
}

.acct-security-panel .btn {
  width: 100%;
}

.acct-card-heading {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-line);
}

.acct-history-card #acctOrders {
  padding-top: 24px;
}

.acct-history-card .empty {
  margin: 0;
  padding: 28px 18px;
  color: var(--color-muted);
  background: var(--color-cream);
  border: 1px dashed var(--color-line);
  border-radius: var(--radius-sm);
  text-align: center;
}

.acct-history-card .empty a {
  color: var(--color-honey-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============ FEATURES ============ */

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

.feature-card {
  text-align: center;
  padding: 52px 34px 46px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(.22,.61,.36,1), box-shadow 0.4s ease;
  border: 1px solid var(--color-line);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-honey), var(--color-honey-deep));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(224, 163, 58, 0.5);
}

.feature-icon {
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 26px;
  background: var(--color-honey-soft);
  border: 1.5px solid rgba(224, 163, 58, 0.4);
  border-radius: 50%;
  color: var(--color-honey-deep);
  transition: transform 0.4s ease, background 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.08);
  background: var(--color-honey);
  border-color: var(--color-honey);
  color: var(--color-ink);
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--color-muted);
  margin-bottom: 0;
}

/* ============ MAP ============ */

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

.map-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 30px;
  align-items: stretch;
}

.map-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 460px;
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-md);
  background: var(--color-white);
}

.map-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 1;
}

.map-placeholder {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  background: linear-gradient(150deg, #2A241E, #1C1815);
  color: rgba(255, 255, 255, 0.78);
}

.map-placeholder[hidden] {
  display: none;
}

.map-placeholder a {
  color: var(--color-honey);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.map-open-link {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(28, 24, 21, 0.86);
  color: var(--color-honey);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(224, 163, 58, 0.3);
}

.map-info {
  position: relative;
  background: var(--color-ink);
  border-radius: var(--radius);
  padding: 50px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: var(--color-white);
}

.map-info::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -30%;
  width: 70%;
  height: 120%;
  background: radial-gradient(circle, rgba(224, 163, 58, 0.22), transparent 65%);
  pointer-events: none;
}

.map-info > * {
  position: relative;
  z-index: 1;
}

.map-info h3 {
  color: var(--color-white);
  margin-bottom: 8px;
}

.map-info > p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  margin-bottom: 22px;
}

.map-info-list {
  list-style: none;
  margin-bottom: 30px;
}

.map-info-list li {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.98rem;
  padding: 9px 0;
  border-bottom: 1px solid rgba(224, 163, 58, 0.16);
}

.map-info-list li:last-child {
  border-bottom: none;
}

.map-info .btn {
  align-self: flex-start;
}

/* ============ CTA ============ */

.cta-section {
  text-align: center;
  padding: 118px 0;
  background: var(--color-ink);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 900px;
  background: radial-gradient(circle, rgba(224, 163, 58, 0.18), transparent 60%);
  pointer-events: none;
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: 0.6rem;
  position: relative;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2.2rem;
  font-size: 1.1rem;
  position: relative;
}

.cta-section .btn {
  position: relative;
}

/* ============ FOOTER ============ */

.footer {
  background: var(--color-ink-soft);
  padding: 72px 0 0;
  border-top: 1px solid rgba(224, 163, 58, 0.3);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand h3 {
  color: var(--color-honey);
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin-bottom: 14px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 0;
  max-width: 360px;
}

.footer h4 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 22px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 11px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.92rem;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  padding: 26px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ============ PAGE HEADER ============ */

.page-header {
  position: relative;
  text-align: center;
  padding: 132px 0 92px;
  background:
    radial-gradient(130% 150% at 50% -10%, rgba(224, 163, 58, 0.18) 0%, rgba(224, 163, 58, 0) 55%),
    linear-gradient(180deg, var(--color-cream-2) 0%, var(--color-cream) 100%);
  border-bottom: 1px solid var(--color-line);
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -110px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(224, 163, 58, 0.20), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-header::after {
  content: "";
  position: absolute;
  bottom: -160px;
  left: -120px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(176, 122, 30, 0.12), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-header .container { position: relative; z-index: 1; }

.page-header h1 {
  margin-bottom: 14px;
  background: linear-gradient(115deg, var(--color-ink) 35%, var(--color-amber) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-header p {
  margin-bottom: 0;
  font-size: 1.12rem;
  color: var(--color-muted);
}

/* ============ ABOUT ============ */

.about-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 36px;
}

.about-image {
  display: flex;
  justify-content: center;
}

.about-emblem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about-emblem-img {
  width: 240px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.about-text {
  max-width: 760px;
}

.about-text h2 {
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 18px;
}

.about-text .location-badge {
  margin-top: 10px;
}

/* ============ CONTACT ============ */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 38px;
  align-items: start;
  justify-content: center;
}

.contact-form-wrap {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 46px;
  box-shadow: var(--shadow-sm);
}

.contact-form-wrap > p { margin-bottom: 28px; }

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.contact-card,
.contact-details {
  border-radius: var(--radius);
  padding: 46px;
  position: relative;
  overflow: hidden;
}

.contact-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-sm);
}

.contact-card-top {
  margin-bottom: 30px;
}

.contact-card-top h2 {
  margin-bottom: 8px;
}

.contact-card-top p {
  margin-bottom: 0;
}

.contact-form .form-group {
  margin-bottom: 22px;
}

.contact-form label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink);
  margin-bottom: 9px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-cream);
  border: 1.5px solid var(--color-line);
  border-radius: var(--radius-sm);
  padding: 15px 18px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--color-muted);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  background: var(--color-white);
  border-color: var(--color-honey);
  box-shadow: 0 0 0 4px var(--color-honey-soft);
}

.contact-form textarea {
  resize: vertical;
  min-height: 152px;
}

.contact-form .btn-primary {
  width: 100%;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.contact-form .btn-primary svg {
  transition: transform 0.3s ease;
}

.contact-form .btn-primary:hover svg {
  transform: translateX(4px);
}

.form-error {
  margin-top: 16px;
  margin-bottom: 0;
  padding: 13px 16px;
  font-size: 0.92rem;
  color: #8a2b1d;
  background: rgba(199, 72, 50, 0.10);
  border: 1px solid rgba(199, 72, 50, 0.25);
  border-radius: var(--radius-sm);
}

.form-success {
  display: none;
  text-align: center;
  padding: 26px 8px;
}

.form-success.show {
  display: block;
  animation: contactPop 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.form-success .icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-honey-soft);
  color: var(--color-honey-deep);
  border: 1.5px solid rgba(224, 163, 58, 0.3);
}

.form-success h3 {
  margin-bottom: 8px;
}

.form-success p {
  margin-bottom: 0;
}

@keyframes contactPop {
  from { opacity: 0; transform: scale(0.94) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.contact-details {
  background: linear-gradient(160deg, var(--color-ink) 0%, var(--color-ink-soft) 100%);
  border: 1px solid rgba(224, 163, 58, 0.2);
  box-shadow: var(--shadow-md);
  color: var(--color-cream);
}

.contact-details h3 {
  color: var(--color-white);
  margin-bottom: 12px;
}

.contact-details > p {
  color: rgba(251, 248, 242, 0.72);
  margin-bottom: 26px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-item:first-of-type {
  border-top: none;
  padding-top: 4px;
}

.contact-item .icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--color-honey-soft);
  color: var(--color-honey);
  border: 1px solid rgba(224, 163, 58, 0.25);
}

.contact-item .text {
  display: flex;
  flex-direction: column;
}

.contact-item .text strong {
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-honey);
  margin-bottom: 4px;
}

.contact-item .text span,
.contact-item .text a {
  color: var(--color-cream);
  font-size: 1.02rem;
  transition: color 0.25s ease;
}

.contact-item .text a:hover {
  color: var(--color-honey);
}

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

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 1.02rem;
}

.hours-list li span:last-child {
  color: var(--color-honey);
  font-weight: 600;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .map-grid { grid-template-columns: 1fr; }
  .map-card { min-height: 380px; }
  .marquee-group { gap: 48px; padding-right: 48px; }
}

@media (max-width: 768px) {
  .nav .container {
    display: flex;
    justify-content: space-between;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--color-ink);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-links.open {
    display: flex;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
  }

  .nav-links a {
    padding: 12px 0;
    font-size: 1rem;
  }

  .nav-auth {
    gap: 40px;
  }

  .nav-toggle {
    display: block;
  }

  .features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 70px 0; }

  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .slider-prev { left: 14px; }
  .slider-next { right: 14px; }
  .slider-dots { bottom: 22px; }

  .marquee-item { font-size: 1rem; }
  .map-info { padding: 38px 30px; }

  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-card, .contact-details { padding: 34px 28px; }
  .page-header { padding: 112px 0 72px; }
  .map-card { min-height: 320px; }

  .acct-grid { grid-template-columns: 1fr; max-width: 680px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .features { gap: 16px; }
  .marquee-group { gap: 36px; padding-right: 36px; }
  .nav-logo-img { height: 96px; max-width: 480px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .acct-card { padding: 28px 22px; }
  .acct-profile-head { gap: 14px; }
  .acct-avatar { width: 54px; height: 54px; flex-basis: 54px; border-radius: 17px; }
  .acct-actions { align-items: stretch; flex-direction: column; }
  .acct-action-note { max-width: none; }
  .acct-actions .btn { width: 100%; }
}
