/* Family Visit Field Notes — warm editorial Egypt guides for families */
:root {
  --ink: #2c3338;
  --ink-soft: #4a5560;
  --teal: #2d6a6a;
  --teal-deep: #1f4f4f;
  --sage: #5a7d6a;
  --coral: #d96a4a;
  --coral-soft: #e8957a;
  --sand: #f5ebe0;
  --cream: #fdf9f4;
  --line: #e8ddd0;
  --muted: #7a8694;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --serif: 'Fraunces', Georgia, serif;
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1120px;
  --read: 660px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--ink); background: var(--cream); line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--coral); }

.shell { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

/* Header */
.bar { background: var(--cream); border-bottom: 2px solid var(--sand); position: sticky; top: 0; z-index: 50; }
.bar__inner { display: flex; align-items: center; justify-content: space-between; padding: .9rem 0; gap: 1rem; }
.logo { display: flex; align-items: center; gap: .6rem; color: var(--ink); }
.logo__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }
.logo__text { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.logo__sub { font-size: .65rem; text-transform: uppercase; letter-spacing: .14em; color: var(--sage); font-weight: 700; }
.nav { display: flex; gap: 1.5rem; list-style: none; }
.nav a { font-size: .82rem; font-weight: 600; color: var(--muted); }
.nav a.is-on, .nav a:hover { color: var(--teal); }
.burger { display: none; background: var(--sand); border: none; padding: .45rem .7rem; border-radius: var(--radius-sm); font-size: .75rem; font-weight: 700; cursor: pointer; color: var(--teal); }

/* Hero — soft wave split */
.intro { background: linear-gradient(165deg, var(--sand) 55%, var(--cream) 55%); padding: 3.5rem 0 4rem; }
.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.intro__pill { display: inline-block; background: #fff; border: 1px solid var(--line); padding: .35rem .85rem; border-radius: 100px; font-size: .72rem; font-weight: 700; color: var(--sage); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.intro h1 { font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.1; font-weight: 600; margin-bottom: 1rem; color: var(--ink); }
.intro__text { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 1.5rem; max-width: 440px; }
.intro__link { display: inline-flex; align-items: center; gap: .4rem; background: var(--teal); color: #fff; padding: .75rem 1.35rem; border-radius: 100px; font-size: .82rem; font-weight: 700; }
.intro__link:hover { background: var(--teal-deep); color: #fff; }
.intro__photo { border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px rgba(45,106,106,.15); }
.intro__photo img { aspect-ratio: 5/4; object-fit: cover; width: 100%; }

/* Age chips row */
.chips { padding: 1.5rem 0 3rem; }
.chips__row { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: center; }
.chip { padding: .45rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 100px; font-size: .78rem; font-weight: 600; color: var(--ink-soft); }
.chip--coral { border-color: var(--coral-soft); color: var(--coral); background: #fff8f5; }

/* Guide cards — rounded stack */
.stack { padding: 2rem 0 4.5rem; }
.stack__top { text-align: center; max-width: 540px; margin: 0 auto 2.5rem; }
.stack__top h2 { font-family: var(--serif); font-size: 1.85rem; margin-bottom: .6rem; }
.stack__top p { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.35rem; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(44,51,56,.08); }
.card--wide { grid-column: span 2; display: grid; grid-template-columns: 1.1fr 1fr; }
.card__img { overflow: hidden; }
.card__img img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; transition: transform .4s; }
.card:hover .card__img img { transform: scale(1.03); }
.card__body { padding: 1.35rem; }
.card__ages { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--coral); margin-bottom: .35rem; }
.card__city { font-size: .72rem; color: var(--sage); font-weight: 600; }
.card h3 { font-family: var(--serif); font-size: 1.1rem; margin: .35rem 0 .55rem; line-height: 1.3; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--teal); }
.card p { font-size: .86rem; color: var(--muted); }
.card__time { font-size: .72rem; color: var(--muted); margin-top: .75rem; }

/* Tip band */
.tip { background: var(--teal); color: #fff; padding: 3.5rem 0; margin: 1rem 0 0; }
.tip__inner { max-width: 640px; margin: 0 auto; text-align: center; padding: 0 1.25rem; }
.tip h2 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: .75rem; font-weight: 500; }
.tip p { opacity: .9; font-size: .95rem; }

/* Article */
.guide { padding-bottom: 4rem; }
.guide__hero { height: 38vh; min-height: 260px; max-height: 420px; overflow: hidden; position: relative; }
.guide__hero img { width: 100%; height: 100%; object-fit: cover; }
.guide__hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--cream), transparent 55%); }
.guide__main { margin-top: -2.5rem; position: relative; z-index: 2; }
.trail { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 1rem; }
.guide-head { max-width: var(--read); margin-bottom: 2rem; }
.guide-head__ages { display: inline-block; background: #fff8f5; color: var(--coral); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: .3rem .7rem; border-radius: 100px; margin-bottom: .6rem; }
.guide-head h1 { font-family: var(--serif); font-size: clamp(1.75rem, 3.5vw, 2.5rem); line-height: 1.15; margin-bottom: .75rem; }
.guide-head__meta { font-size: .82rem; color: var(--muted); }
.guide-layout { display: grid; grid-template-columns: 1fr 200px; gap: 2.5rem; align-items: start; }
.copy { max-width: var(--read); }
.copy .lead { font-family: var(--serif); font-size: 1.15rem; font-style: italic; color: var(--ink-soft); margin-bottom: 1.75rem; line-height: 1.8; }
.copy h2 { font-family: var(--serif); font-size: 1.35rem; color: var(--teal); margin: 2rem 0 .75rem; }
.copy p { margin-bottom: 1rem; color: #445058; }
.copy ul { margin: 0 0 1rem 1.2rem; color: #445058; }
.copy li { margin-bottom: .4rem; }
.note { background: var(--sand); border-radius: var(--radius-sm); padding: 1.15rem 1.25rem; margin: 1.5rem 0; border-left: 4px solid var(--coral); }
.note strong { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--coral); margin-bottom: .35rem; }
.note p { margin: 0; font-size: .9rem; }
.rail { position: sticky; top: 5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.1rem; }
.rail h3 { font-size: .65rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: .7rem; }
.rail a { display: block; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .84rem; font-weight: 600; color: var(--ink); }
.rail a:last-child { border-bottom: none; }

/* Static */
.page { padding: 3.5rem 0 4.5rem; }
.page h1 { font-family: var(--serif); font-size: 2.2rem; margin-bottom: .75rem; }
.page-lead { color: var(--muted); margin-bottom: 2rem; max-width: 560px; }
.page h2 { font-family: var(--serif); font-size: 1.25rem; color: var(--teal); margin: 1.75rem 0 .6rem; }
.page p { margin-bottom: .9rem; color: #445058; max-width: 600px; }
.page ul { margin: 0 0 1rem 1.2rem; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.form { display: grid; gap: 1rem; max-width: 440px; }
.form label { display: grid; gap: .3rem; font-size: .84rem; font-weight: 600; }
.form input, .form textarea { padding: .75rem; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; background: #fff; }
.btn { background: var(--teal); color: #fff; border: none; padding: .75rem 1.3rem; border-radius: 100px; font-weight: 700; font-size: .82rem; cursor: pointer; }
.btn:hover { background: var(--teal-deep); }

/* Footer */
.end { background: var(--ink); color: rgba(255,255,255,.75); padding: 3rem 0 1.25rem; margin-top: 2rem; }
.end__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding-bottom: 1.75rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.end strong { font-family: var(--serif); font-size: 1.1rem; color: #fff; display: block; margin-bottom: .4rem; }
.end p { font-size: .84rem; opacity: .7; }
.end h4 { font-size: .62rem; text-transform: uppercase; letter-spacing: .12em; color: var(--coral-soft); margin-bottom: .65rem; }
.end a { color: rgba(255,255,255,.7); font-size: .84rem; display: block; margin-bottom: .35rem; }
.end a:hover { color: #fff; }
.end__copy { display: flex; justify-content: space-between; padding-top: 1rem; font-size: .72rem; opacity: .4; flex-wrap: wrap; gap: .5rem; }

@media (max-width: 900px) {
  .intro__grid, .card--wide, .cards, .guide-layout, .end__grid, .cols { grid-template-columns: 1fr; }
  .card--wide { display: block; }
}
@media (max-width: 768px) {
  .burger { display: block; }
  .nav { display: none; position: fixed; inset: 0 0 0 25%; background: var(--cream); flex-direction: column; padding: 5rem 1.25rem; z-index: 40; border-left: 2px solid var(--sand); }
  .nav.is-open { display: flex; }
}
