:root {
  --oro:    #C9A46A;
  --oro-pl: #F5EDD8;
  --nilo:   #1E5F78;
  --nilo-d: #0F3344;
  --nilo-l: #D4EBF5;
  --papel:  #FDFAF3;
  --tinta:  #1C1208;
  --gris:   #5A4F42;
  --gris-l: #9A8C7E;
  --ok:     #2A7A50;
  --r:      8px;
  --sh:     0 2px 12px rgba(0,0,0,.10);
  --sh-md:  0 4px 24px rgba(0,0,0,.13);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 16px; line-height: 1.72;
  color: var(--tinta); background: var(--papel);
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--nilo); }
a:hover { text-decoration: underline; }
p { margin-bottom: 1rem; }
strong { font-weight: 700; }
ul { padding-left: 1.4rem; }
li { margin-bottom: .35rem; }

.sans { font-family: 'Segoe UI', system-ui, Arial, sans-serif; }
h2 { font-family: Georgia, serif; font-size: 1.45rem; line-height: 1.2; color: var(--tinta); margin-bottom: 1rem; }
h3 { font-family: Georgia, serif; font-size: 1.1rem; color: var(--nilo-d); margin: 1.4rem 0 .5rem; line-height: 1.2; }

.eyebrow {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--oro); display: block; margin-bottom: .4rem;
}

/* -- NAV -- */
.nav {
  background: var(--nilo-d); padding: .75rem 1.1rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; position: sticky; top: 0; z-index: 100;
}
.nav-logo {
  font-family: Georgia, serif; font-size: 1.05rem;
  font-weight: 700; color: #fff; text-decoration: none;
  white-space: nowrap; flex-shrink: 0;
}
.nav-logo span { color: var(--oro); }
.nav-links {
  display: flex; gap: .5rem; flex-wrap: wrap; justify-content: flex-end;
}
.nav-links a {
  font-family: 'Segoe UI', sans-serif; font-size: .72rem;
  font-weight: 600; color: rgba(255,255,255,.75);
  text-decoration: none; padding: .3rem .55rem;
  border-radius: 4px; white-space: nowrap;
  transition: background .15s;
}
.nav-links a:hover { background: rgba(255,255,255,.1); color: #fff; text-decoration: none; }

/* -- HERO -- */
.hero {
  background: linear-gradient(160deg, #051820 0%, #0F3344 40%, #1A5010 80%, #0B2A0A 100%);
  color: #fff; padding: 3rem 1.25rem 2.5rem;
  text-align: center; position: relative; overflow: hidden;
}
/* patrón jeroglífico decorativo */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 L35 20 L50 20 L38 29 L43 44 L30 35 L17 44 L22 29 L10 20 L25 20Z' fill='none' stroke='%23C9A46A' stroke-width='.6' opacity='.08'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 32px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 32'%3E%3Cpath d='M0 16 Q300 0 600 16 Q900 32 1200 16 L1200 32 L0 32Z' fill='%23FDFAF3'/%3E%3C/svg%3E") no-repeat bottom center / cover;
}
.hero-eyebrow {
  font-family: 'Segoe UI', sans-serif; font-size: .72rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--oro); margin-bottom: 1rem;
}
.hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(1.7rem, 6vw, 3rem);
  font-weight: 700; line-height: 1.15; margin-bottom: .9rem;
  text-wrap: balance; position: relative;
}
.hero h1 em { font-style: normal; color: var(--oro); }
.hero-desc {
  font-family: 'Segoe UI', sans-serif; font-size: .98rem;
  color: rgba(255,255,255,.78); margin-bottom: 1.75rem;
  text-wrap: balance; position: relative; max-width: 560px; margin-left: auto; margin-right: auto;
}
/* chips */
.chips { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-bottom: 1.75rem; position: relative; }
.chip {
  font-family: 'Segoe UI', sans-serif; font-size: .7rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.85); padding: .26rem .7rem;
  border-radius: 2rem; white-space: nowrap;
}
/* stats hero */
.hero-stats {
  display: flex; flex-wrap: wrap; gap: .75rem;
  justify-content: center; margin-bottom: 1.75rem; position: relative;
}
.hero-stat {
  background: rgba(255,255,255,.07); border: 1px solid rgba(201,164,106,.25);
  border-radius: var(--r); padding: .65rem 1rem; min-width: 100px; text-align: center;
}
.hero-stat-num {
  font-family: Georgia, serif; font-size: 1.5rem; font-weight: 700;
  color: var(--oro); line-height: 1;
}
.hero-stat-lbl {
  font-family: 'Segoe UI', sans-serif; font-size: .68rem;
  color: rgba(255,255,255,.6); margin-top: .2rem;
}
/* btn hero */
.btn {
  display: block; width: 100%; text-align: center;
  font-family: 'Segoe UI', sans-serif; font-weight: 700;
  font-size: 1rem; padding: .9rem 1.5rem; border-radius: 6px;
  text-decoration: none; transition: opacity .2s;
}
.btn:hover { opacity: .88; text-decoration: none; }
.btn-oro { background: var(--oro); color: var(--tinta); }
.btn-outline { background: transparent; border: 2px solid rgba(201,164,106,.55); color: var(--oro); margin-top: .55rem; }
.hero-btns { position: relative; margin-bottom: 1.5rem; }
.hero-nota {
  font-family: 'Segoe UI', sans-serif; font-size: .78rem;
  color: rgba(255,255,255,.45); position: relative; padding-bottom: 2rem;
}

/* -- CONTENEDOR -- */
.container { max-width: 960px; margin: 0 auto; padding: 0 1.1rem; }

/* -- SECCIONES -- */
.seccion { padding: 2.5rem 0; border-bottom: 1px solid #E8DFCC; }
.seccion:last-of-type { border-bottom: none; }
.seccion-header { text-align: center; margin-bottom: 1.5rem; }
.seccion-header h2 { margin-bottom: .4rem; }
.seccion-header p {
  font-family: 'Segoe UI', sans-serif; font-size: .92rem;
  color: var(--gris); margin: 0;
}

/* -- CARDS DE EXCURSIONES -- */
.excursiones-grid {
  display: flex; flex-direction: column; gap: 1.5rem;
}
.exc-card {
  background: #fff; border-radius: var(--r);
  box-shadow: var(--sh-md); overflow: hidden;
}
/* banda de color superior */
.exc-banda {
  height: 5px; width: 100%;
  display: block;
}
.banda-nilo   { background: linear-gradient(90deg, #0F3344, #1E5F78); }
.banda-cairo  { background: linear-gradient(90deg, #1A1008, #4A2E08); }
.banda-giza   { background: linear-gradient(90deg, #2A1A05, #6B4010); }
.banda-luxor  { background: linear-gradient(90deg, #0D3020, #1A5C3A); }

.exc-body { padding: 1.25rem; }
.exc-meta {
  display: flex; flex-wrap: wrap; gap: .4rem;
  align-items: center; margin-bottom: .75rem;
}
.exc-num {
  font-family: Georgia, serif; font-size: 1.6rem; font-weight: 700;
  color: var(--oro); line-height: 1; margin-right: .35rem;
}
.exc-badge {
  font-family: 'Segoe UI', sans-serif; font-size: .68rem; font-weight: 700;
  padding: .18rem .55rem; border-radius: 3px;
  background: var(--nilo-l); color: var(--nilo-d);
}
.exc-badge.rec { background: #FFF3CC; color: #7A5500; }
.exc-card h3 {
  font-family: Georgia, serif; font-size: 1.15rem;
  color: var(--tinta); margin: 0 0 .5rem; line-height: 1.25;
}
.exc-card h3 a { color: var(--tinta); text-decoration: none; }
.exc-card h3 a:hover { color: var(--nilo); }
.exc-desc {
  font-family: 'Segoe UI', sans-serif; font-size: .88rem;
  color: var(--gris); margin-bottom: .9rem;
}
.exc-chips { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: 1rem; }
.exc-chip {
  font-family: 'Segoe UI', sans-serif; font-size: .7rem;
  background: var(--oro-pl); border: 1px solid #D9C49A;
  color: var(--gris); padding: .15rem .5rem; border-radius: 3px;
}
.exc-footer {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: .75rem;
  padding-top: .9rem; border-top: 1px solid #F0EAE0;
}
.exc-precio-bloque {}
.exc-precio-antes {
  font-family: 'Segoe UI', sans-serif; font-size: .78rem;
  color: var(--gris-l); text-decoration: line-through;
}
.exc-precio {
  font-family: Georgia, serif; font-size: 1.4rem; font-weight: 700;
  color: var(--tinta); line-height: 1;
}
.exc-precio small { font-size: .78rem; font-weight: 400; color: var(--gris-l); font-family: 'Segoe UI', sans-serif; }
.exc-desc-precio {
  font-family: 'Segoe UI', sans-serif; font-size: .68rem;
  color: var(--ok); font-weight: 700;
}
.exc-rating {
  font-family: 'Segoe UI', sans-serif; font-size: .8rem;
  color: var(--gris);
}
.exc-stars { color: #F5A623; }
.exc-btn {
  display: block; width: 100%;
  text-align: center; background: var(--oro); color: var(--tinta);
  font-family: 'Segoe UI', sans-serif; font-weight: 700;
  font-size: .9rem; padding: .75rem 1rem;
  border-radius: 6px; text-decoration: none;
  transition: opacity .2s; margin-top: .75rem;
}
.exc-btn:hover { opacity: .88; text-decoration: none; }
.exc-btn-sec {
  display: block; width: 100%; text-align: center;
  border: 1.5px solid var(--nilo); color: var(--nilo);
  font-family: 'Segoe UI', sans-serif; font-weight: 600;
  font-size: .88rem; padding: .65rem 1rem;
  border-radius: 6px; text-decoration: none;
  margin-top: .5rem; transition: background .15s;
}
.exc-btn-sec:hover { background: var(--nilo-l); text-decoration: none; }

/* -- CAJA POR QUÉ -- */
.porque-grid {
  display: flex; flex-direction: column; gap: 1rem;
}
.porque-item {
  background: #fff; border-radius: var(--r);
  padding: 1.1rem; box-shadow: var(--sh);
  display: flex; gap: 1rem; align-items: flex-start;
}
.porque-ico {
  font-size: 1.75rem; flex-shrink: 0; margin-top: .1rem;
}
.porque-body { flex: 1; min-width: 0; }
.porque-body h3 {
  font-family: 'Segoe UI', sans-serif; font-weight: 700;
  font-size: .95rem; color: var(--tinta);
  margin: 0 0 .3rem;
}
.porque-body p {
  font-family: 'Segoe UI', sans-serif; font-size: .85rem;
  color: var(--gris); margin: 0;
}

/* -- DESTINOS / CIUDADES -- */
.ciudades-grid { display: flex; flex-direction: column; gap: .75rem; }
.ciudad-card {
  background: #fff; border-radius: var(--r);
  box-shadow: var(--sh); padding: 1rem 1.1rem;
  display: flex; gap: .85rem; align-items: flex-start;
  border-left: 3px solid var(--oro);
}
.ciudad-ico { font-size: 1.5rem; flex-shrink: 0; }
.ciudad-info { flex: 1; min-width: 0; }
.ciudad-nombre {
  font-family: 'Segoe UI', sans-serif; font-weight: 700;
  font-size: .95rem; color: var(--tinta); margin-bottom: .2rem;
}
.ciudad-desc {
  font-family: 'Segoe UI', sans-serif; font-size: .83rem;
  color: var(--gris); margin: 0;
}
.ciudad-exc {
  font-family: 'Segoe UI', sans-serif; font-size: .75rem;
  color: var(--nilo); font-weight: 600; margin-top: .3rem;
}

/* -- TABLA COMPARATIVA -- */
.tabla-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border-radius: var(--r); box-shadow: var(--sh);
  margin: .5rem 0;
}
.tabla-wrap table {
  width: 100%; min-width: 540px;
  border-collapse: collapse; font-size: .85rem;
  background: #fff;
}
.tabla-wrap thead tr { background: var(--nilo-d); color: #fff; }
.tabla-wrap thead th { padding: .75rem 1rem; text-align: left; font-weight: 700; white-space: nowrap; font-family: 'Segoe UI', sans-serif; }
.tabla-wrap tbody tr:nth-child(even) { background: var(--nilo-l); }
.tabla-wrap tbody td { padding: .65rem 1rem; border-bottom: 1px solid #E8DFCC; font-family: 'Segoe UI', sans-serif; vertical-align: top; }
.tabla-wrap tbody tr.fila-dest td:first-child { font-weight: 700; color: var(--tinta); }
.stars-sm { color: #F5A623; font-size: .8rem; }
.precio-td { font-weight: 700; color: var(--nilo-d); }
.desc-td { color: #C0380A; font-weight: 700; }

/* -- AVISO -- */
.aviso {
  background: #FFF8E4; border-left: 4px solid var(--oro);
  padding: .85rem 1rem; border-radius: 0 var(--r) var(--r) 0;
  font-family: 'Segoe UI', sans-serif; font-size: .85rem;
  color: var(--gris); margin: 1rem 0;
}
.aviso strong { color: var(--tinta); }

/* -- ITINERARIO SUGERIDO -- */
.itin-item {
  display: flex; gap: .85rem; margin-bottom: 1.25rem; align-items: flex-start;
}
.itin-dia {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%;
  background: var(--nilo); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: 'Segoe UI', sans-serif;
  box-shadow: 0 0 0 3px var(--papel);
}
.itin-dia .d-l { font-size: .5rem; text-transform: uppercase; letter-spacing: .06em; opacity: .8; }
.itin-dia .d-n { font-size: 1.15rem; font-weight: 700; line-height: 1; }
.itin-body { flex: 1; min-width: 0; }
.itin-titulo {
  font-family: 'Segoe UI', sans-serif; font-weight: 700;
  font-size: .95rem; color: var(--tinta); margin-bottom: .25rem;
}
.itin-desc {
  font-family: 'Segoe UI', sans-serif; font-size: .84rem; color: var(--gris);
}
.itin-link {
  display: inline-block; margin-top: .3rem;
  font-family: 'Segoe UI', sans-serif; font-size: .78rem;
  font-weight: 600; color: var(--nilo);
}

/* -- FAQ -- */
.faq-item { border-bottom: 1px solid #E8DFCC; }
.faq-item summary {
  list-style: none; display: flex; justify-content: space-between;
  align-items: center; gap: .75rem; cursor: pointer; padding: 1rem 0;
  font-family: 'Segoe UI', sans-serif; font-weight: 600;
  font-size: .93rem; color: var(--tinta);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--nilo-l); color: var(--nilo); font-size: 1.1rem;
  font-weight: 700; display: flex; align-items: center; justify-content: center; line-height: 1;
}
details[open] .faq-toggle { background: var(--nilo); color: #fff; }
.faq-resp { font-family: 'Segoe UI', sans-serif; font-size: .9rem; color: var(--gris); line-height: 1.65; padding-bottom: 1rem; }

/* -- CAJA DESTACADA -- */
.caja-dest {
  background: var(--nilo-l); border-left: 4px solid var(--nilo);
  padding: 1rem 1.1rem; border-radius: 0 var(--r) var(--r) 0;
  margin-bottom: 1.25rem; font-size: .95rem;
}

/* -- CONSEJOS RAPIDOS -- */
.consejos-grid { display: flex; flex-direction: column; gap: .75rem; }
.consejo-card {
  background: #fff; border-radius: var(--r);
  box-shadow: var(--sh); padding: .9rem 1rem;
  display: flex; gap: .75rem; align-items: flex-start;
}
.consejo-ico { font-size: 1.3rem; flex-shrink: 0; }
.consejo-body { flex: 1; min-width: 0; }
.consejo-tit { font-family: 'Segoe UI', sans-serif; font-weight: 700; font-size: .9rem; color: var(--tinta); margin-bottom: .2rem; }
.consejo-txt { font-family: 'Segoe UI', sans-serif; font-size: .82rem; color: var(--gris); }

/* -- CTA FINAL -- */
.cta-final {
  background: linear-gradient(135deg, var(--nilo-d) 0%, #1A4A62 60%, #0D3020 100%);
  color: #fff; text-align: center; padding: 3rem 1.25rem;
}
.cta-final h2 { font-family: Georgia, serif; color: #fff; font-size: clamp(1.3rem, 4vw, 2rem); margin-bottom: .65rem; }
.cta-final h2 em { font-style: normal; color: var(--oro); }
.cta-final p { font-family: 'Segoe UI', sans-serif; color: rgba(255,255,255,.72); font-size: .92rem; margin-bottom: 1.75rem; }
.cta-btns { display: flex; flex-direction: column; gap: .65rem; align-items: stretch; }

/* ==================
   FOOTER
   ================== */
footer {
  background: var(--tinta);
  color: rgba(255,255,255,.45);
  text-align: center;
  padding: 1.25rem 1rem;
  font-family: 'Segoe UI', sans-serif;
  font-size: .78rem;
  line-height: 1.6;
}
footer a { color: var(--oro); text-decoration: none; }



/* -- BADGE AFILIADO -- */
.afil-nota {
  text-align: center;
  font-family: 'Segoe UI', sans-serif; font-size: .72rem;
  color: var(--gris-l); padding: .65rem 1rem;
  background: var(--oro-pl); border-bottom: 1px solid #E8DCCA;
}

/* ============================
   DESKTOP @768px
   ============================ */
@media (min-width: 768px) {
  body { font-size: 17px; }
  .container { padding: 0 2rem; }

  /* nav */
  .nav { padding: .85rem 2rem; }
  .nav-links a { font-size: .8rem; padding: .35rem .75rem; }

  /* hero */
  .hero { padding: 5rem 2rem 4rem; }
  .btn { display: inline-block; width: auto; padding: .9rem 2.4rem; }
  .btn-outline { margin-top: 0; }
  .hero-btns { display: flex; gap: .75rem; justify-content: center; }

  /* excursiones */
  .excursiones-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

  /* porque / ciudades / consejos */
  .porque-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .ciudades-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
  .consejos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }

  /* CTA */
  .cta-btns { flex-direction: row; justify-content: center; align-items: center; }
  .cta-btns .btn { width: auto; }

  /* footer */
  .footer-cols { flex-direction: row; }
  .footer-col { flex: 1; }

  h2 { font-size: 1.65rem; }
}