/* =============================================================
   FLATTY COFFEE SHOP — Styles
   Brand palette extracted from assets:
     Terracotta red  #D14B30  (logo background)
     Cream/ivory     #F5EDD8  (logo text, warm neutrals)
     Teal/mint       #3ABFA0  (cup wordmark, accent)
     Dark charcoal   #1C1C1A  (text, backgrounds)
     Mid warm grey   #6B6057  (secondary text)
     Light warm grey #F2EDE6  (section backgrounds)
   ============================================================= */

/* ---- RESET & BASE ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Brand colours */
  --color-brand:        #D14B30;
  --color-brand-dark:   #B03D25;
  --color-brand-light:  #F2D5CC;
  --color-teal:         #3ABFA0;
  --color-teal-dark:    #2DA08A;
  --color-cream:        #F5EDD8;
  --color-bg:           #FDFAF5;
  --color-bg-alt:       #F2EDE6;
  --color-text:         #1C1C1A;
  --color-text-mid:     #4A433C;
  --color-text-light:   #7A6E65;
  --color-border:       #E0D8CE;

  /* Typography */
  --font-sans:  'Helvetica Neue', Arial, sans-serif;
  --font-serif: Georgia, 'Times New Roman', serif;

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

  /* Layout */
  --max-width:  1200px;
  --nav-height: 72px;

  /* Radius */
  --radius-sm:  4px;
  --radius-md:  12px;
  --radius-lg:  24px;
  --radius-full: 999px;

  /* Transitions */
  --transition: 0.22s ease;
  --transition-slow: 0.4s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

address {
  font-style: normal;
}

/* ---- UTILITY ---- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.section {
  padding-block: var(--space-2xl);
}

.section-alt {
  background-color: var(--color-bg-alt);
}

.section-intro {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: var(--space-sm);
}

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-text-mid);
  max-width: 520px;
  margin-inline: auto;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--color-teal);
  outline-offset: 3px;
}

.btn-primary {
  background-color: var(--color-brand);
  color: #fff;
  border-color: var(--color-brand);
}
.btn-primary:hover {
  background-color: var(--color-brand-dark);
  border-color: var(--color-brand-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  background-color: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-ghost:hover {
  background-color: rgba(255,255,255,0.12);
  border-color: #fff;
}

.btn-ghost-dark {
  background-color: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn-ghost-dark:hover {
  border-color: var(--color-text);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-brand);
  border-color: var(--color-brand);
}
.btn-outline:hover {
  background-color: var(--color-brand);
  color: #fff;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.82rem;
}

.btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.inline-link {
  color: var(--color-brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.inline-link:hover {
  color: var(--color-brand-dark);
}

/* ---- NAVIGATION ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background-color: transparent;
  transition: background-color var(--transition-slow), box-shadow var(--transition-slow);
}

.site-header.scrolled {
  background-color: #fff;
  box-shadow: 0 1px 20px rgba(0,0,0,0.08);
}

.nav-container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-logo-img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.nav-logo-text {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
  transition: color var(--transition);
}

.site-header.scrolled .nav-logo-text {
  color: var(--color-text);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: color var(--transition);
  position: relative;
  padding-block: 0.25rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-brand);
  transition: width var(--transition);
}

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

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

.site-header.scrolled .nav-link {
  color: var(--color-text-mid);
}

.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.active {
  color: var(--color-text);
}

.nav-link.nav-cta {
  background-color: var(--color-brand);
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 600;
}

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

.nav-link.nav-cta:hover {
  background-color: var(--color-brand-dark);
  color: #fff;
}

.site-header.scrolled .nav-link.nav-cta {
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), background-color var(--transition);
  transform-origin: center;
}

.site-header.scrolled .hamburger-line {
  background-color: var(--color-text);
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(28, 28, 26, 0.72) 0%,
    rgba(28, 28, 26, 0.45) 50%,
    rgba(28, 28, 26, 0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: var(--space-sm);
}

.hero-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--color-cream);
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(245, 237, 216, 0.85);
  margin-bottom: var(--space-lg);
  max-width: 480px;
  margin-inline: auto;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.6;
  transition: opacity var(--transition);
}

.hero-scroll-hint:hover {
  opacity: 1;
}

.scroll-arrow {
  display: block;
  width: 20px;
  height: 20px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  animation: bounce-down 1.8s ease infinite;
}

@keyframes bounce-down {
  0%, 100% { transform: rotate(45deg) translate(0, 0); }
  50%       { transform: rotate(45deg) translate(4px, 4px); }
}

/* ---- ABOUT ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}

.about-image-wrap:hover .about-img {
  transform: scale(1.03);
}

.about-text .section-label {
  display: block;
  margin-bottom: var(--space-xs);
}

.about-text p {
  color: var(--color-text-mid);
  margin-bottom: var(--space-sm);
  font-size: 1.025rem;
}

.about-stats {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--color-brand);
  line-height: 1;
  font-weight: 400;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-light);
}

/* ---- DRINKS ---- */
.drinks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.drink-card {
  background-color: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.drink-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

.drink-card--featured {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: stretch;
}

.drink-card-img-wrap {
  aspect-ratio: 1;
  overflow: hidden;
  flex-shrink: 0;
}

.drink-card--featured .drink-card-img-wrap {
  width: 45%;
  aspect-ratio: auto;
  flex: 0 0 45%;
}

.drink-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.drink-card:hover .drink-card-img {
  transform: scale(1.05);
}

.drink-card-img-wrap--placeholder {
  background-color: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.drink-icon-placeholder {
  width: 60px;
  color: var(--color-text-light);
  opacity: 0.4;
}

.drink-icon-placeholder svg {
  width: 100%;
}

.drink-card-body {
  padding: var(--space-md) var(--space-md) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  flex: 1;
}

.drink-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-teal-dark);
  background-color: rgba(58, 191, 160, 0.12);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  align-self: flex-start;
  margin-bottom: 0.25rem;
}

.drink-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.2;
}

.drink-card--featured .drink-name {
  font-size: 2rem;
}

.drink-desc {
  font-size: 0.95rem;
  color: var(--color-text-mid);
  line-height: 1.6;
}

.drinks-note {
  text-align: center;
  margin-top: var(--space-lg);
  font-size: 0.925rem;
  color: var(--color-text-light);
}

/* ---- GALLERY ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 340px);
  gap: 3px;
  margin-top: var(--space-lg);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item--large {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.gallery-item--portrait {
  grid-row: 1 / 3;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.06);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(transparent, rgba(28,28,26,0.75));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--transition), transform var(--transition);
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

/* ---- LIGHTBOX ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: rgba(20, 18, 16, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox-caption {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  text-align: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background-color var(--transition);
}

.lightbox-close {
  top: var(--space-md);
  right: var(--space-md);
}

.lightbox-prev {
  left: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.22);
}

.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
  outline: 3px solid var(--color-teal);
  outline-offset: 3px;
}

.lightbox-close svg,
.lightbox-prev svg,
.lightbox-next svg {
  width: 20px;
  height: 20px;
}

/* ---- LOCATIONS ---- */
.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.location-card {
  background-color: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: box-shadow var(--transition), transform var(--transition);
}

.location-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.location-card-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.location-number {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-brand);
}

.location-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.2;
}

.location-subtitle {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.location-address {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--color-text-mid);
}

.location-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-brand);
}

.hours-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-mid);
  margin-bottom: var(--space-sm);
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.925rem;
}

.hours-row dt {
  color: var(--color-text-mid);
  font-weight: 400;
}

.hours-row dd {
  font-weight: 600;
  color: var(--color-text);
}

.hours-note {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: var(--space-sm);
  line-height: 1.4;
}

.location-btn {
  margin-top: auto;
  align-self: flex-start;
}

.map-placeholder {
  background-color: var(--color-bg);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-md);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder-text {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.map-icon {
  width: 24px;
  height: 24px;
  color: var(--color-brand);
  flex-shrink: 0;
}

/* ---- CONTACT ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.contact-text .section-label {
  display: block;
  margin-bottom: var(--space-xs);
}

.contact-text p {
  color: var(--color-text-mid);
  margin-bottom: var(--space-md);
  font-size: 1.025rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-text-mid);
}

.contact-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-brand);
}

.contact-link {
  font-weight: 600;
  color: var(--color-text);
  transition: color var(--transition);
}
.contact-link:hover {
  color: var(--color-brand);
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  color: var(--color-text-mid);
  background-color: #fff;
  max-width: 280px;
}

.social-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.social-link:hover {
  border-color: transparent;
  color: #fff;
  transform: translateX(4px);
}

.social-link--instagram:hover {
  background-color: #E1306C;
}

.social-link--facebook:hover {
  background-color: #1877F2;
}

.social-link--wolt:hover {
  background-color: #009DE0;
}

.social-link--tiktok:hover {
  background-color: #010101;
}

.contact-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.contact-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.contact-image-wrap:hover .contact-img {
  transform: scale(1.03);
}

.contact-img-badge {
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-md);
  background-color: var(--color-brand);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(209, 75, 48, 0.4);
}

.badge-line1 {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
}

.badge-line2 {
  display: block;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
}

/* ---- FOOTER ---- */
.site-footer {
  background-color: var(--color-text);
  color: var(--color-cream);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: var(--space-xl);
  align-items: center;
  padding-block: var(--space-xl);
}

.footer-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  margin-bottom: var(--space-sm);
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(245, 237, 216, 0.6);
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a {
  font-size: 0.875rem;
  color: rgba(245, 237, 216, 0.7);
  transition: color var(--transition);
}

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

.footer-social {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245, 237, 216, 0.7);
  transition: all var(--transition);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
}

.footer-social a:hover {
  background-color: var(--color-brand);
  border-color: var(--color-brand);
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-block: var(--space-md);
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(245, 237, 216, 0.45);
}

/* ---- BACK TO TOP ---- */
/*
  Visibility is controlled purely by CSS class .is-visible toggled by JS.
  The button is always display:flex so it can animate in/out via opacity
  and transform. pointer-events:none prevents interaction when hidden.
  aria-hidden is also toggled in JS to match screen-reader visibility.
*/
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
  width: 48px;
  height: 48px;
  background-color: var(--color-brand);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(209, 75, 48, 0.35);
  transition: opacity var(--transition), transform var(--transition), background-color var(--transition), box-shadow var(--transition);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background-color: var(--color-brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(209, 75, 48, 0.45);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ---- COOKIE BANNER ---- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background-color: var(--color-text);
  color: var(--color-cream);
  padding: var(--space-sm) clamp(1.25rem, 5vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner p {
  font-size: 0.875rem;
  color: rgba(245, 237, 216, 0.85);
  flex: 1;
  min-width: 200px;
}

.cookie-link {
  color: var(--color-teal);
  text-decoration: underline;
}

/* ---- RESPONSIVE ---- */

/* Tablet */
@media (max-width: 1024px) {
  .drinks-grid {
    grid-template-columns: 1fr 1fr;
  }

  .drink-card--featured {
    grid-column: 1 / -1;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .gallery-item--large {
    grid-column: 1 / -1;
    grid-row: auto;
    height: 400px;
  }

  .gallery-item--portrait {
    grid-row: auto;
    height: 320px;
  }

  .gallery-item:not(.gallery-item--large):not(.gallery-item--portrait) {
    height: 280px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Mobile nav activation */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background-color: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-sm) clamp(1.25rem, 5vw, 2.5rem) var(--space-md);
    gap: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-110%);
    opacity: 0;
    transition: transform var(--transition-slow), opacity var(--transition-slow);
    pointer-events: none;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    display: block;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-mid);
    font-size: 1rem;
  }

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

  .nav-link:hover,
  .nav-link.active {
    color: var(--color-brand);
  }

  .nav-link.nav-cta {
    background: none;
    color: var(--color-brand);
    padding: 0.875rem 0;
    border-radius: 0;
    border-bottom: 1px solid var(--color-border);
    font-weight: 700;
  }

  .nav-link.nav-cta:hover {
    background: none;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .about-image-wrap {
    aspect-ratio: 16 / 9;
    max-height: 350px;
  }

  .about-image-wrap .about-img {
    object-position: center 20%;
  }

  .contact-image-wrap {
    aspect-ratio: 4 / 3;
    max-height: 360px;
    order: -1;
  }

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

  .drink-card--featured {
    flex-direction: column;
  }

  .drink-card--featured .drink-card-img-wrap {
    width: 100%;
    flex: none;
    aspect-ratio: 16 / 9;
  }

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

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

  .gallery-item--large {
    height: 280px;
  }

  .gallery-item--portrait {
    height: 280px;
  }

  .gallery-item:not(.gallery-item--large):not(.gallery-item--portrait) {
    height: 200px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer-social {
    flex-direction: row;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .about-stats {
    gap: var(--space-md);
  }

  .back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

/* Small phones */
@media (max-width: 420px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item--large,
  .gallery-item--portrait {
    height: 260px !important;
    grid-column: auto;
    grid-row: auto;
  }

  .section {
    padding-block: var(--space-xl);
  }
}

/* ---- ACCESSIBILITY: focus styles ---- */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--color-brand);
  outline-offset: 3px;
  border-radius: 2px;
}

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

/* ---- SCROLL-REVEAL (class-based — no inline style conflict) ---- */
/*
  Elements that should animate in on scroll start in this state.
  JS adds class .reveal-visible when the element enters the viewport.
  This avoids inline style specificity conflicts with CSS hover transitions.
*/
.reveal-hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* Staggered delay helpers applied via JS data attribute */
.reveal-hidden[data-reveal-delay="1"] { transition-delay: 80ms; }
.reveal-hidden[data-reveal-delay="2"] { transition-delay: 160ms; }
.reveal-hidden[data-reveal-delay="3"] { transition-delay: 240ms; }

/* ---- SEASONAL DRINK CARD PLACEHOLDER ---- */
.drink-card-img-wrap--seasonal {
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-brand-light) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--color-brand);
  position: relative;
  aspect-ratio: 1;
}

.drink-seasonal-placeholder {
  opacity: 0.5;
}

.drink-seasonal-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-brand);
  opacity: 0.75;
}

.drink-instagram-link {
  margin-top: auto;
}

/* ---- MAP EMBED ---- */
.map-embed-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  margin-top: 0;
  line-height: 0; /* remove inline gap below iframe */
}

/* ---- ABOUT LANGUAGE NOTE ---- */
.about-lang-note {
  font-size: 0.9rem;
  color: var(--color-text-light);
  border-left: 2px solid var(--color-teal);
  padding-left: 0.75rem;
  margin-top: calc(-1 * var(--space-xs));
}

/* ---- HOURS INSTAGRAM NOTE ---- */
.hours-instagram-note {
  font-size: 0.88rem;
  color: var(--color-text-mid);
  line-height: 1.5;
  padding: var(--space-sm);
  background-color: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-brand);
}

/* ---- PRINT ---- */
@media print {
  .site-header,
  .back-to-top,
  .cookie-banner,
  .lightbox {
    display: none !important;
  }
}
