/* ============================================================
   GRILL & GRELOS — Design System
   Organic / Natural style. Galician rural restaurant.
   ============================================================ */

/* ---------- Google Fonts ---------- */

@font-face {
  font-family: 'ChelseaMarket';
  src: url('fonts/ChelseaMarket-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Caveat';
  src: url('fonts/Caveat-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Nunito';
  src: url('fonts/Nunito-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design Tokens ---------- */
:root {
  /* Colors */
  --color-bg:                #FDFCF8;
  --color-fg:                #2C2C24;
  --color-primary:           #5281ad;
  --color-primary-fg:        #F3F4F1;
  --color-secondary:         #ad7e52;
  --color-secondary-fg:      #FFFFFF;
  --color-accent:            #E6DCCD;
  --color-accent-fg:         #6B3F16;
  --color-muted:             #F0EBE5;
  --color-muted-fg:          #78786C;
  --color-border:            #DED8CF;
  --color-destructive:       #A85448;

  /* Typography */  
  --font-display:            'ChelseaMarket', sans-serif;
  --font-heading:            'Caveat', sans-serif;  
  --font-body:               'Nunito', sans-serif;

  /* Type scale (1.25 ratio) */
  --text-xs:    0.64rem;
  --text-sm:    0.8rem;
  --text-base:  1rem;
  --text-lg:    1.25rem;
  --text-xl:    1.563rem;
  --text-2xl:   1.953rem;
  --text-3xl:   2.441rem;
  --text-4xl:   3.052rem;
  --text-5xl:   3.815rem;

  /* Radii */
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-soft:  0 4px 20px -2px rgba(93, 112, 82, 0.15);
  --shadow-float: 0 10px 40px -10px rgba(193, 140, 93, 0.20);
  --shadow-deep:  0 20px 40px -10px rgba(93, 112, 82, 0.18);

  /* Spacing */
  --section-py: 7rem;
  --container:  1280px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-fg);
  background-color: var(--color-bg);
  line-height: 1.7;
  position: relative;
  overflow-x: hidden;
}

/* Global grain/noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--color-fg);
}

/* ---------- Utility: container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ---------- Utility: section ---------- */
.section { padding-block: var(--section-py); }

/* ---------- Ambient blobs ---------- */
.blob {
  position: absolute;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.35;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}
.blob--moss  { background: var(--color-primary); }
.blob--clay  { background: var(--color-secondary); }
.blob--sand  { background: var(--color-accent); }

/* ==========================================================
   NAVBAR
   ========================================================== */
.navbar {
  position: sticky;
  top: 1rem;
  z-index: 1000;
  padding-inline: 1.5rem;
}

.navbar__inner {
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-auto-flow: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  background: var(--color-bg);
  border: 1px solid rgba(222, 216, 207, 0.5);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.navbar__logo {
  display: inline-flex;
  flex-shrink: 0;
}

.navbar__logo .logo-mobile {
  display: none;
  img{
  height: 38px;
  width: 38px;
  object-fit: contain;
  }
}

.navbar__logo .logo-desktop {
  display: block;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar__links a {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-muted-fg);
  transition: color 0.25s;
}

.navbar__links a:hover { color: var(--color-primary); }

.navbar__ctas {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 100%;
}

/* Hamburger */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  margin-right: 0.5rem;
}
.navbar__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-fg);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.navbar__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle.open span:nth-child(2) { opacity: 0; }
.navbar__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.navbar__mobile {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  margin-top: 0.5rem;
  background: var(--color-bg);
  border: 1px solid rgba(222, 216, 207, 0.5);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-float);
}
.navbar__mobile.open { display: flex; }
.navbar__mobile a {
  font-size: var(--text-lg);
  font-weight: 800;
  padding: 0.5rem;
}
.navbar__mobile a:last-child { border-bottom: none; }

/* ==========================================================
   BUTTONS
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 2rem;
  line-height: 1;
  height: 100%;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-sm);
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.95); }

.btn--primary {
  background: var(--color-primary);
  color: var(--color-primary-fg);
  box-shadow: var(--shadow-soft);
}

.btn--outline {
  background: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}
.btn--outline:hover {
  background: var(--color-secondary);
  color: var(--color-secondary-fg);
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: var(--text-base);
}

/* ==========================================================
   HERO — Floating cards layout
   ========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 8rem 6rem;
}

/* Blob positions */
.hero__blob1 {
  width: 480px; height: 480px;
  top: -100px; left: -120px;
  opacity: 0.28;
}
.hero__blob2 {
  width: 360px; height: 360px;
  bottom: -80px; right: -100px;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  opacity: 0.22;
}
.hero__blob3 {
  width: 300px; height: 300px;
  top: 30%; right: 15%;
  border-radius: 70% 30% 50% 50% / 30% 60% 40% 70%;
  opacity: 0.18;
}

/* ── Inner: centers the text content ── */
.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  max-width: 600px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--color-secondary);
  border-radius: 2px;
}

.hero__title {
  font-size: clamp(var(--text-3xl), 6vw, var(--text-5xl));
  font-weight: 800;
  color: var(--color-fg);
  line-height: 1.15;
}
.hero__title em {
  font-style: italic;
  color: var(--color-primary);
}

.hero__desc {
  font-size: var(--text-lg);
  color: var(--color-muted-fg);
  max-width: 480px;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* ── Floating cards container ── */
.hero__cards {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* ── Base food card ── */
.hero__card {
  position: absolute;
  /* overflow: visible lets the dish image spill above the card edge */
  overflow: visible;
  background: linear-gradient(135deg, #fcf8f0, #fffefe);
  border: 1px solid rgba(222, 216, 207, 0.65);
  border-radius: var(--radius-lg);
  /* Extra top padding reserves the space the overflowing image occupies */
  padding: 0 0.6rem 0.85rem;
  box-shadow: 0 8px 32px -8px rgba(193, 140, 93, 0.22),
              0 2px 8px -2px rgba(44, 44, 36, 0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  animation: heroCardFloat 6s ease-in-out infinite;
  will-change: transform;
}

/* Image wrapper: no clipping, pushed above card boundary */
.hero__card-img {
  width: 100%;
  transform: translateY(-45%);
  margin-bottom: -50%;
  filter: drop-shadow(0 6px 12px hsl(0deg 0% 0% / 25%));
  transition: transform 0.5s ease, filter 0.5s ease;
  pointer-events: none;
}

.hero__card-img img {
  display: block;
  width: 100%;
  height: auto;          /* auto height preserves aspect ratio + transparency */
  object-fit: contain;   /* contain = no crop, transparent edges stay visible */
}

/* On hover: dish rises further and shadow deepens */
.hero__card:hover .hero__card-img {
  transform: translateY(-44%);
  filter: drop-shadow(0 20px 36px rgba(44, 44, 36, 0.36));
}

.hero__card-label {
  font-size: var(--text-lg);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-fg);
  text-align: center;
  padding: 0.25rem 0.5rem 0;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

/* ── Individual card positions & sizes ── */

/* Left side – top: Pulpo, larger */
.hero__card--1 {
  left: 15%;
  top: 20%;
  width: 192px;
  transform: rotate(-7deg);
  animation-delay: 0s;
  animation-duration: 7s;
}
/* img size now driven by card width + object-fit: contain */

/* Left side – bottom: Churrasco */
.hero__card--2 {
  left: 20%;
  bottom: 20%;
  width: 192px;
  transform: rotate(5deg);
  animation-delay: -2s;
  animation-duration: 8s;
}


/* Right side – top: Vieiras */
.hero__card--3 {
  right: 15%;
  top: 20%;
  width: 192px;
  transform: rotate(6deg);
  animation-delay: -1s;
  animation-duration: 6.5s;
}


/* Right side – bottom: Tarta */
.hero__card--4 {
  right: 20%;
  bottom: 20%;
  width: 192px;
  transform: rotate(-4deg);
  animation-delay: -3s;
  animation-duration: 7.5s;
}


/* Top center – small accent: Mejillones */
.hero__card--5 {
  left: 50%;
  top: 10%;
  width: 192px;
  transform: translateX(-50%);
  animation-delay: -1.5s;
  animation-duration: 9s;
}


/* ── Float keyframe ── */
@keyframes heroCardFloat {
  0%   { translate: 0 0; }
  50%  { translate: 0 -10px; }
  100% { translate: 0 0; }
}

/* ── Hero responsive ── */
@media (max-width: 767px) {
  .hero {
    min-height: auto;
    padding-block: 19rem 4rem;
  }

  .blob--clay.hero__blob2{
    display: none;
  }

  /* Hide outer cards, keep only subtle side hints */
  .hero__card--2,
  .hero__card--4
  { display: none; }

  .hero__card--1 {
    left: 5%;
    top: 20%;
    width: 112px;
  }

  .hero__card--3 {
    right: 5%;
    top: 20%;
    width: 112px;
  }

  .hero__card--5 { 
    left: 50%;
    top: 10%;
    width: 112px; }

  .hero__card-img{
    width: 128px;
    height: 112px;
  }

  .hero__content { max-width: 100%; }
  .hero__desc { font-size: var(--text-base); }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero__card--1 { left: 1%; width: 150px; }
  .hero__card--2 { left: 2%; width: 135px; }
  .hero__card--3 { right: 1%; width: 145px; }
  .hero__card--4 { right: 2%; width: 130px; }
  .hero__card--5 { display: none; }
}



/* ==========================================================
   SECTION HEADINGS
   ========================================================== */
.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 2rem;
}

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

.section-header__title {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-header__title em {
  font-style: italic;
  color: var(--color-primary);
}

.section-header__desc {
  color: var(--color-muted-fg);
  font-size: var(--text-base);
}

/* ==========================================================
   HIGHLIGHTS / FEATURES
   ========================================================== */
.highlights { background: var(--color-muted); }

.highlights__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.highlight-card {
  background: var(--color-bg);
  border: 1px solid rgba(222, 216, 207, 0.5);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s, box-shadow 0.3s;
}
.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-deep);
}

.highlight-card__icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: rgba(93, 112, 82, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  transition: background 0.3s;
}
.highlight-card:hover .highlight-card__icon { background: var(--color-primary); }

.highlight-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
}

.highlight-card__desc {
  color: var(--color-muted-fg);
  font-size: var(--text-sm);
}

/* ==========================================================
   HIGHLIGHTS — PHOTO STRIP (3 × 9/16)
   ========================================================== */
.highlights__grid--photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.photo-highlight {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

/* Frame keeps strict 9:16 ratio */
.photo-highlight__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-float);
}

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

.photo-highlight:hover .photo-highlight__frame img {
  transform: scale(1.1);
}

/* Subtle dark gradient at bottom for label readability */
.photo-highlight__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(44, 44, 36, 0.55) 0%,
    transparent 55%
  );
  pointer-events: none;
  transition: opacity 0.35s;
}

.photo-highlight:hover .photo-highlight__overlay {
  opacity: 0.75;
}

/* Label below the frame */
.photo-highlight__label {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-fg);
  text-align: center;
  letter-spacing: 0.01em;
  transition: color 0.25s;
}

.photo-highlight:hover .photo-highlight__label {
  color: var(--color-primary);
}

/* Responsive: stack to 1 col on small screens, 2 on medium */
@media (max-width: 640px) {
  .highlights__grid,
  .highlights__grid--photos {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    gap: 1rem;
    padding-bottom: 0.5rem;
  }
  
  .highlights__grid::-webkit-scrollbar,
  .highlights__grid--photos::-webkit-scrollbar {
    display: none; /* Safari/Chrome */
  }

  .highlights__grid > *,
  .highlights__grid--photos > * {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .highlights__grid--photos {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Third card spans full width on 2-col breakpoint */
  .photo-highlight:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 50%;
    margin-inline: auto;
  }
}

/* ==========================================================
   CARTA (MENU)
   ========================================================== */
.carta__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 4rem;
}

.carta__tab {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-muted-fg);
  border: 1px solid var(--color-border);
  background: transparent;
  transition: all 0.25s;
}
.carta__tab:hover,
.carta__tab.active {
  background: var(--color-primary);
  color: var(--color-primary-fg);
  border-color: var(--color-primary);
}

/* ==========================================================
   CARTA GRID — horizontal pop-out card layout
   ========================================================== */
.carta__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
}

/* ── Card base ── */
.dish-card {
  position: relative;
  width: 100%;
  max-width: 850px;
  background: var(--color-bg);
  border-radius: 40px;
  box-shadow: 0 12px 48px -8px rgba(93, 112, 82, 0.18),
              0 4px 16px -4px rgba(44, 44, 36, 0.10);
  display: flex;
  overflow: visible;
  transition: transform 0.35s cubic-bezier(.22,.68,0,.99),
              box-shadow 0.35s ease;
  cursor: default;
}
.dish-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 60px -10px rgba(93, 112, 82, 0.26),
              0 6px 20px -4px rgba(44, 44, 36, 0.12);
}

/* ── Left text column (60%) ── */
.dish-card__body {
  flex: 0 0 60%;
  padding: 2rem 1.75rem 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.6rem;
  min-height: 180px;
}

/* Category badge */
.dish-card__badge {
  display: inline-block;
  align-self: flex-start;
  line-height: 0;
  padding: 1rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--color-primary);
  color: var(--color-primary-fg);
  margin-bottom: 0.15rem;
}

/* Title: uppercase, black-weight italic */
.dish-card__name {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Ingredient subtitle */
.dish-card__desc {
  font-size: var(--text-sm);
  color: #7a7a6e;
  line-height: 1.5;
}

/* Price block */
.dish-card__footer {
  display: flex;
  align-items: flex-end;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.dish-card__price-block {
  align-items: start;
}

.dish-card__currency {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--font-display);
  color: #7a7a6e;
  line-height: 1.4;
  padding-top: 0.2rem;
}

.dish-card__amount {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: bold;
  color: var(--color-primary);
  line-height: 1;
}

.dish-card__decimals {
  grid-column: 2;
  grid-row: 1;
  font-size: var(--text-lg);
  font-family: var(--font-display);
  letter-spacing: 1px;
  color: #3a3a30;
  align-self: start;
  padding-top: 0.35rem;
}

.dish-card__flavor {
  font-size: var(--text-sm);
  font-style: italic;
  color: #9a9a8a;
  grid-column: 1 / -1;
  grid-row: 2;
  padding-top: 0.25rem;
  line-height: 1.3;
  margin-left: 0.5rem;
}

/* Order button */
.dish-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  background: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
  transition: background 0.25s, color 0.25s, transform 0.25s;
  white-space: nowrap;
  align-self: flex-end;
}
.dish-card__btn:hover {
  background: var(--color-secondary);
  color: #fff;
  transform: scale(1.05);
}

/* ── Right image column (40%) ── */
.dish-card__img-wrap {
  flex: 0 0 40%;
  position: relative;
  /* overflow: visible lets the image pop outside the card boundary */
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dish-card__img-wrap img {
  position: absolute;
  top: -50px;
  right: -25px;
  width: 135%;
  height: 135%;
  object-fit: contain;
  transition: transform 0.45s cubic-bezier(.22,.68,0,.99),
              box-shadow 0.45s ease;
  will-change: transform;
}
.dish-card:hover .dish-card__img-wrap img {
  transform: translateY(-8px) scale(1.03);
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .dish-card {
    flex-direction: column-reverse;
    border-radius: 28px;
    max-width: 100%;
    max-height: 300px;
    margin-top: 6rem;
  }
  .dish-card__body {
    flex: unset;
    padding: 1.5rem 1.5rem 0.75rem;
  }
  .dish-card__img-wrap {
    flex: unset;
    height: 208px;
  }
  .dish-card__img-wrap img {
    position: relative;
    top: 0;
    right: 0;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .dish-card { max-width: 100%; }
  .dish-card__img-wrap img {
    top: -14px;
    right: -14px;
    width: 120%;
    height: 120%;
  }
}

/* ==========================================================
   ABOUT
   ========================================================== */
.about { background: rgba(230, 220, 205, 0.3); }

.about__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

.about__img-wrap {
  position: relative;
}

.about__img-wrap img {
  width: 75%;
  height: 100%;
  object-fit: cover;
  justify-self: center;
  border-radius: 1rem;
  corner-shape: scoop;
  box-shadow: var(--shadow-float);
}

.about__badge {
  position: absolute;
  bottom: 2rem;
  right: -1rem;
  background: var(--color-secondary);
  color: var(--color-secondary-fg);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-xl);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-sm);
  text-align: center;
  line-height: 1.3;
  box-shadow: var(--shadow-float);
}

.about__text { display: flex; flex-direction: column; gap: 1.5rem; }

.about__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-secondary);
}
.about__eyebrow::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--color-secondary);
  border-radius: 2px;
}

.about__title {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: 700;
}
.about__title em { font-style: italic; color: var(--color-primary); }

.about__desc { color: var(--color-muted-fg); }

.about__values {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about__value {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent-fg);
}

.about__value::before {
  content: '✓';
  width: 28px; height: 28px;
  flex-shrink: 0;
  background: rgba(93, 112, 82, 0.12);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: 700;
}

/* ==========================================================
   GALLERY
   ========================================================== */
.gallery { background: var(--color-fg); }
.gallery .section-header__title,
.gallery .section-header__desc { color: var(--color-primary-fg); }
.gallery .section-header__eyebrow { color: var(--color-secondary); }

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.gallery__item {
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
}

.gallery__item:nth-child(3) { grid-column: span 2; }

.gallery__item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.gallery__item:nth-child(3) img { height: 320px; }

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

/* ==========================================================
   BENTO GRID
   ========================================================== */

/*
  Layout (3 cols × 2 rows on desktop):
  ┌─────────────┬─────────────┬───────────┐  row 1
  │             │             │           │
  │  hero       │  hero       │  tall     │
  │  (col 1-2)  │  (col 1-2)  │  (col 3)  │  row 2
  │             │             │           │
  ├─────────────┴─────────────┴───────────┤  row 3
  │        wide (col 1-3)                 │
  └───────────────────────────────────────┘
*/

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1rem;
  max-height: 992px;
}

/* ── Shared card base ── */
.bento-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  cursor: pointer;
}

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

.bento-card:hover img {
  transform: scale(1.07);
}

/* ── Overlay with gradient + content ── */
.bento-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: linear-gradient(
    to top,
    rgba(44, 44, 36, 0.82) 0%,
    rgba(44, 44, 36, 0.25) 50%,
    transparent 100%
  );
  transition: background 0.4s ease;
}

.bento-card:hover .bento-card__overlay {
  background: linear-gradient(
    to top,
    rgba(44, 44, 36, 0.92) 0%,
    rgba(44, 44, 36, 0.35) 55%,
    transparent 100%
  );
}

.bento-card__tag {
  display: inline-block;
  align-self: flex-start;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--color-secondary);
  color: var(--color-secondary-fg);
  margin-bottom: 0.5rem;
}

.bento-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0.35rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.bento-card__desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.78);
  max-width: 36ch;
  transform: translateY(6px);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.bento-card:hover .bento-card__desc {
  opacity: 1;
  transform: translateY(0);
}

/* ── Tile variants ── */

/* Hero: col 1-2, row 1-2 */
.bento-card--hero {
  grid-column: 1 / -1;
  grid-row: 1;
  border-radius: 1rem;
}

/* Tall: col 3, row 1-2 */
.bento-card--tall {
  grid-column: 1/3;
  grid-row: 2;
  border-radius: 1rem;
}

/* Wide: col 1-3, row 3 */
.bento-card--wide {
  grid-column: 3;
  grid-row: 2;
  border-radius: 1rem;
}
.bento-card--wide .bento-card__desc {
  max-width: 52ch;
}

/* ── Bento responsive ── */
@media (max-width: 767px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .bento-card--hero,
  .bento-card--tall,
  .bento-card--wide {
    grid-column: 1 / -1;
    grid-row: auto;
    border-radius: var(--radius-xl);
    height: 340px;
  }

  .bento-card--wide {
    height: 260px;
  }

  .bento-card__desc {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .bento-grid {
    grid-template-columns: 1fr 0.65fr;
    grid-template-rows: 300px 260px;
  }

  .bento-card--hero {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    border-radius: var(--radius-xl);
  }

  .bento-card--tall {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    border-radius: var(--radius-xl);
  }

  .bento-card--wide {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    border-radius: var(--radius-xl);
  }
}



/* ==========================================================
   CTA BAND
   ========================================================== */
.cta-band {
  background: var(--color-primary);
  position: relative;
  overflow: hidden;
  padding-block: 5rem;
  text-align: center;
}

.cta-band__blob {
  position: absolute;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.07);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  pointer-events: none;
}
.cta-band__blob--1 { top: -80px; left: -60px; }
.cta-band__blob--2 { bottom: -80px; right: -60px; border-radius: 40% 60% 70% 30% / 50% 40% 60% 50%; }

.cta-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cta-band__title {
  font-size: clamp(var(--text-xl), 4vw, var(--text-3xl));
  font-weight: 700;
  color: var(--color-primary-fg);
  font-family: var(--font-display);
}

.cta-band__desc {
  color: rgba(243, 244, 241, 0.75);
  max-width: 480px;
}

.cta-band__ctas { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

.btn--light {
  background: var(--color-primary-fg);
  color: var(--color-primary);
  box-shadow: 0 4px 20px -2px rgba(0,0,0,0.15);
}
.btn--light:hover {
  transform: scale(1.05);
  background: #fff;
  box-shadow: 0 8px 32px -4px rgba(0,0,0,0.2);
}

.btn--ghost-light {
  background: transparent;
  color: var(--color-primary-fg);
  border: 2px solid rgba(243, 244, 241, 0.5);
}
.btn--ghost-light:hover {
  border-color: var(--color-primary-fg);
  transform: scale(1.05);
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  background: #1E1E18;
  color: rgba(243, 244, 241, 0.7);
  padding-block: 4rem 2rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.footer__brand { display: flex; flex-direction: column; gap: 1rem; }

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary-fg);
}

.footer__logo img {
  height: 112px;
  width: 96px;
  object-fit: contain;
  border-radius: var(--radius-full);
}

.footer__tagline {
  font-size: var(--text-sm);
  max-width: 280px;
}

.footer__col h4 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary-fg);
  margin-bottom: 1rem;
}

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

.footer__col a {
  font-size: var(--text-sm);
  transition: color 0.25s;
}
.footer__col a:hover { color: var(--color-primary-fg); }

.footer__bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(243, 244, 241, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (min-width: 768px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding-block: 6rem 8rem;
  }

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

  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .gallery__item:nth-child(3) { grid-column: span 1; }
  .gallery__item img,
  .gallery__item:nth-child(3) img { height: 280px; }

  .footer__inner { grid-template-columns: 2fr 1fr 1fr; }

  .navbar__links { display: flex; }
}

@media (max-width: 767px) {
  .navbar__inner{
    padding: 0.5rem;
  }
  .navbar__mobile{
    padding: 1rem;
  }

  .navbar__links,
  .navbar__ctas { display: none; }
  .navbar__toggle { display: flex; }
  
  .navbar__logo .logo-desktop { display: none; }
  .navbar__logo .logo-mobile { display: block; }

  .hero__image-wrap img { height: 320px; }
  .about__badge { right: 0; }
}

@media (min-width: 1024px) {
  .gallery__grid { grid-template-columns: repeat(4, 1fr); }
  .gallery__item:nth-child(3) { grid-column: span 1; }
  .gallery__item img,
  .gallery__item:nth-child(3) img { height: 260px; }
}
