:root {
  --max-width: 1140px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow-soft: 0 16px 45px rgba(0, 0, 0, 0.22);
  --transition-fast: 180ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}

.page {
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
}

.page-casa {
  --bg: #6a7758;
  --bg-soft: #778462;
  --bg-elev: #f4f6eb;
  --text: #f6f5ef;
  --text-dark: #2c3521;
  --muted: #d5dcc6;
  --accent: #eef2e0;
  --accent-strong: #ffffff;
  --line: rgba(240, 243, 230, 0.3);
}

.page-kasbah {
  --bg: #2e2e2e;
  --bg-soft: #3a3a3a;
  --bg-elev: #363636;
  --text: #e6c281;
  --text-dark: #1a1a1a;
  --muted: #c7a76e;
  --accent: #b78a49;
  --accent-strong: #f2d196;
  --line: rgba(187, 141, 74, 0.35);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vh, 2.5rem) 1rem;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-casa {
  background-color: #5d6a4b;
  background-image:
    linear-gradient(
      145deg,
      rgba(93, 106, 75, 0.5) 0%,
      rgba(93, 106, 75, 0.15) 45%,
      rgba(61, 71, 48, 0.6) 100%
    ),
    url("./assets/lacasa_bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-kasbah {
  background-color: #2e2e2e;
  background-image:
    linear-gradient(
      165deg,
      rgba(46, 46, 46, 0.65) 0%,
      rgba(46, 46, 46, 0.2) 42%,
      rgba(20, 20, 20, 0.82) 100%
    ),
    url("./assets/alkasbah_bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-casa .hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.18) 0%,
    transparent 38%,
    rgba(0, 0, 0, 0.32) 100%
  );
}

.page-kasbah .hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35) 0%,
    transparent 40%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
  text-align: center;
  padding: clamp(1.4rem, 3vw, 2.3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--bg-soft) 80%, transparent);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.page-casa .hero-content {
  background: color-mix(in srgb, #73825f 90%, rgba(28, 34, 22, 0.45));
}

.page-kasbah .hero-content {
  background: color-mix(in srgb, #3a3a3a 92%, rgba(0, 0, 0, 0.35));
}

.hero-logo {
  display: block;
  width: min(360px, 84%);
  height: auto;
  margin: 0 auto 0.4rem;
}

.hero-logo--primary {
  width: min(440px, 92%);
  margin-bottom: 0.75rem;
}

.hours-live {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.55rem;
  max-width: 100%;
  margin: 0 auto 1rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-md);
  text-align: left;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-soft) 55%, transparent);
}

.hours-live--pending .hours-live-dot {
  background: #94a3b8;
}

.hours-live--open .hours-live-dot {
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.35);
}

.hours-live--closed .hours-live-dot {
  background: #f87171;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.3);
}

.hours-live-dot {
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.35rem;
  border-radius: 50%;
}

.hours-live-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.hours-live-label {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--accent-strong);
}

.hours-live-detail {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  opacity: 0.92;
}

.kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0.6rem 0 0.8rem;
  line-height: 1.18;
}

.page-casa h1,
.page-casa h2,
.page-casa h3 {
  font-family: "Cormorant Garamond", serif;
  color: var(--accent-strong);
}

.page-kasbah h1,
.page-kasbah h2,
.page-kasbah h3 {
  font-family: "Cinzel", serif;
  color: var(--accent-strong);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
}

h3 {
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
}

.hero-text {
  max-width: 62ch;
  margin: 0 auto 1.3rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.72rem;
}

.cross-site {
  width: 100%;
  margin-top: 1.1rem;
  display: flex;
  justify-content: center;
}

.btn-cross-site {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 22rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.btn-cross-site:hover {
  transform: translateY(-2px);
}

.page-casa .btn-cross-site {
  background: linear-gradient(145deg, #1f1f1f 0%, #3a3a3a 100%);
  color: #f2d196;
  border: 1px solid rgba(242, 209, 150, 0.38);
}

.page-kasbah .btn-cross-site {
  background: linear-gradient(145deg, #4d5a3d 0%, #6b7a56 100%);
  color: #faf9f4;
  border: 1px solid rgba(244, 246, 235, 0.35);
}

.btn-cross-site-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.btn-cross-site-eyebrow {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.88;
}

.btn-cross-site-name {
  margin-top: 0.2rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.page-casa .btn-cross-site-name {
  font-family: "Cormorant Garamond", serif;
}

.page-kasbah .btn-cross-site-name {
  font-family: "Cinzel", serif;
}

.btn-cross-site-tag {
  margin-top: 0.15rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.82;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.68rem 1.06rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent-strong);
  color: var(--text-dark);
}

.btn-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--accent-strong);
}

.btn-ghost {
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  border-color: color-mix(in srgb, var(--accent) 50%, transparent);
  color: var(--accent-strong);
}

.section {
  width: min(var(--max-width), 92%);
  margin: clamp(2.4rem, 5vw, 4rem) auto 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 1.5rem;
}

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

.menu-card {
  padding: 1rem 1rem 0.7rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-soft) 72%, transparent);
}

.menu-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-card li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: clamp(0.65rem, 2vw, 1rem);
  align-items: start;
  padding: 0.58rem 0;
  border-bottom: 1px dashed var(--line);
}

.menu-card li > span:first-child {
  min-width: 0;
}

.menu-card li:last-child {
  border-bottom: 0;
}

.menu-item-desc {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
  opacity: 0.88;
}

.menu-disclaimer {
  margin: 0.85rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--line);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.45;
  opacity: 0.92;
}

.menu-card-intro {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.9;
}

.menu-card-intro:last-child {
  margin-bottom: 0;
}

.menu-card--textonly .menu-card-intro {
  margin-bottom: 0.85rem;
}

.menu-card-subtitle {
  margin: 1rem 0 0.6rem;
  padding-top: 0.65rem;
  border-top: 1px dashed var(--line);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
}

.page-casa .menu-card-subtitle {
  font-family: "Cormorant Garamond", serif;
}

.page-kasbah .menu-card-subtitle {
  font-family: "Cinzel", serif;
}

.menu-card strong {
  color: var(--accent-strong);
  white-space: nowrap;
  justify-self: end;
  text-align: right;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
}

.contact {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1rem;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem;
  background: color-mix(in srgb, var(--bg-soft) 76%, transparent);
}

.contact-block > p:last-of-type {
  margin-bottom: 1rem;
}

.contact-address {
  margin: 0 0 1.1rem;
  font-style: normal;
}

.contact-address-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0.35rem;
  color: var(--muted);
}

.contact-address-link {
  color: var(--accent-strong);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--accent-strong) 45%, transparent);
}

.contact-address-link:hover {
  border-bottom-color: var(--accent-strong);
}

.hours-static {
  padding-top: 0.5rem;
  border-top: 1px dashed var(--line);
}

.hours-static-title {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
}

.page-casa .hours-static-title {
  font-family: "Cormorant Garamond", serif;
}

.page-kasbah .hours-static-title {
  font-family: "Cinzel", serif;
}

.hours-dl {
  margin: 0;
}

.hours-dl-row {
  display: grid;
  grid-template-columns: minmax(0, 7.5rem) 1fr;
  gap: 0.75rem 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.92rem;
}

.hours-dl-row:last-child {
  border-bottom: 0;
}

.hours-dl dt {
  margin: 0;
  font-weight: 700;
  color: var(--muted);
}

.hours-dl dd {
  margin: 0;
  font-weight: 600;
}

.hours-static-note {
  margin: 0.75rem 0 0;
  font-size: 0.72rem;
  opacity: 0.85;
  line-height: 1.4;
}

.contact-actions {
  display: grid;
  gap: 0.72rem;
}

.site-footer {
  width: min(var(--max-width), 92%);
  margin: 2rem auto 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem;
  color: var(--muted);
}

.btn:focus-visible,
.btn-cross-site:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 2px;
}

@media (max-width: 930px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .hero-content {
    padding: 1rem;
  }

  .btn {
    width: 100%;
  }

  .btn-cross-site {
    max-width: none;
  }

  .hours-dl-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}
