/* egypt-museum.cyou — Egypt Museum Reviews LLC · Cairo
   Coral + slate · two-tier header · card-overlay hero · emrv- */

:root {
  --emrv-coral: #c45c3e;
  --emrv-coral-dk: #9e452e;
  --emrv-slate: #3d4f5f;
  --emrv-slate-dk: #2a3640;
  --emrv-cream: #faf7f2;
  --emrv-paper: #ffffff;
  --emrv-ink: #22282e;
  --emrv-muted: #6b7280;
  --emrv-line: #d8d0c6;
  --emrv-r: 8px;
  --emrv-max: 1140px;
  --emrv-font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --emrv-mono: "SF Mono", Consolas, "Liberation Mono", monospace;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--emrv-font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--emrv-ink);
  background: var(--emrv-cream);
}

h1, h2, h3, h4 {
  font-family: var(--emrv-font);
  font-weight: 800;
  color: var(--emrv-slate-dk);
  line-height: 1.2;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
}

p { margin: 0 0 1.1rem; }

a { color: var(--emrv-coral); }

a:hover {
  color: var(--emrv-slate);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

:focus-visible {
  outline: 2px solid var(--emrv-coral);
  outline-offset: 2px;
}

.emrv-box {
  max-width: var(--emrv-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Two-tier header */
.emrv-strip {
  background: var(--emrv-slate-dk);
  color: #aeb8c2;
  font-size: 0.82rem;
  padding: 6px 0;
}

.emrv-strip__inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.emrv-strip a { color: #e8dcc8; text-decoration: none; }

.emrv-strip a:hover { text-decoration: underline; }

.emrv-top {
  background: var(--emrv-paper);
  border-bottom: 2px solid var(--emrv-line);
  position: sticky;
  top: 0;
  z-index: 90;
}

.emrv-top__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}

.emrv-id {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--emrv-slate-dk);
  font-weight: 800;
}

.emrv-id__sq {
  width: 34px;
  height: 34px;
  background: var(--emrv-coral);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-family: var(--emrv-mono);
  border-radius: var(--emrv-r);
}

.emrv-menu {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2px;
  align-items: center;
}

.emrv-menu a {
  text-decoration: none;
  color: var(--emrv-ink);
  padding: 8px 11px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--emrv-r);
}

.emrv-menu a:hover,
.emrv-menu a.is-cur {
  background: rgba(196, 92, 62, 0.1);
  color: var(--emrv-coral-dk);
}

.emrv-menu a.emrv-menu__go {
  background: var(--emrv-coral);
  color: #fff;
  margin-left: 6px;
}

.emrv-menu a.emrv-menu__go:hover {
  background: var(--emrv-coral-dk);
  color: #fff;
  text-decoration: none;
}

.emrv-burger {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px;
}

.emrv-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--emrv-slate);
  margin: 5px 0;
}

/* Card-overlay hero */
.emrv-cover {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 20px 0;
  margin-bottom: 56px;
}

.emrv-cover__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.emrv-cover__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42, 54, 64, 0.88) 0%, rgba(42, 54, 64, 0.35) 50%, rgba(42, 54, 64, 0.2) 100%);
  z-index: 1;
}

.emrv-cover__card {
  position: relative;
  z-index: 2;
  background: var(--emrv-paper);
  max-width: 720px;
  width: 100%;
  margin-bottom: -48px;
  padding: 32px 28px;
  border: 2px solid var(--emrv-line);
  border-top: 4px solid var(--emrv-coral);
}

.emrv-cover__card .emrv-tag {
  font-family: var(--emrv-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--emrv-coral);
  font-weight: 700;
}

/* Soft rounded buttons + underline ghost */
.emrv-linkbtn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: var(--emrv-r);
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 0.92rem;
  font-family: inherit;
}

.emrv-linkbtn--solid {
  background: var(--emrv-coral);
  color: #fff;
}

.emrv-linkbtn--solid:hover {
  background: var(--emrv-coral-dk);
  color: #fff;
  text-decoration: none;
}

.emrv-linkbtn--line {
  background: transparent;
  color: var(--emrv-slate-dk);
  border: 2px solid var(--emrv-slate);
}

.emrv-linkbtn--line:hover {
  text-decoration: underline;
}

.emrv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}

/* Hard-edge flat cards */
.emrv-block { padding: 48px 0; }

.emrv-block--white { background: var(--emrv-paper); }

.emrv-block__head { max-width: 60ch; margin-bottom: 24px; }

.emrv-flatgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.emrv-flat {
  border: 2px solid var(--emrv-slate);
  background: var(--emrv-paper);
}

.emrv-flat img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-bottom: 2px solid var(--emrv-slate);
}

.emrv-flat__txt { padding: 16px 18px 20px; }

.emrv-flat__txt h3 { font-size: 1rem; }

.emrv-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.emrv-faq details {
  border: 2px solid var(--emrv-line);
  margin-bottom: 8px;
  padding: 12px 16px;
  background: var(--emrv-paper);
}

.emrv-faq summary { cursor: pointer; font-weight: 700; }

.emrv-table {
  width: 100%;
  border-collapse: collapse;
  border: 2px solid var(--emrv-slate);
}

.emrv-table th,
.emrv-table td {
  border: 1px solid var(--emrv-line);
  padding: 10px 12px;
  text-align: left;
}

.emrv-table th {
  background: var(--emrv-slate);
  color: #fff;
}

.emrv-input label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 4px;
}

.emrv-input input,
.emrv-input select,
.emrv-input textarea {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid var(--emrv-line);
  border-radius: var(--emrv-r);
  margin-bottom: 14px;
  font: inherit;
}

.emrv-input textarea { min-height: 120px; resize: vertical; }

.emrv-input__note { font-weight: 700; color: var(--emrv-coral-dk); }

.emrv-band {
  background: var(--emrv-slate);
  color: #fff;
  text-align: center;
  padding: 40px 20px;
}

.emrv-band a { color: var(--emrv-coral); }

.emrv-page { padding: 40px 0 16px; }

.emrv-page h1 { font-size: clamp(1.85rem, 4vw, 2.4rem); }

.emrv-text { max-width: 68ch; }

.emrv-text--wide { max-width: none; }

.emrv-people {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.emrv-people figure {
  margin: 0;
  border: 2px solid var(--emrv-slate);
  padding: 14px;
  text-align: center;
}

.emrv-people img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  margin: 0 auto 8px;
  border: 2px solid var(--emrv-line);
}

.emrv-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.emrv-plan {
  border: 2px solid var(--emrv-line);
  padding: 24px 18px;
  background: var(--emrv-paper);
}

.emrv-plan--top {
  border-color: var(--emrv-coral);
  border-width: 3px;
}

.emrv-plan__usd {
  font-size: 2rem;
  font-weight: 800;
  color: var(--emrv-coral);
}

/* Minimal horizontal footer */
.emrv-end {
  background: var(--emrv-slate-dk);
  color: #b0b8c0;
  margin-top: 40px;
  padding: 28px 0 20px;
  font-size: 0.88rem;
}

.emrv-end a { color: #e8c4b0; }

.emrv-end__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.emrv-end__links a { text-decoration: none; font-weight: 600; }

.emrv-end__links a:hover { text-decoration: underline; }

.emrv-end address {
  font-style: normal;
  line-height: 1.6;
  margin-bottom: 12px;
}

.emrv-end__copy { opacity: 0.75; font-size: 0.8rem; }

@media (max-width: 960px) {
  .emrv-flatgrid, .emrv-plans, .emrv-people { grid-template-columns: 1fr 1fr; }
  .emrv-duo { grid-template-columns: 1fr; }
}

@media (max-width: 740px) {
  .emrv-burger { display: block; }
  .emrv-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--emrv-paper);
    flex-direction: column;
    padding: 12px;
    border-bottom: 2px solid var(--emrv-line);
  }
  .emrv-menu.is-open { display: flex; }
  .emrv-top { position: relative; }
  .emrv-flatgrid, .emrv-plans, .emrv-people { grid-template-columns: 1fr; }
  .emrv-cover { min-height: 380px; }
}

@media (max-width: 480px) {
  .emrv-strip__inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
