/* Casa Colombia — design system + components */

:root {
  --red:        #A8201A;
  --red-dark:   #7C1612;
  --red-light:  #C8443D;
  --saffron:    #E8A33D;
  --saffron-dk: #C4861E;
  --blue:       #1A3D6E;
  --coffee:     #2A1F18;
  --body:       #4A3C30;
  --muted:      #7A6B5E;
  --line:       #E8DECF;
  --line-soft:  #F0E8D8;
  --cream:      #FAF6EE;
  --cream-dk:   #F2EAD6;
  --white:      #FFFFFF;

  --serif:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:   'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --container: 1240px;
  --pad-x: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 9vw, 7rem);

  --radius: 4px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(42, 31, 24, 0.06);
  --shadow:    0 8px 28px rgba(42, 31, 24, 0.10);
  --shadow-lg: 0 22px 60px rgba(42, 31, 24, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--red-dark); }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--coffee); margin: 0 0 .6em; line-height: 1.15; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -1px; }
h2 { font-size: clamp(1.85rem, 4vw, 2.75rem); letter-spacing: -0.5px; }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.125rem; }
p  { margin: 0 0 1.1em; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--saffron-dk);
  margin: 0 0 1rem;
}
.lead { font-size: 1.2rem; color: var(--coffee); }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; background: var(--coffee); color: var(--white); padding: .75rem 1rem; z-index: 999; border-radius: var(--radius); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.section { padding: var(--section-y) 0; }
.section-tight { padding: calc(var(--section-y) * 0.6) 0; }
.section-cream-dk { background: var(--cream-dk); }
.section-coffee { background: var(--coffee); color: #E5DCCB; }
.section-coffee h1, .section-coffee h2, .section-coffee h3 { color: var(--white); }
.section-coffee .eyebrow { color: var(--saffron); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 238, 0.93);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .9rem 0; }
.site-header .brand { display: flex; align-items: center; gap: .75rem; }
.site-header .brand img { height: 48px; width: auto; }
.site-header .brand-text { font-family: var(--serif); font-size: 1.4rem; color: var(--red); font-weight: 700; letter-spacing: -0.5px; }
.site-header .brand-text small { display: block; font-family: var(--sans); font-size: 0.65rem; letter-spacing: 4px; color: var(--saffron-dk); text-transform: uppercase; font-weight: 600; margin-top: 2px; }
.site-header nav { display: flex; align-items: center; gap: 1.75rem; }
.site-header nav a { color: var(--coffee); font-size: 0.95rem; font-weight: 500; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--red); }

.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--coffee); }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 880px) {
  .site-header nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; align-items: stretch; background: var(--cream); border-bottom: 1px solid var(--line); padding: .25rem 0 .75rem; }
  .site-header nav.open { display: flex; }
  .site-header nav a { padding: .9rem var(--pad-x); border-bottom: 1px solid var(--line-soft); }
  .site-header nav a.btn { margin: .9rem var(--pad-x) .25rem; text-align: center; }
  .nav-toggle { display: inline-flex; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sans); font-weight: 600; font-size: 0.98rem;
  padding: .9rem 1.6rem; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer; line-height: 1;
  transition: transform .12s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
  text-decoration: none;
}
.btn-primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-saffron { background: var(--saffron); color: var(--coffee); border-color: var(--saffron); }
.btn-saffron:hover { background: var(--saffron-dk); border-color: var(--saffron-dk); color: var(--coffee); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--coffee); border-color: var(--coffee); }
.btn-outline:hover { background: var(--coffee); color: var(--cream); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-ghost:hover { background: var(--white); color: var(--coffee); border-color: var(--white); }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.02rem; }

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex; align-items: flex-end;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0.78) 72%, rgba(0,0,0,0.94) 100%), url('/assets/photos/hero.jpg') center 25%/cover no-repeat #1a3d5e;
  color: var(--white);
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 4.5rem);
}
.hero h1 {
  color: var(--white);
  max-width: 18ch;
  text-shadow: 0 2px 4px rgba(0,0,0,0.85), 0 4px 32px rgba(0,0,0,0.75);
}
.hero .eyebrow {
  color: #FFE9B0;
  text-shadow: 0 1px 3px rgba(0,0,0,0.95), 0 2px 14px rgba(0,0,0,0.85);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 5px;
}
.hero .lead {
  color: rgba(255,255,255,0.97);
  max-width: 50ch;
  font-size: 1.22rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.85), 0 2px 18px rgba(0,0,0,0.75);
}
.hero .actions { display: flex; gap: .85rem; flex-wrap: wrap; margin-top: 2rem; }
.hero .scroll-cue {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.72); font-size: 0.78rem; letter-spacing: 4px; text-transform: uppercase;
}
.hero .scroll-cue::after { content: ""; display: block; width: 1px; height: 28px; background: rgba(255,255,255,0.5); margin: .6rem auto 0; }

/* Story / two-col */
.two-col { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.two-col.reverse > div:first-child { order: 2; }
.two-col img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; }
@media (max-width: 800px) {
  .two-col, .two-col.reverse { grid-template-columns: 1fr; }
  .two-col.reverse > div:first-child { order: 0; }
}

/* Signature dishes */
.dishes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.dish-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.dish-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.dish-card .img { aspect-ratio: 4/3; background: var(--cream-dk) center/cover no-repeat; }
.dish-card .body { padding: 1.4rem 1.4rem 1.6rem; }
.dish-card h3 { margin-bottom: .35rem; color: var(--coffee); }
.dish-card .price { color: var(--red); font-weight: 600; font-family: var(--serif); font-size: 1.1rem; }
.dish-card p { font-size: 0.95rem; margin-bottom: 0; }
@media (max-width: 760px) { .dishes { grid-template-columns: 1fr; } }

/* Kitchen video grid */
.kitchen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}
.kitchen-grid figure { margin: 0; }
.kitchen-grid video {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: #000;
}
.kitchen-grid figcaption {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--saffron);
  margin: .8rem 0 0;
  text-align: center;
  opacity: 0.85;
}
/* Center an orphan third item when grid has exactly 3 figures */
.kitchen-grid figure:nth-child(3):last-child {
  grid-column: 1 / -1;
  max-width: calc(50% - 0.55rem);
  margin-inline: auto;
}
@media (max-width: 700px) {
  .kitchen-grid { grid-template-columns: 1fr; }
}

/* Aerial visit banner */
.visit-aerial {
  display: block;
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: #000;
}

/* Brand intro video */
.brand-video {
  display: block;
  margin: 0 auto;
  max-width: 960px;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: #000;
  aspect-ratio: 16/9;
}

/* Music callout */
.music-banner {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  position: relative; overflow: hidden;
}
.music-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 50%, rgba(232,163,61,0.25), transparent 55%);
}
.music-banner .container { position: relative; }
.music-banner h2 { color: var(--white); }
.music-banner .eyebrow { color: var(--saffron); }
.music-banner .grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.5rem; align-items: center; }
.music-banner p { color: rgba(255,255,255,0.92); margin-bottom: 0; font-size: 1.1rem; }
.music-banner .actions { display: flex; gap: .85rem; flex-wrap: wrap; }
@media (max-width: 760px) { .music-banner .grid { grid-template-columns: 1fr; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .85rem; }
.gallery a { display: block; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--cream-dk); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery a:hover img { transform: scale(1.05); }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
}

/* Visit / contact block */
.visit-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 5vw, 4rem); }
.visit-grid .map { aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.visit-grid .map iframe { width: 100%; height: 100%; border: 0; display: block; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list .label { font-family: var(--sans); font-weight: 600; color: var(--coffee); min-width: 110px; letter-spacing: 0.5px; text-transform: uppercase; font-size: 0.78rem; padding-top: .15rem; }
.info-list .value { color: var(--body); font-size: 1.05rem; }
.info-list .value a { color: var(--red); }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: .35rem 0; font-size: 0.98rem; }
.hours-table td:first-child { color: var(--muted); width: 38%; }
.hours-table td:last-child { color: var(--coffee); font-weight: 500; }
@media (max-width: 800px) { .visit-grid { grid-template-columns: 1fr; } }

/* Menu page */
.menu-tabs { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin: 0 0 2.5rem; }
.menu-tabs button {
  font-family: var(--sans); font-weight: 600; font-size: 0.95rem;
  padding: .7rem 1.4rem; background: transparent; color: var(--coffee);
  border: 1px solid var(--line); border-radius: 100px; cursor: pointer;
  transition: all .15s ease;
}
.menu-tabs button.active { background: var(--coffee); color: var(--cream); border-color: var(--coffee); }
.menu-tabs button:hover:not(.active) { border-color: var(--coffee); }

.menu-image-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow);
}
.menu-image-wrap img { width: 100%; height: auto; border-radius: var(--radius); }
.menu-panel { display: none; }
.menu-panel.active { display: block; }

/* Footer */
.site-footer { background: var(--coffee); color: rgba(255,255,255,0.78); padding: 4rem 0 2rem; }
.site-footer h4 { color: var(--white); font-family: var(--sans); font-size: 0.78rem; letter-spacing: 4px; text-transform: uppercase; font-weight: 600; margin-bottom: 1.2rem; }
.site-footer .grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.site-footer a { color: rgba(255,255,255,0.78); }
.site-footer a:hover { color: var(--saffron); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .45rem 0; font-size: 0.95rem; }
.site-footer .brand-line { font-family: var(--serif); font-size: 1.6rem; color: var(--white); margin-bottom: .5rem; }
.site-footer .tagline { font-size: 0.95rem; max-width: 30ch; }
.site-footer .socials { display: flex; gap: .75rem; margin-top: 1.25rem; }
.site-footer .socials a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; transition: all .15s ease; }
.site-footer .socials a:hover { background: var(--saffron); border-color: var(--saffron); color: var(--coffee); }
.site-footer .socials svg { width: 18px; height: 18px; }
.site-footer .copyright { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 3rem; padding-top: 2rem; font-size: 0.85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
@media (max-width: 800px) { .site-footer .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .site-footer .grid { grid-template-columns: 1fr; } }

/* Utility */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-prose { max-width: 60ch; }
.divider { width: 60px; height: 3px; background: var(--saffron); border: 0; margin: 1.25rem 0 1.5rem; }
.text-center .divider { margin-left: auto; margin-right: auto; }
