/* TD travel for all — Egypt travel desk homepage */
:root {
  --sand: #f4efe6;
  --sand-deep: #e6dccb;
  --ivory: #fbf8f2;
  --paper: #fffdf8;
  --ink: #1a1612;
  --ink-soft: #3a322a;
  --muted: #6a5d51;
  --line: rgba(26, 22, 18, 0.12);
  --gold: #c4a46a;
  --gold-deep: #8d6a35;
  --nile: #1e4a4c;
  --nile-deep: #123033;
  --nile-soft: #2c6264;
  --terracotta: #9c4a32;
  --shadow: 0 18px 40px rgba(18, 48, 51, 0.12);
  --radius: 18px;
  --font-zh-display: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --font-en-display: "Cormorant Garamond", "Noto Serif SC", Georgia, serif;
  --font-zh: "Noto Sans SC", "Source Sans 3", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-en: "Source Sans 3", "Noto Sans SC", system-ui, sans-serif;
  --max: 1120px;
  --header-h: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-zh);
  font-size: 1.05rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  text-wrap: pretty;
  min-height: 100%;
}
html[data-lang="en"] body,
html[data-lang="es"] body { font-family: var(--font-en); letter-spacing: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, .display {
  font-family: var(--font-zh-display);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
  margin: 0;
}
html[data-lang="en"] h1,
html[data-lang="en"] h2,
html[data-lang="en"] h3,
html[data-lang="en"] .display,
html[data-lang="es"] h1,
html[data-lang="es"] h2,
html[data-lang="es"] h3,
html[data-lang="es"] .display {
  font-family: var(--font-en-display);
  letter-spacing: 0.01em;
}

html[data-lang="zh"] .en,
html[data-lang="zh"] .es { display: none !important; }
html[data-lang="en"] .zh,
html[data-lang="en"] .es { display: none !important; }
html[data-lang="es"] .zh,
html[data-lang="es"] .en { display: none !important; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--nile-deep);
  color: var(--ivory);
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 239, 230, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-en-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.brand-tag {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav a:hover { color: var(--nile); }
.header-tools { display: flex; align-items: center; gap: 0.75rem; }
.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 0.15rem;
}
.lang-btn {
  border: 0;
  background: transparent;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}
.lang-btn[aria-pressed="true"] {
  background: var(--nile-deep);
  color: var(--ivory);
}
.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.6rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-btn span {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: var(--ink);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: #d4b67c; }
.btn-nile { background: var(--nile); color: var(--ivory); }
.btn-nile:hover { background: var(--nile-soft); }
.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(251, 248, 242, 0.45);
}
.btn-ghost:hover { background: rgba(251, 248, 242, 0.1); }
.btn-outline {
  background: transparent;
  color: var(--nile-deep);
  border-color: rgba(18, 48, 51, 0.25);
}
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 46rem);
  display: grid;
  align-items: end;
  color: var(--ivory);
  overflow: hidden;
  background: var(--nile-deep);
}
.hero-media, .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-media img { object-fit: cover; position: absolute; }
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 16, 12, 0.18) 0%, rgba(18, 16, 12, 0.18) 35%, rgba(12, 20, 22, 0.82) 100%),
    linear-gradient(90deg, rgba(12, 20, 22, 0.55) 0%, rgba(12, 20, 22, 0.15) 55%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 3.8rem;
  max-width: 42rem;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
}
.kicker::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: var(--gold);
}
.hero h1 {
  font-size: clamp(2.15rem, 5.4vw, 3.85rem);
  color: var(--ivory);
  margin-bottom: 1.1rem;
  text-wrap: balance;
}
.lede {
  font-size: 1.08rem;
  color: rgba(251, 248, 242, 0.86);
  max-width: 38rem;
  margin: 0 0 1.8rem;
}

/* Sections */
.section { padding: 5rem 0; }
.section-head {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 2.4rem;
  max-width: 40rem;
}
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
.section-head p { margin: 0; color: var(--muted); }
.eyebrow {
  color: var(--gold-deep);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.services { background: var(--ivory); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.5rem;
}
.icon {
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--gold);
  border-radius: 0.8rem;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--nile);
}
.icon svg { width: 1.25rem; height: 1.25rem; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 0.45rem; }
.service-card p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* Destinations */
.destinations { background: var(--sand); }
.dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.dest-card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(18, 48, 51, 0.05);
}
.dest-card .photo {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--nile-deep);
}
.dest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.dest-card:hover img { transform: scale(1.04); }
.dest-card .body { padding: 1.15rem 1.15rem 1.3rem; }
.dest-card h3 { font-size: 1.22rem; margin-bottom: 0.4rem; }
.dest-card p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* Why */
.why { background: var(--nile-deep); color: var(--ivory); }
.why .eyebrow { color: var(--gold); }
.why .section-head p { color: rgba(251, 248, 242, 0.7); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}
.why-card {
  border: 1px solid rgba(196, 164, 106, 0.28);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem;
  background: rgba(255, 253, 248, 0.03);
}
.why-card h3 { font-size: 1.2rem; margin-bottom: 0.45rem; color: var(--gold); }
.why-card p { margin: 0; color: rgba(251, 248, 242, 0.8); }

/* Process */
.process { background: var(--ivory); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  position: relative;
}
.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.3rem 1.6rem;
  position: relative;
}
.step-num {
  font-family: var(--font-en-display);
  font-size: 2rem;
  color: var(--gold-deep);
  line-height: 1;
  margin-bottom: 0.7rem;
}
.step h3 { font-size: 1.25rem; margin-bottom: 0.45rem; }
.step p { margin: 0; color: var(--muted); }

/* Contact */
.contact { background: var(--sand); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}
.email-link {
  display: inline-block;
  font-family: var(--font-en);
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  font-weight: 600;
  color: var(--nile-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  margin: 1rem 0 1.2rem;
}
.email-link:hover { color: var(--nile); }
.note { color: var(--muted); margin: 0; font-size: 0.95rem; }
.form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: grid;
  gap: 0.85rem;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
label { display: grid; gap: 0.35rem; font-size: 0.86rem; font-weight: 600; color: var(--ink-soft); }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--ivory);
  border-radius: 0.7rem;
  padding: 0.7rem 0.8rem;
  outline: none;
}
input:focus, textarea:focus { border-color: var(--nile-soft); box-shadow: 0 0 0 3px rgba(30, 74, 76, 0.15); }
textarea { min-height: 8rem; resize: vertical; }
.form-hint { margin: 0; color: var(--muted); font-size: 0.82rem; font-weight: 400; }

/* Footer */
.site-footer {
  background: var(--nile-deep);
  color: rgba(251, 248, 242, 0.78);
  padding: 2.4rem 0 2.6rem;
  font-size: 0.88rem;
}
.footer-inner { display: grid; gap: 1.1rem; }
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: baseline;
}
.footer-legal { font-family: var(--font-en); }
.credits { color: rgba(251, 248, 242, 0.6); }
.credits a { color: var(--gold); text-decoration: none; }
.credits a:hover { text-decoration: underline; }
.credits ul { margin: 0.4rem 0 0; padding-left: 1.1rem; }

/* Responsive */
@media (max-width: 900px) {
  .service-grid, .dest-grid, .steps { grid-template-columns: 1fr 1fr; }
  .contact-grid, .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .wrap { width: min(var(--max), calc(100% - 1.6rem)); }
  .brand { gap: 0.5rem; min-width: 0; }
  .brand-name { font-size: 0.98rem; letter-spacing: 0.01em; }
  .menu-btn { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: var(--header-h);
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 1.3rem 1.1rem;
    gap: 0.85rem;
  }
  .nav.open { display: flex; }
  .service-grid, .dest-grid, .steps, .form-row { grid-template-columns: 1fr; }
  .hero { min-height: min(88vh, 40rem); }
  .section { padding: 3.6rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .dest-card img { transition: none; }
}
